Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from develop branch. #5

Merged
merged 57 commits into from
Jul 5, 2018
Merged
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
ababcb4
Merge from develop branch of doom-theme.
seagle0128 Jun 13, 2018
553f1a8
Remove memoize dependency.
seagle0128 Jun 13, 2018
aee92fa
Update libs.
seagle0128 Jun 13, 2018
0509ac4
Fix eldoc in minibuffer.
seagle0128 Jun 13, 2018
f98597f
Fix face of eldoc-in-minibuffer.
seagle0128 Jun 13, 2018
25c5d29
Fix: quote -> backquote.
seagle0128 Jun 14, 2018
8bf477c
Merge branch 'develop' of https://github.com/seagle0128/doom-modeline…
seagle0128 Jun 14, 2018
af221ea
Fix: Symbol’s value as variable is void: doom-modeline-fn-alist.
seagle0128 Jun 15, 2018
0946408
Remove dash.
seagle0128 Jun 15, 2018
50dd005
Fix warnings.
seagle0128 Jun 17, 2018
9a8231c
Fix: when-let for Emacs26.
seagle0128 Jun 17, 2018
b66b92c
Add GLP3 license.
seagle0128 Jun 17, 2018
2d9ce25
Update format.
seagle0128 Jun 19, 2018
0234007
Merge new codes and fix warnings.
seagle0128 Jun 19, 2018
747f060
Remove `doom-modeline-add-hook!`.
seagle0128 Jun 19, 2018
998cfe1
Minor fix.
seagle0128 Jun 19, 2018
64404ed
Remove `doom-modeline-add-transient-hook!`.
seagle0128 Jun 19, 2018
57fa2b2
Fix: `doom-modeline-set`.
seagle0128 Jun 19, 2018
03658c4
Fix: `doom-modeline-vspc`.
seagle0128 Jun 19, 2018
96d6fda
Fix anzu issue.
seagle0128 Jun 19, 2018
55269e7
Fix for `evil-anzu`.
seagle0128 Jun 19, 2018
f281bd8
Refactor.
seagle0128 Jun 19, 2018
1a98d96
Silence compiler warnings.
seagle0128 Jun 20, 2018
04641d5
Fix typo.
seagle0128 Jun 21, 2018
14e4b8b
Disable anzu modeline.
seagle0128 Jun 21, 2018
616fdab
Fix: set current window after switching window.
seagle0128 Jun 21, 2018
2beb802
Fix: set current window after switching window via click.
seagle0128 Jun 21, 2018
e693642
Update functions for icons.
seagle0128 Jun 21, 2018
e714440
Support versions including Python, Ruby and Golang.
seagle0128 Jun 21, 2018
ff3a35a
Merge branch 'develop' of https://github.com/seagle0128/doom-modeline…
seagle0128 Jun 21, 2018
0db4523
Enable window-number in main.
seagle0128 Jun 22, 2018
d4179d8
Update README.
seagle0128 Jun 22, 2018
f3abba2
Update README.
seagle0128 Jun 25, 2018
c712afc
Update README.
seagle0128 Jun 25, 2018
2c7c908
Fix: doom-column -> doom-modeline-column.
seagle0128 Jun 26, 2018
0cc7118
Fix warnings.
seagle0128 Jun 26, 2018
2383b1c
Update vcs.
seagle0128 Jun 26, 2018
c354cdd
Remove `map`.
seagle0128 Jun 27, 2018
bd09759
Fix: update vcs.
seagle0128 Jun 27, 2018
10ec55a
Update vcs state in mode-line after refreshing in magit.
seagle0128 Jun 28, 2018
ae9d073
Fix issues according to feedbacks from mepla.
seagle0128 Jun 30, 2018
871f5f8
Merge branch 'develop' of https://github.com/seagle0128/doom-modeline…
seagle0128 Jun 30, 2018
69e4731
Update comments.
seagle0128 Jul 2, 2018
f6f73dd
Add window number for special, project and media modeline.
seagle0128 Jul 2, 2018
335074b
Autoload more functions.
seagle0128 Jul 2, 2018
ed7027d
Set special modeline for org-src-mode.
seagle0128 Jul 2, 2018
b8e73dc
Show window number while the count of windows is greater than 2.
seagle0128 Jul 2, 2018
4ef93c7
Ignore minibuffer while counting windows.
seagle0128 Jul 2, 2018
28000c4
Support winum-mode.
seagle0128 Jul 2, 2018
ff3bd48
Always show window numbers in all frames.
seagle0128 Jul 2, 2018
28f91fd
Fix comments.
seagle0128 Jul 3, 2018
258179b
Fix env versions on mode-line.
seagle0128 Jul 3, 2018
926a833
Fix errors for env versions in mode-line.
seagle0128 Jul 3, 2018
774879e
Update README and package descriptions.
seagle0128 Jul 5, 2018
1e655da
Merge branch 'develop' of https://github.com/seagle0128/doom-modeline…
seagle0128 Jul 5, 2018
f1892f8
Merge branch 'master' into develop
seagle0128 Jul 5, 2018
b352592
Update doom-modeline.el
seagle0128 Jul 5, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update comments.
  • Loading branch information
seagle0128 committed Jul 2, 2018
commit 69e47314a3fbcd27cbc952560bb2ba585d0189e4
16 changes: 8 additions & 8 deletions doom-modeline.el
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
(defvar doom-modeline-buffer-file-name-style 'truncate-upto-project
"Determines the style used by `doom-modeline-buffer-file-name'.

Given ~/Projects/FOSS/emacs/lisp/comint.el
Given ~/Projects/FOSS/emacs/lisp/comint.el
truncate-upto-project => ~/P/F/emacs/lisp/comint.el
truncate-upto-root => ~/P/F/e/lisp/comint.el
truncate-all => ~/P/F/e/l/comint.el
Expand Down Expand Up @@ -218,10 +218,10 @@ active.")
(defmacro doom-modeline-def-modeline (name lhs &optional rhs)
"Defines a modeline format and byte-compiles it.

NAME is a symbol to identify it (used by `doom-modeline' for retrieval).
LHS and RHS are lists of symbols of modeline segments defined with
`doom-modeline-def-segment'.
Example:
AME is a symbol to identify it (used by `doom-modeline' for retrieval).
LHS and RHS are lists of symbols of modeline segments defined with
`doom-modeline-def-segment'.
Example:
(doom-modeline-def-modeline minimal
(bar matches \" \" buffer-info)
(media-info major-mode))
Expand Down Expand Up @@ -270,7 +270,7 @@ active.")
(defun doom-modeline-project-root ()
"Get the path to the root of your project.

If STRICT-P, return nil if no project was found, otherwise return
If STRICT-P, return nil if no project was found, otherwise return
`default-directory'."
(let (projectile-require-project-root)
(projectile-project-root)))
Expand Down Expand Up @@ -445,7 +445,7 @@ active.")
(defun doom-modeline--buffer-file-name-truncate (&optional truncate-tail)
"Propertized variable `buffer-file-name' that truncates every dir along path.

If TRUNCATE-TAIL is t also truncate the parent directory of the file."
If TRUNCATE-TAIL is t also truncate the parent directory of the file."
(let ((dirs (shrink-path-prompt (file-name-directory buffer-file-truename)))
(active (doom-modeline--active)))
(if (null dirs)
Expand Down Expand Up @@ -771,7 +771,7 @@ lines are selected, or the NxM dimensions of a block selection."
(defsubst doom-modeline--anzu ()
"Show the match index and total number thereof.

Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with
`evil-search'."
(setq anzu-cons-mode-line-p nil)
(when (and (featurep 'anzu)
Expand Down