Commit graph

1169 commits

Author SHA1 Message Date
Vincent Zhang
263c5ddbcd Update vcs segment. 2019-11-17 01:54:34 +08:00
Vincent Zhang
5e91cfc51b Optimize battery segment. 2019-11-17 01:48:58 +08:00
Vincent Zhang
555d21a8c8 Improve erc indicator. 2019-11-17 01:37:49 +08:00
Vincent Zhang
dcc57fd45e Merge irc and irc-buffers segment.
Provide the new option: doom-modeline-irc-buffers.
2019-11-17 01:20:27 +08:00
Vincent Zhang
bf62ed24f3 Fix keymap in irc-buffers segment. 2019-11-17 00:52:58 +08:00
Vincent Zhang
e458d77ef0 Remove irc-buffers segment from main mode-line. 2019-11-17 00:48:16 +08:00
Vincent Zhang
c0bd7dc6d0 Enhance irc-buffers segment. 2019-11-17 00:42:56 +08:00
Vincent Zhang
17e9750a5a Update screenshots. 2019-11-16 16:41:16 +08:00
Vincent Zhang
1369acac1c Bump version. 2019-11-16 13:31:17 +08:00
Vincent Zhang
6ce7864a1e Update doc for modal state icon
Close #258.
2019-11-16 13:30:22 +08:00
Vincent Zhang
a30021cac2 Update circe keymap. 2019-11-16 03:13:54 +08:00
Vincent Zhang
ff28d4e16b Enhance irc segment. 2019-11-16 02:57:54 +08:00
Vincent Zhang
0e8466f2be Minor update checker. 2019-11-16 00:03:20 +08:00
Vincent Zhang
3d096a572c Fix #257: segment--battery: signaled (wrong-type-argument stringp nil).
Also add battery faces.
2019-11-15 19:41:29 +08:00
Vincent Zhang
ede1c34716 Fix invalid face for inactive bars. 2019-11-15 05:54:09 +08:00
Vincent Zhang
f0a9bf3029 Fix invalid face. 2019-11-15 02:31:24 +08:00
Vincent Zhang
fb45f80b00 Enhance buffer position segment. 2019-11-13 15:10:45 +08:00
Vincent Zhang
d84b756b95 Fix: void-variable erc-track-mode. 2019-11-12 23:42:49 +08:00
Vincent Zhang
61ae177759 Refactor. 2019-11-12 21:21:17 +08:00
Vincent Zhang
ea5535fd1f Update buffer state icon for irc/erc. 2019-11-12 20:58:54 +08:00
Vincent Zhang
ea1e1ea9dd Use mapcar instead of map. 2019-11-12 16:52:31 +08:00
Vincent Zhang
b01338d6ae Fix CI issue.
See https://github.com/rejeep/evm/issues/125.
2019-11-12 14:41:37 +08:00
Vincent Zhang
f8db9e4b3d Update travis-CI. 2019-11-12 14:16:40 +08:00
Vincent Zhang
04025c39e7 Update CI. 2019-11-12 14:07:33 +08:00
Vincent Zhang
dd1adc4365 Update travis. 2019-11-12 13:54:10 +08:00
Vincent Zhang
bb65887d18
Merge pull request #255 from endoffile78/erc
Add support for erc
2019-11-11 23:39:35 -06:00
endoffile78
0198387356
Add support for erc 2019-11-11 23:29:24 -06:00
Vincent Zhang
be71570911 Bump version. 2019-11-12 01:33:46 +08:00
Vincent Zhang
a80cf92417 Don't enable unicode characters fallback by default.
Close #254.
2019-11-12 01:27:22 +08:00
Vincent Zhang
700c7d3d49 Improve eglot segment. 2019-11-12 00:47:43 +08:00
Vincent Zhang
0553a3f348 Fix #252: Use new stable API eglot-current-server.
See 146108af7a.
2019-11-11 23:59:20 +08:00
Vincent Zhang
33caf3e1d7 New face: doom-modeline-host. 2019-11-11 21:12:36 +08:00
Vincent Zhang
c6c36371b0 Eliminate warnings. 2019-11-11 15:40:29 +08:00
Vincent Zhang
48bbd9b57c Revert "Eliminate warnings."
This reverts commit 27edf5942b.
2019-11-11 15:39:17 +08:00
Vincent Zhang
27edf5942b Eliminate warnings. 2019-11-11 13:34:33 +08:00
Vincent Zhang
e5c573ddcf
Merge pull request #250 from jorams/fix-eglot-hook
Fix Eglot update hook breaking Eglot shutdown
2019-11-09 22:27:33 -06:00
Joram Schrijver
bdb2f151cc Fix Eglot update hook breaking Eglot shutdown
doom-modeline is using various Eglot internals to display its Eglot
segment. One of those internals, eglot--current-server, recently changed
so that it now triggers a cache variable, eglot--cached-current-server,
to be set.

The hook used by doom-modeline is run during shutdown, after the buffer
becomes unmanaged by Eglot, but before all of its internal state has
been updated. The call to eglot--current-server then triggers the cache
variable to be set to an outdated value, which remains after shutdown
completes.

Any further calls to Eglot will end up seeing the incorrectly cached
value, which causes all kinds of breakage.

Note that, with or without this fix, the implementation relies on Eglot
internals and is likely to be fragile.
2019-11-09 21:32:30 +01:00
Vincent Zhang
c73428b414 Add one exra space to avoid the segment-cut issue.
See #241, #242.
2019-11-10 03:53:08 +08:00
Vincent Zhang
083286f2cf Fix #249: Huge space appeared at the beginning of the modeline. 2019-11-08 23:52:13 +08:00
Vincent Zhang
25cd013c03 Fix typo. 2019-11-08 17:57:58 +08:00
Vincent Zhang
30a37d2134 Bump version. 2019-11-08 03:08:00 +08:00
Vincent Zhang
d440b8f3a0 Improve buffer-position segment. 2019-11-08 03:02:36 +08:00
Vincent Zhang
701271488a [Enhancement] Formalize mouse faces. 2019-11-07 18:04:14 +08:00
Vincent Zhang
7edb863a81 Bump version to 2.7.1. 2019-11-06 01:11:46 +08:00
Vincent Zhang
9c2791c054 [Feature] Support icons of modals segment. 2019-11-06 00:58:24 +08:00
Vincent Zhang
e93660e93f [Feature] Support evil state icon.
New option: doom-modeline-evil-state-icon.
The fallback is the unicode character.
Update evil state faces.
2019-11-06 00:37:41 +08:00
Vincent Zhang
44d0f7b871 Refactor. 2019-11-05 21:06:53 +08:00
Vincent Zhang
95809a1b04 Fix #248: Unable to kill *scratch* while starting Emacs.
Check if "*scratch*" and "*Messages*" buffers exist while setting the mode-line
for them.
2019-11-04 22:12:28 +08:00
Vincent Zhang
3eeb090405 Fix performace issue in hydra/lv-message.
See #183.
2019-10-31 19:35:11 +08:00
Vincent Zhang
2cf48d76ae Fix #246: Incompatible with (setq vc-display-status nil). 2019-10-31 16:57:48 +08:00