Commit Graph

57 Commits

Author SHA1 Message Date
Lin Sun d2ca781a8d spacemacs-modeline: do not dependent on the neotree 2022-10-18 17:26:50 +02:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
Thanh Vuong b8f471dc1c
[core] new recipe :fetcher local
with this curent (package :location local) can be replaced with (package
:location (recipe :fetcher local)) then quelpa will install local pacakge. We
have the benefit of bytecompile and autoload

[packages] use new fetcher for local
2022-05-29 15:58:19 +02:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
syl20bnr 35f1d57823 [modeline] Fix all-the-icons theme with utf-8 separator 2020-09-20 21:17:21 -04:00
syl20bnr 5fadc5bc68 [modeline] Fix dumper support for alternate modeline themes 2020-09-20 21:17:21 -04:00
syl20bnr e3acd91118 [core] Rename spacemacs|require to spacemacs|require-when-dumping 2020-09-20 21:17:21 -04:00
syl20bnr 82b2942cb7 [spaceline] Compile spaceline while dumping
And avoid compiling it when running from a dump.
2020-09-20 21:17:21 -04:00
Thanh Vuong c1a518439c
toggle for doom-modeline package
even though we have a check if doom is actually set in
dotspacemacs-mode-line-theme in doom mode line init function. doom-modeline
still adds a bunch functions to hook `after-change-functions regardless of the
value of mode line theme name. Hence we need to put a toggle on the declaration
2020-02-08 09:22:21 +00:00
duianto ea11a256fd
Replaced obsolete function doom-modeline-init
doom-modeline-init was marked as obsolete in version: 1.6.0.
Add new mode: doom-modeline-mode.
868f1bb00b

The doom-modeline package is currently at version: 2.6.2.
2019-12-03 21:58:45 +00:00
Jake Romer e96b899daf Set doom-modeline-display-default-persp-name 2019-11-20 12:14:39 +01:00
emacspace 2aa62bb5ed documentation formatting: Tue May 28 14:41:10 UTC 2019 2019-05-28 17:43:54 +03:00
JAremko ce4e6e355f tag docs 2019-05-28 17:35:49 +03:00
duianto bf75b9d899 Move add-hook inside progn
And limit lines to 80 chars.
2019-05-16 15:43:36 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
Benno Fünfstück d6b7e335ed spacemacs-modeline: fix modeline if daemon is used 2019-05-09 18:34:10 +02:00
JAremko 77c680160e Add placeholder tags 2019-05-05 20:40:47 +03:00
duianto b26ea277fb Add documentation to two toggles
Two `SPC h SPC` toggles were missing their documentation:
- Nameless
- Minibuffer System Monitor (the symon package)

Now they match the other entries by showing:
- current state
- name (this was only shown before)
- documentation
- key binding (only minibuffer-system-monitor shows a key binding)

The nameless key binding `SPC m T n` only works in emacs-lisp-mode. It's key
binding might need to be described another way.
2019-05-01 01:24:12 +02:00
duianto b646b75ece Fix doom-modeline in the messages buffer
problem:
the doom-modeline isn't applied to the messages buffer

solution:
call `(doom-modeline-init)` without a hook
2019-04-23 22:40:24 +02:00
duianto 2342f76cf1 Exclude which-key from layer sync powerline restore
When syncing the configuration layers `SPC f e R`,
don't restore the powerline to the which-key buffer.
2019-04-15 10:29:59 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
duianto cca3021bb5
Fix packages.el formatting
Join trailing parentheses
Fix indentation
Limit line length to 80 chars
Fix missing newline warning
Remove empty line in a function
2018-10-23 07:13:53 +03:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
syl20bnr e641e6c6e6 Add doom-emacs mode-line theme
Set dotspacemacs-mode-line-theme to 'doom to enjoy this great minimalistic
mode-line.
2018-09-04 14:53:39 -04:00
bmag 6b4a79d398 spaceline: fix copy-paste error in lazy-load hook name
Commit d7f5b58890 added a lazy-loader for
spaceline but used lazy-load-window-purpose as its name. As result,
window-purpose lazy-loader got overwritten and window-purpose didn't load at
all.
2018-06-20 09:51:45 +03:00
syl20bnr d7f5b58890 spaceline: find a new way to speed it up without lazy loading it
Remove byte-compilation a startup time and put compilation of the mode line in
a window configuration change hook.
2018-06-14 10:08:38 -04:00
syl20bnr 33c62b7d60 spaceline: define toggles at init time 2018-06-14 09:33:33 -04:00
syl20bnr de858b2953 Fix startup buffers without spaceline mode line 2018-06-14 01:10:44 -04:00
syl20bnr 17ad92b808 spaceline: remove after-display hook
The trade-off is that the spaceline separator is flat and the powerline height
is default for people using emacs --daemon.
2018-06-11 12:38:37 -04:00
syl20bnr a417d05cd0 layouts: be sure spaceline is loaded before restoring layouts
fixes #10849
2018-06-11 11:53:20 -04:00
syl20bnr 4bb1d6ab39 Defer spaceline loading 2018-06-11 04:00:13 -04:00
syl20bnr a337aa7782 Force powerline-scale to be 1 when utf-8 separator is used 2018-06-03 01:48:26 -04:00
syl20bnr 378392e7cd dump: remove spaceline-compile hook and force separator to be utf-8
For now we have an issue with invalid XMP image format when dumping.
So we force utf-8 separator.

spaceline-compile is really long and not really necessary for regular users.
Advanced users must explicitly call spaceline-compile in their dotfile and be
ready to pay a 0.5s penalty when loading emacs.
2018-05-20 03:58:48 -04:00
p-sdk 0e7807cb32 Fix modeline colors on emacs-mac port 2018-05-19 23:58:17 -04:00
Benno Fünfstück 572d4388fb spacemacs-modeline: compute height only after display init
Before the display system is initialized, we cannot reliably make font
measurements so the height will be incorrect. This lead to display artefacts
if emacs was started in daemon mode without a graphical interface and later a
graphical client was connected (so for example, if you do `emacs --daemon`
followed by `emacsclient -c`).
2018-05-18 01:25:29 -04:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
smile13241324 d526121202 Fix doc for first bunch of internal spacemacs layers 2018-02-22 17:36:45 +02:00
syl20bnr 665c09b684 mode-line: fix color space for spaceline separators on MacOS 2018-01-28 22:40:58 -05:00
syl20bnr 79b87c7d5a Fetch font-lock+ from Emacs Mirror
https://github.com/emacsmirror/font-lock-plus
2018-01-25 00:11:15 -05:00
syl20bnr 7a86333d79 mode-line: disable spaceline responsiveness for all-the-icons theme 2018-01-22 00:47:05 -05:00
syl20bnr a2f16fa876 Add toggle for spaceline responsivness under SPC t m r 2018-01-17 15:23:37 -05:00
syl20bnr ab7b3109dc Fix potential unsupported separator by base powerline package
This error can happen if you set the cup separator or any other separator type
only supported by all-the-icons and not spaceline/powerline.
2018-01-17 14:10:42 -05:00
syl20bnr 530ca288ad Fix void variable spaceline-all-the-icons-separator-scale 2018-01-17 10:52:08 -05:00
syl20bnr 0f646b884d Add properties for mode-line theme, remove powerline-scale
Since we have now a variable for the mode-line theme, it makes sense to move
the scaling of the mode-line to this variable. Thus the property
=:powerline-scale= of variable dotspacemacs-default-font has been removed and
it is replace by the property =:separator-scale= used in the variable
=dotspacemacs-mode-line-theme=.

This commit also adds a the property =:sperator= for the variable
=dotspacemacs-mode-line-theme= which allows to set the separator type.

Example of the final result:

   dotspacemacs-mode-line-theme '(all-the-icons
                                  :separator cup
                                  :separator-scale 1.5)

Documentation has been updated to reflect the changes.
2018-01-16 22:59:29 -05:00
Muneeb Shaikh 3a3566bf0f spacemacs-modeline: colorize inactive state for vim-powerline 2018-01-12 23:31:23 -05:00
Muneeb Shaikh 55bb88335a spacemacs-modeline: colorize hybrid state for vim-powerline 2018-01-12 23:31:23 -05:00
syl20bnr 86ff0eb86f Fix spacemacs mode-line theme 2018-01-12 04:14:58 -05:00