Commit Graph

186 Commits

Author SHA1 Message Date
36741fae19 Bump :ui doom
hlissner/emacs-doom-themes@f569b5a -> hlissner/emacs-doom-themes@b1c43a3
hlissner/emacs-solaire-mode@adc8c0c -> hlissner/emacs-solaire-mode@e077c28
2020-05-31 22:25:56 -04:00
15f6a6cdd9 Bump :ui
Alexander-Miller/treemacs@5c01829 -> Alexander-Miller/treemacs@327bf63
abo-abo/hydra@16fa8d1 -> abo-abo/hydra@87873d7
dimitri/switch-window@204f9fc -> dimitri/switch-window@8710f63
ema2159/centaur-tabs@57afd81 -> ema2159/centaur-tabs@0e003e3
hlissner/emacs-doom-themes@a130617 -> hlissner/emacs-doom-themes@f569b5a
jabranham/mixed-pitch@734fbdf -> jabranham/mixed-pitch@1cad46f
joostkremers/writeroom-mode@7f7acde -> joostkremers/writeroom-mode@8a226a3
jrblevin/deft@f54e8a6 -> jrblevin/deft@fca9ea0
2020-05-28 02:37:18 -04:00
e00bfc7612 Minor refactors & reformatting 2020-05-25 03:43:40 -04:00
f5acb54a7d Bump :ui doom
hlissner/emacs-doom-themes@34f181 -> hlissner/emacs-doom-themes@a13061

Updates the Pin of doom-themes to the latest, which includes a number of fixes,
notably the faces for the minimap.
2020-05-19 19:55:50 -04:00
98f69ee3cf Fix solaire-mode auto-disabler for daemon users
Hopefully.
2020-05-18 14:38:27 -04:00
48221b4b86 Bump :ui doom
hlissner/emacs-doom-themes@254d476 -> hlissner/emacs-doom-themes@34f181c

Closes #3057
2020-05-08 15:57:20 -04:00
49cdda3e3d Bump :ui
Alexander-Miller/treemacs@ee1b523 -> Alexander-Miller/treemacs@10c96c9
abo-abo/ace-window@7e0777b -> abo-abo/ace-window@7003c88
hlissner/emacs-doom-themes@8d5ddbb -> hlissner/emacs-doom-themes@254d476
jaypei/emacs-neotree@98fe213 -> jaypei/emacs-neotree@5e12716
joostkremers/writeroom-mode@9b6e55f -> joostkremers/writeroom-mode@7f7acde

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-29 23:48:42 -04:00
096803e2fe Don't trigger redraw on every frame switch 2020-04-25 02:40:20 -04:00
71e23fb250 Refactor how solaire-mode is activated
Otherwise we are swapping bg faces even if the user removes
solaire-global-mode from doom-load-theme-hook.
2020-04-24 18:47:10 -04:00
efa599f076 Fix run-hooks: wrong-number-of-args error for daemon users 2020-04-23 13:08:08 -04:00
279ca195d5 Auto-disable solaire-global-mode in tty daemon frames
Or try, at least. This is very flimsy.
2020-04-23 03:44:42 -04:00
6c7bd1a94a Bump :ui doom
hlissner/emacs-solaire-mode@4ac324c -> hlissner/emacs-solaire-mode@adc8c0c
2020-04-23 03:44:23 -04:00
b78fc4eb76 Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
2cc304a646 Bump to hlissner/emacs-doom-themes@8d5ddbb
From hlissner/emacs-doom-themes@bbb3725
2020-04-07 20:25:13 -04:00
296cbff097 General, minor refactor & reformatting 2020-03-27 18:06:42 -04:00
7c5903c339 Bump :ui modules
hlissner/emacs-doom-themes@0760079 -> hlissner/emacs-doom-themes@bbb3725
tarsius/hl-todo@5d2ea49 -> tarsius/hl-todo@3bba459
abo-abo/hydra@e3beffd -> abo-abo/hydra@16fa8d1
seagle0128/doom-modeline@0df5585 -> seagle0128/doom-modeline@0642f71
syohex/emacs-anzu@592f8ee -> syohex/emacs-anzu@2e69955
jaypei/emacs-neotree@c2420a4 -> jaypei/emacs-neotree@98fe213
ema2159/centaur-tabs@af50f87 -> ema2159/centaur-tabs@e6bf9f5
Alexander-Miller/treemacs@4eb8eb8 -> Alexander-Miller/treemacs@81b69d9
syohex/emacs-git-gutter-fringe@16226ca -> syohex/emacs-git-gutter-fringe@da19a47
Bad-ptr/persp-mode.el@e330e62 -> Bad-ptr/persp-mode.el@391a7dc
jabranham/mixed-pitch@6090716 -> jabranham/mixed-pitch@734fbdf
2020-03-27 16:18:52 -04:00
169f9a6121 General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
4170b72d91 ui/doom: remove +doom-solaire-themes var
We'll simply activate solaire-mode and swap the bg faces for any doom-*
theme.

