Commit graph

509 commits

Author SHA1 Message Date
Vincent Zhang
23b9ffb762 Not support variable-pitch since it breaks icons. 2019-03-07 04:04:03 +07:00
Vincent Zhang
933f321092 [Feature] Display mode-line with `variable-pitch' face. 2019-03-04 17:13:29 +07:00
Vincent Zhang
d96b67576d [Enhancement] Override mode-lines in the global mode string.
For mu4e-alert and fancy-battery.
Refactor and reformat.
2019-03-01 16:18:13 +07:00
Vincent Zhang
9f2a0183fc [Feature] An indicator for battery status with fancy-battery. 2019-02-28 23:58:47 +07:00
Vincent Zhang
2ae39ff5ca Fix: display invalid information in mu4e segment. 2019-02-28 20:51:10 +07:00
Vincent Zhang
461178f5b5 Bump version to 1.8.0. 2019-02-26 15:21:26 +07:00
Vincent Zhang
7781332b80 Bump version to 1.7.4. 2019-02-18 18:58:30 +08:00
Vincent Zhang
57f1a98e58 Bump version to 1.7.3. 2019-02-18 01:32:17 +08:00
Vincent Zhang
e1f0610316 Bump version to 1.7.2. 2019-02-12 17:42:44 +08:00
Vincent Zhang
5632bb02b5 Bump version to 1.7.1. 2019-02-12 04:15:19 +08:00
Sean Farley
c0cbf56db4 irc: add new segment to display the unread status
This segment is meant for the main modeline and just displays a single,
unread icon if there are any unread irc buffers.
2019-02-03 23:07:57 -08:00
Sean Farley
b6b6691ea3 irc: add new segment to display the unread buffers
This includes a configuration variable that allows the user to customize
the display of the name. The segment is only displayed in the 'special
modeline due to space. Later, we'll add a irc notification for the 'main
modeline.
2019-02-03 22:32:16 -08:00
Aaron Jensen
ba54bb0cf7
Initialize mu4e-alert-modeline-formatter
This is required for those of us not using mu4e, otherwise, you get a void variable error.
2019-01-30 11:22:45 -08:00
Vincent Zhang
94944ce6a7 Bump version to 1.7.0. 2019-01-31 00:28:18 +08:00
Vincent Zhang
66b182a9fd Fix: restore mu4e-alert-modeline-formatter to last one. 2019-01-31 00:23:52 +08:00
Vincent Zhang
cfb1f80f1f Update docs for the mu4e indicator. 2019-01-30 16:07:26 +08:00
Vincent Zhang
8786231f8a
Merge pull request #105 from seanfarley/smf/mu4e
Add mu4e segment that shows unread emails.
2019-01-30 15:59:00 +08:00
Sean Farley
ad73d3d874 mu4e: add new segment that shows unread emails 2019-01-29 14:48:39 -08:00
Vincent Zhang
9e5b048f1f Update comments. 2019-01-27 18:30:25 +08:00
Vincent Zhang
3440ce4c7c
Revert "mu4e: add new segment that shows unread emails" 2019-01-23 16:56:37 +08:00
Sean Farley
bccad0f6bf mu4e: add new segment that shows unread emails
This is a new segment for `mu4e-alert' that shows unread emails in the
modeline. For now, we enable it where github notifications are enabled
and make it a simple number.

