Commit Graph

20 Commits

Author SHA1 Message Date
29ba637959 Merge branch 'fix/global-mode-string' into 'master'
Fix global-mode-string handling

See merge request jessieh/mood-line!3
2019-09-11 20:23:46 +00:00
TatriX
749279bc17 Fix global-mode-string handling
Current implementation doesn't always work. For example if one uses
mu4e:

```
(add-hook 'after-init-hook #'mu4e-alert-enable-mode-line-display)
```

`global-mode-string` will have `((:eval mu4e-alert-mode-line))` as
it's value. And it will result in error:

```
Error during redisplay: (eval (mood-line-segment-global-mode-string)) signaled (void-function :eval) [11 times]
```

This commit uses `format-mode-line` function to manually evaluate
`global-mode-string` and append it's result to the mode line if any.
2019-06-27 16:54:49 +02:00
Mahito TANNO
4a4986e605 Show encoding and EOL style
There is no way to display encoding nor EOL style, although the
function "mood-line-segment-encoding" exists.  Therefore, I add
the function in order to display them in the right side of mode-
line.
2019-06-13 13:24:04 +09:00
3560d8aafd Increment patch version number 2019-06-06 06:46:16 -04:00
6c875529a2 Add segment to display 'mode-line-process' value 2019-06-06 06:44:59 -04:00
07355d6cf8 Add option to display point value 2019-06-06 06:44:27 -04:00
Serghei Iakovlev
9654a5bf2e Fix unbound variable access 2019-06-06 09:47:25 +00:00
68ebabfc0a Increment patch version number 2019-05-10 20:35:58 -04:00
0bfe3ab2b6 Add new global-mode-string segment 2019-05-10 20:35:11 -04:00
f926b6f6c6 Increment minor version number 2019-05-10 20:01:18 -04:00
c55958bb9e Convert activation function into global minor mode 2019-05-10 19:59:04 -04:00
4786beec95 Remove unnecessary autoloads 2019-05-10 19:50:01 -04:00
7c1cc2f456 Improve face name consistency 2019-05-10 19:47:50 -04:00
f23ae8e0d0 Increment patch version number 2019-04-22 17:05:25 -04:00
79e71d73d6 Add declarations to quiet byte-compiler warnings 2019-04-22 17:05:17 -04:00
c64400df32 Remove autoload registration for private functions 2019-04-15 07:17:35 -04:00
8cb53fe749 Add installation instructions 2019-04-12 03:37:02 -04:00
fa62ae3bd3 Register all functions for autoloading 2019-04-12 03:30:28 -04:00
578b80026d Fix information in file header 2019-04-11 03:39:48 -04:00
a8e6e8d46c Initial commit 2019-04-11 02:31:21 -04:00