Also: add doom-themes extensions for org, treemacs and neotree sooner,
so an `after!` block isn't necessary to disable them.
2020-03-06 15:26:37 -05:00
933b6f19ea Bump :ui doom
hlissner/emacs-doom-themes@ecffdf8 -> hlissner/emacs-doom-themes@0760079
2020-03-06 15:26:36 -05:00
8cd8c3ef7b Bump to hlissner/emacs-doom-themes@ecffdf8
From hlissner/emacs-doom-themes@c8dd976
2020-02-24 22:31:50 -05:00
51d71ee7e3 Bump to hlissner/emacs-doom-themes@de96a55
From hlissner/emacs-doom-themes@c8dd976
2020-02-12 20:40:34 -05:00
e8813ffa90 Bump to hlissner/emacs-doom-themes@de96a55
From hlissner/emacs-doom-themes@7131b60
2020-02-11 03:22:49 -05:00
456b501aad Bump to hlissner/emacs-doom-themes@7131b60 2020-02-07 03:43:26 -05:00
431cd38e83 Update +doom-solaire-themes to include all doom-themes 2020-02-06 17:28:45 -05:00
65f859cf4d Bump to hlissner/emacs-doom-themes@aa215ed 2020-02-02 22:59:42 -05:00
f5800b5b40 Bump to hlissner/emacs-doom-themes@d48df7b 2020-01-27 00:51:37 -05:00
a9402cfb55 Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
4cc14389e8 PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
d8bd262fcc fix: gruvbox theme with solaire-mode 2019-12-18 16:47:42 +01:00
bdbae1024e ui/doom: update README 2019-12-12 03:46:39 -05:00
62aa608254 ui/doom: only load solaire-mode in daemon or gui sessions
Why daemon? Because we can't be sure if the user will open graphical or
tty frames. Detecting this is a messy affair, so I leave it to the user
to deal with. This'll have to be documented somewhere...
2019-12-12 03:39:34 -05:00
bfdd09b5c2 ui/doom: swap solaire bg for doom-challenger-deep 2019-12-06 13:59:13 -05:00
c13b8df5df Minor refactors & reformatting 2019-12-05 14:56:16 -05:00
6bb597564b ui/doom: swap bg for doom-tomorrow-day
Fix hlissner/emacs-doom-themes#362
2019-12-04 21:51:59 -05:00
2326379d68 ui/doom: swap bg for doom-{snazzy,spacegrey,tomorrow-night} 2019-12-01 15:42:05 -05:00
99cd52e70f 💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00
5100b84ed6 Fix #+SINCE in ui/doom/README.org 2019-10-10 01:45:36 +03:00
98a65a3489 Reformat ui/doom/README.org to match __doom-readme template 2019-10-10 01:06:08 +03:00
d297dc6934 Minor refactor & comment revision across the board 2019-10-03 23:33:59 -04:00
16007d44f3 Add doom-solarized-dark to +doom-solaire-themes 2019-10-01 10:52:46 +13:00
e10cd8cf2e Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
96e2a7726d ui/doom: remove 'append in doom-load-theme-hook 2019-08-28 00:40:50 -04:00
a3e262c7ac 💥 Refactor add-hook! macro & change arg order
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:

  (add-hook! :append 'some-mode-hook #'do-something)

Thsoe properties must now follow the hooks, e.g.

  (add-hook! 'some-mode-hook :append #'do-something)

Other changes:
- Various add-hook calls have been renamed to add-hook! because I
  incorrectly assumed `defun` always returned its definition's symbol,
  when in fact, its return value is "undefined" (so sayeth the
  documentation). This should fix #1597.
- This update adds the ability to add multiple functions to hooks
  without a list:

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

- The indentation logic has been changed so that consecutive function
  symbols at indented at the same level as the first argument, but forms
  are indent like a defun.

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

    (add-hook! 'some-mode-hook
      (message "Hello"))
2019-07-26 20:17:29 +02:00
82ae3a73f3 def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
76cacb5bfe 💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
20e2aa0b18 ui/doom: only load solaire-mode for supported themes 2019-07-23 02:06:35 +02:00
99e23adec1 ui/doom: simplify solaire init 2019-07-22 02:30:38 +02:00
8c41093fae ui/doom: update doom-themes config for treemacs/neotree 2019-07-22 02:30:38 +02:00
149b2617b0 💥 revise hook/var fns naming convention (2/2)
This is second of three big naming convention changes. In this commit,
we change the naming conventions for hook functions and variable
functions:

1. Replace the bar | to indicate a hook function with a -h suffix, e.g.

     doom|init-ui -> doom-init-ui-h
     doom|run-local-var-hooks -> doom-run-local-var-hooks-h

2. And add a -fn suffix for functions meant to be set on variables,
   e.g.

     (setq magit-display-buffer-function #'+magit-display-buffer-fn)

See ccf327f8 for the reasoning behind these changes.
2019-07-22 02:30:38 +02:00
51d3b1b424 💥 revise advice naming convention (1/2)
This is first of three big naming convention updates that have been a
long time coming. With 2.1 on the horizon, all the breaking updates will
batched together in preparation for the long haul.

In this commit, we do away with the asterix to communicate that a
function is an advice function, and we replace it with the '-a' suffix.
e.g.

  doom*shut-up -> doom-shut-up-a
  doom*recenter -> doom-recenter-a
  +evil*static-reindent -> +evil--static-reindent-a

The rationale behind this change is:

1. Elisp's own formatting/indenting tools would occasionally struggle
   with | and * (particularly pp and cl-prettyprint). They have no
   problem with / and :, fortunately.
2. External syntax highlighters (like pygmentize, discord markdown or
   github markdown) struggle with it, sometimes refusing to highlight
   code beyond these symbols.
3. * and | are less expressive than - and -- in communicating the
   intended visibility, versatility and stability of a function.
4. It complicated the regexps we must use to search for them.
5. They were arbitrary and over-complicated to begin with, decided
   on haphazardly way back when Doom was simply "my private config".

Anyhow, like how predicate functions have the -p suffix, we'll adopt the
-a suffix for advice functions, -h for hook functions and -fn for
variable functions.

Other noteable changes:
- Replaces advice-{add,remove}! macro with new def-advice!
  macro. The old pair weren't as useful. The new def-advice! saves on a
  lot of space.
- Removed "stage" assertions to make sure you were using the right
  macros in the right place. Turned out to not be necessary, we'll
  employ better checks later.
2019-07-22 02:27:45 +02:00