When experimenting with adding an email icon, the modeline seemed a bit
too crowed so there is no icon for this number. We can perhaps add a
flag later to toggle that. Alternatively, we could expose more options
for the `doom-modeline-mu4e-formatter' that could tweak the number and
the icon.
2019-01-22 20:24:31 -08:00
Vincent Zhang
8674132ad9 Bump version to 1.6.2. 2019-01-23 03:05:59 +08:00
Vincent Zhang
19b1bde931 Bump version to 1.6.1. 2019-01-20 03:09:03 +08:00
Vincent Zhang
868f1bb00b Add new mode: doom-modeline-mode.
doom-modeline-init is obsolete.
2019-01-18 00:38:51 +08:00
Vincent Zhang
fdc20c7e00 Bump version to 1.6.0. 2019-01-17 23:47:06 +08:00
Vincent Zhang
fe1a703161 Refactor: split one file to core and segments. 2019-01-17 23:46:29 +08:00
Vincent Zhang
515adfd4aa Compatible with symbol-overlay.
inhibit-modification-hooks is set to t in symbol-overlay-rename.
Update buffer-file-name after renaming the symbol.
2019-01-17 16:24:05 +08:00
Vincent Zhang
ffea1dcddc Bump version to 1.5.3. 2019-01-17 00:12:14 +08:00
Vincent Zhang
df8c25fcd9 [Enhancement] Display alternative texts while icons aren't applicable. 2019-01-17 00:10:02 +08:00
Sean Farley
d8efcd8e3b github: add hook name to be injected into async process 2019-01-15 16:31:02 -08:00
Vincent Zhang
3a96162207 Update buffer state icon and name after reverting. 2019-01-16 04:37:00 +08:00
Vincent Zhang
cded14f2bb Fix: `pdf-view-current-page' is a macro in an optional dependency. 2019-01-16 04:29:35 +08:00
Vincent Zhang
a99b3bfe10 Fix #94: auth-source not initialized due to async. 2019-01-16 03:08:26 +08:00
Vincent Zhang
8f48842dfe [Feature] Fix #95: Page number indicator for pdf-tools package. 2019-01-16 00:55:43 +08:00
Vincent Zhang
8241017396 Bump version to 1.5.1. 2019-01-14 02:11:37 +08:00
Vincent Zhang
717b141335 Remove after-revert-hook since the hook has already been called in find-file-hook. 2019-01-14 02:09:11 +08:00
Vincent Zhang
63875f89b0 Don't create the process buffer while parsing env version. 2019-01-14 01:51:19 +08:00
Vincent Zhang
ea93d636f9 Refactor: rename doom-version-parser to doom-modeline-env. 2019-01-14 00:48:54 +08:00
Vincent Zhang
afd9c62fcb Bump version to 1.5.0. Update copyright and license. 2019-01-13 21:56:02 +08:00
Vincent Zhang
539e361d9a
Merge pull request #92 from justinbarclay/master
Make programming environment version parsing asynchronous
2019-01-13 16:42:25 +08:00
Justin Barclay
3eb8701919 Change to using start-process to capture command version information 2019-01-12 10:39:08 -07:00
Vincent Zhang
65bbf5023e Add doom-modeline-set-main-modeline function. 2019-01-12 01:51:15 +08:00
Vincent Zhang
aad3026ce8 Update env only while focusing in. For Emacs27+. 2019-01-10 16:40:47 +08:00
Vincent Zhang
c7d54f24d0 Fix #89: Inactive modeline doesn't respect icons scaling. 2019-01-10 03:29:15 +08:00
Vincent Zhang
361f29e2cf Only display nyan and parrot in active windows. 2019-01-09 05:10:53 +08:00
dp12
f63924142c Add party parrot segment 2019-01-08 10:51:36 -05:00
Vincent Zhang
f2f7aaf392 Fix hang issue in fetching github notifications.
If there is no github access token, ghub requires to create and save from
minibuffer, thus will cause hang in async process. Just ignore it if no token.
2019-01-08 02:29:46 +08:00
Vincent Zhang
a01d39b2e7 Fix: mouse-click issue for flycheck menu. 2019-01-08 01:23:12 +08:00
Vincent Zhang
815405604f Bump version to 1.4.5. 2019-01-06 01:41:47 +08:00
Vincent Zhang
cb01400f94 Fix #86: Unchanged Org file is displayed as modified.
Remove advices of set-buffer-modified-p, since it's called in org-unmodified.
2019-01-05 19:24:59 +08:00
Vincent Zhang
9df1f758b2 Silence compile warnings. 2019-01-05 02:17:29 +08:00
Vincent Zhang
d2829d167a Refactor for add-hook. 2019-01-05 02:08:16 +08:00
Vincent Zhang
a460fd3826 Bump version to 1.4.4. 2019-01-04 23:22:25 +08:00
Vincent Zhang
951aa1eee4 Fix: wrong-number-of-arguments error in checker segment. 2019-01-04 23:17:13 +08:00
Vincent Zhang
f9d98b935e Fix: watch buffer-read-only. 2019-01-04 22:34:45 +08:00
Vincent Zhang
5adedd5953 Don't start github timer if doom-modeline-github is nil.
Also watch the change of doom-modeline-github to run or cancel the timer.
This only support 26 and above. Need to restart Emacs to effect in 25.
See https://github.com/seagle0128/doom-modeline/issues/66#issuecomment-451397481.
2019-01-04 22:30:57 +08:00
Vincent Zhang
47bed3c0a4 Ignore errors in fetching github notifications with network issue. 2019-01-04 15:37:41 +08:00
Vincent Zhang
7285c433ae Fix: font size of vcs in daemon mode. 2019-01-04 02:10:10 +08:00
Vincent Zhang
4b74e7e9f1 Put the buffer percent position to the last. 2019-01-04 01:46:48 +08:00
Vincent Zhang
9040e3c72c Fix: invalid format of help-echo for flymake. 2019-01-04 01:34:36 +08:00
Vincent Zhang
eeff72172b [Feature] Support nyan cat in position segment. 2019-01-04 00:21:40 +08:00
Vincent Zhang
804167cf5a Bump version to 1.4.1. 2019-01-03 21:35:35 +08:00
Vincent Zhang
5661f715ff Fix: vcs error after setting 'doom-modeline-icon' to nil. 2019-01-03 21:26:45 +08:00
Vincent Zhang
42614860c1 Fix #83: Flycheck error after setting 'doom-modeline-icon' to nil. 2019-01-03 18:14:36 +08:00
Vincent Zhang
3535b96f8a [Enhancement] Show error/warning/info for checkers. 2019-01-03 03:31:11 +08:00
Vincent Zhang
1777f1e6ac mouse-1 click to show flycheck menu. 2019-01-03 02:29:56 +08:00
Vincent Zhang
239b3a97e1 Show vcs segment in both active and inactive windows.
Similarly, display icon and text separately. No performance issue.
2019-01-03 02:19:28 +08:00
Vincent Zhang
2e33d98576 Show checker indicator in both active and inactive windows.
Show icon and text separately, and use hook/advice to update.
No performance issue.
2019-01-03 01:43:57 +08:00
Vincent Zhang
30d882b9aa Optimize performance for flymake segment. 2019-01-02 22:35:02 +08:00
Vincent Zhang
b56a9f233c Silent compiler warnings. 2019-01-02 21:50:58 +08:00
Vincent Zhang
81be819bb2 Fix: flymake mouse-clicks. 2019-01-02 21:47:14 +08:00
Vincent Zhang
59c649e30e Bump version to 1.4.0 2019-01-02 21:33:28 +08:00
Vincent Zhang
e9955e0c95 Improve some help-echo and mouse-clicks. 2019-01-02 21:32:20 +08:00
Vincent Zhang
468cfe5edb [Feature] Flymake indicator.
Fix #81.
2019-01-02 21:03:30 +08:00
Vincent Zhang
7439d7b927 Fix #82: load async if it exists but is not loaded. 2019-01-02 18:27:13 +08:00
Vincent Zhang
26defa1f13 Bump copyright years. 2019-01-02 16:52:28 +08:00
Vincent Zhang
7f8aa486a4 Adjust flycheck segment. 2019-01-01 18:52:13 +08:00
Vincent Zhang
25f88ddbfe Update buffer info after calling set-buffer-modified-p. 2019-01-01 18:04:53 +08:00
Vincent Zhang
acc128816e Fix typo. 2019-01-01 00:45:51 +08:00
Vincent Zhang
9537876af0 Fix #80: Errors without symbol-overlay. 2019-01-01 00:42:23 +08:00
Vincent Zhang
14d2e84b68 Fix #80: Errors without symbol-overlay. 2019-01-01 00:25:12 +08:00
Vincent Zhang
202a90e660 Fix #78: a new toggle for env version. 2018-12-31 22:55:23 +08:00
Vincent Zhang
d453e780e4 Fix: state icons are too small on Windows. 2018-12-31 21:06:27 +08:00
Vincent Zhang
b6f15e5cfd Bump version to 1.3.3. 2018-12-31 18:40:22 +08:00
Vincent Zhang
9feaa79b4d Fix: not displaying count for the first match. 2018-12-31 18:38:37 +08:00
Vincent Zhang
1b0cbe842f Fix: compatibility issue with 25. 2018-12-31 17:10:26 +08:00
Vincent Zhang
3d1490d6e6 Show input-method and lsp in inactive windows. 2018-12-30 21:57:40 +08:00
Vincent Zhang
834f59c2ef Optimize: inject load-path var and add timeout for async process. 2018-12-30 20:57:42 +08:00
Vincent Zhang
e116b3e840 Bump version to 1.3.2. 2018-12-30 00:30:47 +08:00
Vincent Zhang
3c7ad2f3d8 Fix: not same size of state icon in active and inactive windows. 2018-12-30 00:15:35 +08:00
Vincent Zhang
7fda2d9127 Minor refactor. 2018-12-29 23:14:20 +08:00
Vincent Zhang
9a48760e5b Fix: Remove original window number of `ace-window-display-mode'. 2018-12-29 15:46:50 +08:00
Vincent Zhang
a7229a1e40 Update the icons of file state. 2018-12-28 23:27:46 +08:00
Vincent Zhang
467ad0ca11 Bump version to 1.3.1. 2018-12-28 18:14:31 +08:00
Vincent Zhang
e8c49f3149 Update mode-line for dashboard. 2018-12-28 18:13:42 +08:00
Vincent Zhang
f8239e7f32 Optimize displaying of github notifications. 2018-12-28 16:07:53 +08:00
Vincent Zhang
e83a22ee6f Update help echo of mode icon. 2018-12-28 15:48:47 +08:00
Vincent Zhang
be9df01374 Improve github segment.
1. Fetch notifications 1 min later after opening the page.
2. Mouse-3 to fetch notifications.
2018-12-28 15:48:37 +08:00
Vincent Zhang
f9e021a2eb Format codes. 2018-12-27 22:32:27 +08:00
Vincent Zhang
9653f489ff Disable color for major-mode icons by default. 2018-12-27 05:08:51 +08:00