Commit Graph

12389 Commits

Author SHA1 Message Date
Henrik Lissner
f516d4c342 Fix package! mutating package state at expansion time
Fixes an issue where package! declarations were read unconditionally at
compile time, whether or not they were on a reachable code path. e.g.
evil is always disabled by:

  (when nil
    (package! evil :disable t))
2019-10-25 02:38:15 -04:00
Henrik Lissner
54559d567a tools/magit: hide modeline in magit-popups
Since magit-gitflow still uses the old magit-popups, rather than
transient.
2019-10-25 02:38:15 -04:00
Henrik Lissner
3a7f84cfe2 ui/ophints: make 'gr' highlight async 2019-10-25 02:38:15 -04:00
Henrik Lissner
923a0a58b6 tools/flycheck: prevent flycheck popup buffer taking focus
When tooltip/childframe is off, long errors can spawn a popup window
that, by default, will steal input focus. No more!

Reported by @rgrinberg
2019-10-25 02:38:04 -04:00
Max Nickel
5b3989f3e1 fix removal of unread hook when filtering messages 2019-10-24 22:39:45 -04:00
Max Nickel
00ec885eaa add command to select From email via ivy prior to composing 2019-10-24 22:39:17 -04:00
Max Nickel
d73ebf0815 refresh notmuch buffers after sync and add support for custom sync 2019-10-24 22:39:02 -04:00
Max Nickel
5324cb2fc8 only show unread messages in notmuch-show threads (fold read msgs) 2019-10-24 22:38:50 -04:00
Max Nickel
07d219a300 add support for deleting messages in notmuch-show 2019-10-24 22:38:31 -04:00
Henrik Lissner
7f317e32ca ui/ophints: integrate 'gr' operator w/ evil-goggles 2019-10-24 19:50:54 -04:00
Henrik Lissner
ee80ed680c Defer evaluation of custom-set-faces!'s arguments
...until the theme has first loaded.

