Commit Graph

65 Commits

Author SHA1 Message Date
a43bb1c96d Clean up face definitions 2023-01-26 02:02:34 -05:00
d6369af822 Update default ASCII checker status glyphs 2023-01-21 21:08:37 -05:00
2f9f5f37f5 Add option to disable major mode segment 2022-12-30 12:03:10 -05:00
ade4f40518 Use built-in string trimming functions 2022-12-30 12:01:46 -05:00
b5df8bfd5f Update :buffer-narrowed for fira code glyph set 2022-12-30 12:00:56 -05:00
e42ee24e23 Move optional segments section 2022-12-30 01:00:31 -05:00
318ceaf07a Merge branch 'mood-line-indent-segment' 2022-12-29 19:29:50 -05:00
acb57343a0 Add encoding face for indentation segment
This face will also be used to decorate other encoding-related segments
in the future.
2022-12-29 14:25:49 -05:00
5c573fea9f Move indentation segment to its own file 2022-12-29 08:05:12 -05:00
c30d6e79c5 Replace deprecated face with obsolete face alias 2022-12-29 03:07:16 -05:00
6fe134fe4c Display appropriate status for indirect buffers 2022-12-29 01:10:40 -05:00
3aa9a9a83b Refine behavior and faces of buffer status segment
New faces have been added for the buffer status segment to allow
for more granular user customizations. Buffer narrowing should also
now be properly indicated when narrowing a non-file-backed buffer.
2022-12-29 00:40:30 -05:00
229eb4a04f Refine docstring for cursor position segment 2022-12-29 00:39:21 -05:00
410e54f9ba Fix potential bugs in coding system segments 2022-12-29 00:39:02 -05:00
Alynx Zhou
466a0292c9 Add indentation information segment 2022-12-28 20:40:59 +08:00
1943158fc9 Document :buffer-narrowed glyph 2022-12-22 06:22:36 -05:00
1aa7d52d16 Refactor project code for 2.0.0 2022-12-22 06:12:01 -05:00
1a3128d098 Merge branch 'modal-editing' into 'master'
Adding modal editor support

See merge request jessieh/mood-line!7
2022-12-20 21:35:59 +00:00
trevDev()
46193c6029 Adding modal editor support 2022-12-20 21:35:59 +00:00
846db57dd9 Merge branch 'master' into 'patch-comments'
# Conflicts:
#   mood-line.el
2022-12-20 21:25:35 +00:00
65ae1099e2 Enforce normal font weight for status faces 2022-12-19 23:39:02 -05:00
df40e0e29d Make checkdoc happy 2022-12-19 23:38:36 -05:00
a4076c7eaa Tidy up appearance of anzu and MC segments 2022-12-19 23:38:01 -05:00
Trevor Richards
935043455c
* mood-line.el: Fixed multiple comments
In adherence with elisp convention, comments have been shortened
to fit within 80 columns. Some nitpicky grammar/spelling mistakes
were fixed. Some small inaccuracies were also corrected.
2022-07-28 21:07:37 -07:00
ef1c752679 Increment patch version number 2021-10-03 17:13:42 -04:00
34a1304ede Accommodate new flymake variable name in Emacs 28+ 2021-09-03 07:42:56 -04:00
f96bca2323 Fix formatting issue with visual-fill-column-mode 2021-09-03 05:19:50 -04:00
3697ae74c8 Fix presence of duplicate anzu indicator 2021-09-03 05:12:35 -04:00
58ea97f6ea Improve mode-line format restoration behavior 2021-09-03 05:12:06 -04:00
64cbd61c3d Increment patch version number 2020-07-22 19:27:49 -04:00
9d733093e5 Fix major mode name not appearing for some modes 2020-07-22 19:26:35 -04:00
929f257935 Increment patch version number 2020-07-21 04:34:44 +00:00
9358d9c81f Fix spacing issue with misc-info and process segs. 2020-07-20 23:47:18 -04:00
5ff7cb514d Increment patch version number 2020-04-28 23:09:18 -04:00
9cd761bdf6 Fix missing face in mood-line-segment-position fn 2020-04-28 23:06:34 -04:00
Farlado
b39de8a325 Add a forgotten docstring 2020-03-17 06:53:11 -04:00
Farlado
1e0bd0425f Conform to function naming conventions 2020-03-15 20:16:46 -04:00
Farlado
70295f52a5 Provide faces for buffer name and major mode 2020-03-15 20:10:53 -04:00
Farlado
d4f4c50cbb Fix file header and emacs version dependency 2020-03-15 20:09:11 -04:00
0b07bdc7e7 Replace bold delta with regular delta symbol 2019-11-01 19:55:42 +00:00
9d116403a8 Remove unnecessary comments 2019-09-30 06:13:23 -04:00
43682f713e Increment patch version number 2019-09-30 05:59:29 -04:00
5fdab58c28 Fix read-only indicator showing up for non-files 2019-09-30 05:58:07 -04:00
82856d9186 Increment minor version number 2019-09-30 05:37:26 -04:00
543c82bb08 Fix #1, #5, #7, and #8 2019-09-30 05:34:56 -04:00
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