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
Vincent Zhang
4c8910e39d
Fix: unable to get notifications asynchronously.
2018-12-26 15:35:07 +08:00
Vincent Zhang
c13d5a3184
Improve: Construct icon via buffer name if no icon via major mode.
2018-12-25 05:42:47 +08:00
Vincent Zhang
257fcd564b
Add cask package task in CI.
2018-12-25 04:53:44 +08:00
Vincent Zhang
2407068271
Cleanup unused declarations.
2018-12-25 04:04:30 +08:00
Vincent Zhang
aec2d266fb
Fix: invalid face of doom-modeline-eldoc-bar.
2018-12-25 03:35:24 +08:00
Vincent Zhang
ff63959c03
Fix: checking github notifications asynchronously.
2018-12-25 02:14:42 +08:00
Vincent Zhang
f4d9aabcd6
Bump version to 1.3.0.
2018-12-25 01:52:19 +08:00
Vincent Zhang
eae4e83bf2
Optimize: update icon positions.
2018-12-25 01:51:27 +08:00
Vincent Zhang
4f694f3f74
[Feature] Display color icon for major mode.
2018-12-25 00:00:02 +08:00
Vincent Zhang
b5266e7093
Adjust bar width.
2018-12-24 23:46:45 +08:00
Vincent Zhang
8fc06950ce
[Optimize] Check github notifications asynchronously and enable it by default.
2018-12-24 22:26:07 +08:00
Vincent Zhang
ea39dce5f0
Bump version to 1.2.2.
2018-12-24 21:23:41 +08:00
Vincent Zhang
f2cad71cf6
Disable github notifications by default.
2018-12-24 20:28:11 +08:00
Vincent Zhang
a20da08a11
Fix #73 : redundant eyebrowse-mode display in misc-info segment.
2018-12-24 16:13:33 +08:00
Vincent Zhang
6de3d21959
Improve: Use ghub-get instead of ghub+ api.
2018-12-23 23:54:35 +08:00
Vincent Zhang
a30c981f54
Bump: version to v1.2.1.
2018-12-23 01:35:24 +08:00
Vincent Zhang
3e8e100864
Refactor: Rename github-open-notifications-participating.
2018-12-23 01:34:20 +08:00
Vincent Zhang
9a6cdb2717
Docs: update for doom-modeline-github.
2018-12-23 01:17:46 +08:00
Vincent Zhang
af312dddba
Docs: update feature section.
2018-12-23 00:32:33 +08:00
Vincent Zhang
b85cc7ba16
Improve: face of doom-modeline-eldoc-bar.
2018-12-23 00:01:42 +08:00
Vincent Zhang
22b9943438
Fix: incorrect height of eldoc bar.
2018-12-22 14:23:43 +08:00
Vincent Zhang
3f5feb3c7f
Fix: function definition is void: font-info.
2018-12-22 14:09:02 +08:00
Vincent Zhang
65ea32f20d
Fix #72 : Keep the same buffer-info in active and inactive modeline.
2018-12-21 19:36:41 +08:00
Vincent Zhang
df41de323d
Optimize: debug state.
2018-12-21 18:53:17 +08:00
Vincent Zhang
7158b9d975
Optimize: the position of debug icons.
2018-12-21 18:48:22 +08:00
Vincent Zhang
7519a379d7
Refactor: minor modes.
2018-12-21 02:28:27 +08:00
Vincent Zhang
5cf1857add
Feature: #70 Support for the package Minions.
2018-12-21 01:41:39 +08:00
Vincent Zhang
7f95e8b8d8
Optimize: Set height via font.
2018-12-21 00:56:12 +08:00
Vincent Zhang
cbd86384fe
Feature: An indicator for debug state.
2018-12-21 00:38:23 +08:00
Vincent Zhang
f71f16a3eb
Improve: Use misc-info segment instead of global segment.
2018-12-20 23:05:54 +08:00
Vincent Zhang
0d6e5f7d50
Refactor: Format.
2018-12-19 18:18:24 +08:00
Vincent Zhang
a7dda5edb7
Optimize: different mode-line height in different platforms.
2018-12-19 17:00:36 +08:00
Vincent Zhang
ebf3ddd249
Fix #68 : Size of state icons.
2018-12-19 16:27:20 +08:00
Vincent Zhang
888efb61ec
Fix: add-variable-watcher is undefined in 25.
2018-12-16 22:22:57 +08:00
Vincent Zhang
4b22534199
Improve: Watch buffer-read-only.
2018-12-16 18:09:26 +08:00
Jin Xue
cf848092e0
Add Pipenv integration
2018-12-14 11:47:14 +08:00
Vincent Zhang
14ac6ddbeb
Remove: comments.
...
Note: This hook will cause magit exception
(add-hook 'after-change-functions 'doom-modeline-update-buffer-file-icon)
2018-12-13 01:04:17 +08:00
Vincent Zhang
eaa1b0d971
Optimize: rendering icons and fetching github notifications.
2018-12-13 01:01:49 +08:00
Vincent Zhang
4a7100b5fd
Optimize: material icons.
2018-12-12 22:53:35 +08:00
Vincent Zhang
b7bc345b44
Revert "Improve: remove the spaces in the end."
...
This reverts commit 2be5f28184
.
2018-12-12 13:58:00 +08:00
Vincent Zhang
2be5f28184
Improve: remove the spaces in the end.
2018-12-12 04:15:08 +08:00
Vincent Zhang
9460d50465
Improve: buffer-file-state icon.
2018-12-12 03:57:38 +08:00
Vincent Zhang
997425b9f5
Bump: version to v1.1.0.
2018-12-12 03:28:46 +08:00
Vincent Zhang
1d66c50309
Modernize the icons of buffer file state.
2018-12-12 01:35:19 +08:00
Vincent Zhang
c9699003f6
Beautify flycheck.
2018-12-11 23:27:50 +08:00
Vincent Zhang
1926d456a3
Fix #66 : Add a segment for GitHub notifications.
2018-12-11 23:05:34 +08:00
Vincent Zhang
eabb8fb56c
Optimize: update persp name.
2018-12-10 02:25:52 +08:00
Ricardo Martins
26b493fe65
Show Rust version in the modeline
2018-12-09 12:29:40 +00:00
Vincent Zhang
a989c93971
Make vcs more obvious.
2018-12-09 14:30:47 +08:00
Vincent Zhang
b0342b30b6
Improve mouse-face for segments.
2018-12-09 02:11:23 +08:00
Vincent Zhang
2e65c9d06b
Make doom-modeline-column-zero-based and doom-modeline-percent-position global.
2018-12-08 03:57:38 +08:00
Vincent Zhang
21637ad560
Fix #62 : disregards value of column-number-indicator-zero-based.
...
Same as mode-line-percent-position.
2018-12-08 03:46:12 +08:00
Vincent Zhang
44a46a61cc
Treat doom-modeline-def-modeline as a function.
2018-12-08 03:07:41 +08:00
Vincent Zhang
fef210416f
Add help-echo and mouse-face to encoding and input-method segments.
2018-12-07 01:35:10 +08:00
Vincent Zhang
851ed76dc1
Bump version to 1.0.0.
2018-12-07 00:45:36 +08:00
Vincent Zhang
1de4baed59
Add help-echo and mouse-click for buffer file name.
2018-12-07 00:43:59 +08:00
Vincent Zhang
83731bca00
Add two enablers for persp-name and lsp segments.
...
See https://github.com/seagle0128/doom-modeline/issues/59#issuecomment-444842483 .
2018-12-07 00:25:48 +08:00
Vincent Zhang
8a2e5ffbda
Add help-echo and mouse-click for buffer position and size.
2018-12-07 00:17:29 +08:00
Vincent Zhang
f73eba86fa
[Feature] An indicator for LSP state.
...
See https://github.com/emacs-lsp/lsp-mode/issues/479#issuecomment-443992922 .
2018-12-06 03:26:27 +08:00
Vincent Zhang
8d6974bb65
Simplify minor modes.
...
Remove help-echo and mouse-click since doom-modeline-def-segment
doesn't support mode-line-minor-mode-keymap.
See https://github.com/seagle0128/doom-modeline/issues/59#issuecomment-444423882 .
2018-12-06 02:45:22 +08:00
Vincent Zhang
4235da6465
Add new face: doom-modeline-buffer-minor-mode.
...
See https://github.com/seagle0128/doom-modeline/issues/59#issuecomment-444514463 .
2018-12-06 02:12:17 +08:00
Vincent Zhang
9c6d00d3ab
Add help-echo and mouse-click to persp-name segment.
2018-12-06 01:58:16 +08:00
Vincent Zhang
aa088e3f52
Fix: No definitions found for: xah-fly-insert-state-q.
2018-12-06 01:32:15 +08:00
Vincent Zhang
5fbb0291d6
Enhance flycheck segment: help-echo, mouse click.
2018-12-06 00:48:10 +08:00
Vincent Zhang
70049ac3bf
[Feature] An indicator for xah-fly-keys state.
2018-12-06 00:08:10 +08:00
Vincent Zhang
9accf87eef
Eliminate compiler warnings.
2018-12-05 23:09:11 +08:00
Vincent Zhang
84b2ab0abc
Remove settings for projectile lighter.
...
See https://github.com/seagle0128/doom-modeline/issues/59#issuecomment-444423882 .
2018-12-05 22:56:06 +08:00
Evgeni Kolev
d6550fafd5
Update file state icon after widening
2018-12-05 13:13:07 +02:00
Vincent Zhang
dbfdf1b0b0
Change faces of input-method segment.
2018-12-05 04:32:14 +08:00
Vincent Zhang
e032bb92c3
Fix error in input-method: (wrong-type-argument stringp nil).
2018-12-05 04:30:01 +08:00
Vincent Zhang
5836f0603c
Minor change minor-modes position.
2018-12-05 03:59:13 +08:00
Vincent Zhang
420285ae5f
Refactor segments. Only show global and input in active window.
2018-12-05 03:50:50 +08:00
Vincent Zhang
c0b5f1c0ab
Fix #59 : [Feature] Minor modes segment. Disable by default.
2018-12-05 03:39:07 +08:00
Vincent Zhang
e43da4a963
[Feature] A perspective name segment for persp-mode.
2018-12-05 02:38:36 +08:00
Vincent Zhang
e466611f68
Update formats of buffer-encoding.
2018-12-04 21:09:16 +08:00
Vincent Zhang
ac1605a92c
Fix #57 : [Enhancement] Display uniquified buffer names in help-echo.
2018-12-04 00:22:20 +08:00
Vincent Zhang
da9fa3ced2
Fix #56 : Error when launching Gnus.
2018-12-03 15:24:25 +08:00
Vincent Zhang
1497e12b08
Fix #55 : Projectile segment errors on a new clojure project.
2018-12-02 18:53:51 +08:00
Dominik Kellner
e697720c94
Fix calling `projectile-project-root'.
...
Depending on configuration, `projectile-project-root' raises an error if there
is no project available. This behaviour almost renders Emacs unusable outside
of projects as `doom-modeline-project-root' gets called upon every redisplay of
the modeline, which then causes the error.
This fix just ignores errors thrown by `projectile-project-root' and returns
`nil' instead, which is what we expect anyway.
2018-11-30 08:51:47 +07:00
Vincent Zhang
6975849702
Add function for minimal modeline.
2018-11-29 23:23:39 +08:00
Vincent Zhang
5b507e4b98
Format codes and comments.
2018-11-29 02:34:58 +08:00
Vincent Zhang
fac54da782
Fix #53 : Shortening of remote buffers names.
2018-11-28 15:24:13 +08:00
Vincent Zhang
b0750259a3
Use when-let* for safer in symbol overlay panel.
2018-11-28 14:43:29 +08:00
Vincent Zhang
e7de8eef92
Ignore user errors in symbol overlay..
2018-11-28 14:39:36 +08:00
Vincent Zhang
c48d10a6f9
Bump version to 0.9.0.
2018-11-28 02:50:50 +08:00
Vincent Zhang
88414e30e3
Support symbol-overlay in match panel.
2018-11-28 02:50:07 +08:00
Vincent Zhang
b755888f8b
Address bad performance issue on Windows.
...
https://github.com/seagle0128/doom-modeline/issues/37
2018-11-28 01:35:55 +08:00
Vincent Zhang
36e081f912
Revert "Load hooks for anzu--reset-status immediately."
...
This reverts commit 752bb05e73
.
2018-11-27 23:09:30 +08:00
Vincent Zhang
752bb05e73
Load hooks for anzu--reset-status immediately.
2018-11-27 23:02:48 +08:00
Vincent Zhang
01db5c1040
Fix compiler warnings.
2018-11-27 22:54:35 +08:00
Vincent Zhang
78b2e196f6
Fix #51 : add FAQ in README.
2018-11-27 21:51:15 +08:00
Vincent Zhang
58eb5c3b55
Don't show state icon in inactive windows.
2018-11-27 18:13:13 +08:00