You'll need to set `doom-theme` to nil if you want to use this macro
without a theme!
2019-10-24 19:43:10 -04:00
Henrik Lissner
a940d07e4b tools/eval: minor refactors 2019-10-24 19:23:17 -04:00
Henrik Lissner
7f44774c43 lang/faust: fix unfiltered code completion 2019-10-24 19:22:15 -04:00
Henrik Lissner
c649401a92 Fix s-/ for non-evil users 2019-10-24 19:02:16 -04:00
Henrik Lissner
6b327dfcca lang/cc: fix default style in C/C++ modes
c-default-style wasn't being used correctly.
2019-10-24 17:03:08 -04:00
Henrik Lissner
423c2958b6 lang/python: load lsp-python-ms after python
To isolate errors caused upstream (e.g. emacs-lsp/lsp-python-ms#68)
2019-10-24 17:03:03 -04:00
Henrik Lissner
bcdf5eb19a tools/eval: gr now sends to REPL if one is open #1941
And polish other evil repl commands + add docstrings.
2019-10-24 16:56:53 -04:00
Henrik Lissner
80f56f4a40 Merge pull request #1948 from facelesspanda/develop
ui/modeline: fix ligature advice for hlissner#1216
2019-10-24 16:31:20 -04:00
Clement Busschaert
82ecfac39c ui/modeline: fix ligature advice for hlissner#1216 2019-10-24 22:24:39 +02:00
Henrik Lissner
2cd06d23cd ui/modeline: rename fancy-battery -> battery
The fancy-battery segment was removed upstream:
seagle0128/doom-modeline/commit/93135d4
2019-10-24 15:45:55 -04:00
Henrik Lissner
334c309ae7 lang/org: org-clock-out-remove-zero-time-clocks = nil
Half-reverts 29f6db6ea. Hadn't realized this setting would remove
the *entire* logbook if you clock out with sub 1m on a task.

Mentioned by @d1egoaz in 29f6db6
2019-10-24 15:04:08 -04:00
Henrik Lissner
3f6dfe8eac ui/modeline: fix ligature advice for #1216 2019-10-24 14:31:50 -04:00
Henrik Lissner
767d0b25cd Add fourth mantra 2019-10-24 14:20:48 -04:00
Henrik Lissner
a1f6f77ca0 Remove redundant flyspell-mode hook in latex
flyspell-mode is already on text-mode-hook
2019-10-24 13:39:03 -04:00
Henrik Lissner
1030f66c24 Revert 438caf276 (#1943)
This was fixed upstream in emacs-lsp/lsp-mode#1135
2019-10-24 13:31:08 -04:00
Henrik Lissner
851094cdd3 Restore ./ & ../ entries in ivy
There are a number of commands where these options are useful.
2019-10-24 04:42:21 -04:00
Henrik Lissner
671135053b Prevent visual 'gzz' placing cursors on invisible lines
e.g. over folded lines
2019-10-24 03:16:35 -04:00
Henrik Lissner
3140ab7337 lang/latex: fix advice name conflict #1849 2019-10-23 22:28:44 -04:00
Henrik Lissner
d5548e5994 Remove osx-clipboard package
Forgot to remove it in f34c33aa0
2019-10-23 22:13:45 -04:00
Henrik Lissner
a531955dad docs/faq: mention package! recipe inheritance 2019-10-23 22:11:28 -04:00
Henrik Lissner
9177c1b07a lang/python: ensure anaconda is started after lsp 2019-10-23 22:09:28 -04:00
Henrik Lissner
42421a765d Avoid fallback completion if lsp--buffer-deferred 2019-10-23 22:08:28 -04:00
Henrik Lissner
0b67251159 tools/eval: associate plist with repl handlers
Also consolidates all REPLs (opened through the :tools eval module)
under one popup rule, which inhibits ESC from prematurely closing
them (#1944), and cleans up after their buffers *only* if their handlers
weren't specified to :persist, e.g.

  (set-repl-handler! 'some-mode #'some-repl-handler :persist t)

Also standardized ESS's REPL commands.
2019-10-23 21:41:23 -04:00
Henrik Lissner
e6094f262f lang/emacs-lisp: don't resize non-output windows 2019-10-23 18:30:03 -04:00
Henrik Lissner
438caf276b tools/lsp: fix lsp in js scripts w/ no file ext #1943 2019-10-23 18:29:30 -04:00
Henrik Lissner
b556fa7d3f lang/org: explain org-babel-js-function-wrapper setting 2019-10-23 18:05:15 -04:00
Henrik Lissner
909c277968 ui/modeline: fix ligature/all-the-icons conflict #1216
Relevant to seagle0128/doom-modeline#69
2019-10-23 18:05:08 -04:00
Henrik Lissner
3dd09b327f lang/org: tie evil-org to :editor evil +everywhere 2019-10-23 18:00:11 -04:00
Henrik Lissner
fb28586795 lang/org: use fork of evil-org
First step to fixing its issues.

Relevant to #1897, #1828
2019-10-23 18:00:11 -04:00
Henrik Lissner
009cfbcb90 lang/cc: fix false negatives from rc/rdm checks #1864 2019-10-23 16:07:59 -04:00
Henrik Lissner
91deaa49eb lang/plantuml: error on export in server mode
'server compilation fails when exporting org files with plantuml
diagrams.
2019-10-23 14:36:40 -04:00
Henrik Lissner
0bf2f1d9bf Bind 'SPC p C' = rerun last command, 'SPC p g' = configure project 2019-10-23 14:24:01 -04:00
Henrik Lissner
0c7bf323c1 Bind 'SPC c C' = recompile, 'SPC f C' = copy this file 2019-10-23 14:20:18 -04:00
Henrik Lissner
237d2d3c3a lang/latex: fix fix for fill-paragraph in latex-mode #1849 2019-10-23 14:14:33 -04:00
Henrik Lissner
31b8db0480 Bind 'SPC c s' to send-region-to-repl #1941 2019-10-23 14:08:23 -04:00
Henrik Lissner
cfcaad4bfc tools/eval: don't select window after send-to-repl #1941
Also:

- Refactors REPL logic
- Open-repl commands now copy selection to new REPL and select
  them (without executing them).
- Send-to-repl now auto-executes by default. Prefix arg = don't auto
  execute
2019-10-23 14:08:15 -04:00
Henrik Lissner
cf2cea75cf lang/org: remove org-babel-get-header polyfill
If packages haven't caught up by now, oh well! ob-spice hasn't, that's
for sure.
2019-10-23 13:21:47 -04:00
Henrik Lissner
f3ca420c27 lang/plantuml: fix ob-plantuml previews with jar
If plantuml-default-exec-mode is 'server, the image is compiled via the
website and downloaded. If it's 'executable it uses the local 'plantuml'
executable (determined by plantuml-executable-path) to compile it. If
it's 'jar it uses the local 'plantuml.jar' (determined by
plantuml-jar-path).

The first two were tested and work, but 'jar did not, until now.
2019-10-23 13:04:25 -04:00
Henrik Lissner
f34c33aa07 Fix clipboard in tty Emacs
xclip has support for a number of clipboard programs (xclip, xsel,
pb{copy,paste}, wl-copy, termux-clipboard and getclip).
2019-10-23 05:05:45 -04:00
Henrik Lissner
f4acb3cefd New add-load-path! convenience macro 2019-10-23 04:24:06 -04:00