Commit graph

802 commits

Author SHA1 Message Date
Henrik Lissner
ff9c1ace22
checkers/spell: replace flyspell with spell-fu
Spell-fu is significantly faster, but does produce more false
positives (more faces must be added to spell-fu-faces-exclude to reduce
these).

Unfortunately, there is no fancy "correction" interface for spell-fu
yet, so we'll have to resort to ispell-word (on z=) for now.
2020-08-21 18:57:10 -04:00
Krzysztof Baranowski
8916f442f1
Update +emacs-bindings.el 2020-08-20 09:12:45 -07:00
Krzysztof Baranowski
0f1ff5f411
Update +evil-bindings.el 2020-08-20 09:07:50 -07:00
Henrik Lissner
bb1e2247dd
Fix #3781: command not found
Due to overzealous quoting.
2020-08-19 12:45:23 -04:00
Henrik Lissner
9b991fc29f
Fix #3781: revert 55b87b3a9 2020-08-19 12:10:14 -04:00
Henrik Lissner
55b87b3a94
bin/doom: source postscript instead
This way the postscript can refer to the doom script via "$0" and its
arguments via "$@" (making it easier for cli commands to rerun the last
command).
2020-08-18 20:32:34 -04:00
Henrik Lissner
cbebbd5278
Fix #3746: bin/doom hangs after tangling config
Because +literate-tangle-h wasn't returning non-nil in interactive
sessions.
2020-08-14 00:00:36 -04:00
Henrik Lissner
f5ba3d9498
config/literate: revise readme 2020-08-12 02:52:45 -04:00
Henrik Lissner
64dfc709bf
Fix #3729: config.org not getting tangled
Because the wrong file is being inserted into the temporary org buffer,
org never finds anything to tangle!
2020-08-11 14:00:33 -04:00
Henrik Lissner
eb9cb0c6e9
Fix org version conflicts due to literate config #3649
Tangling would load org libraries. If org hasn't been installed yet,
this means the older version is loaded, later interfering with the
installation and byte-compilation of the new package, causing down the
road.
2020-08-09 01:50:42 -04:00
Henrik Lissner
2e6902f7ae
Unbind TAB in comint buffers
They usually handle their own completion keybinding on TAB.
2020-08-09 01:50:41 -04:00
Henrik Lissner
d8908a0c32
Fix +default/newline indenting after newline
This was intended to be newline minus indent, since newline itself is
remapped to newline-and-indent.
2020-08-08 03:02:37 -04:00
Henrik Lissner
d2bc2ff44b
config/literate: improve tangling algorithm
- Tangling no longer adds temp files to recentf (#3685)
- If :tangle yes is used, the result is no longer tangled to
  /tmp/config.org.*.el
- In interactive sessions the org buffer is no longer interfered with
  when tangling (by scrolling up to the top of the page, or undoing
  overlays/markers).
- Tangling no longer triggers formatters (or any save/write hooks).
- Appease byte-compiler sama, complaining about free variables.
2020-08-08 02:57:04 -04:00
Henrik Lissner
4cbc2abb09
Don't invoke company on C-SPC if in minibuffer
In case of evil-collection-setup-minibuffer = t
2020-08-07 20:15:15 -04:00
Henrik Lissner
2c0cbec7c8
Fix universal {C,s}-RET keybinds in tty Emacs
And reformat all X-RET keybinds.
2020-08-05 18:26:07 -04:00
Henrik Lissner
c6766c293d
C-down-mouse-2 -> reset text-scale
Make this universal. Also removes redundant C-mouse-{4,5} mouse
bindings, they're already bound by mouse-wheel-mode.
2020-08-05 18:26:07 -04:00
Henrik Lissner
863eb82efd
S-RET -> insert literal newline
A convention on many text editors and applications is to make RET
auto-indent new lines. That has already been done. Another convention is
for S-RET to insert an unindented line; this commit adds this convention
to Doom.

Relevant to #3694
2020-08-05 18:26:06 -04:00
Henrik Lissner
00a8f750ed
Fix wrong-type-arg: stringp when tangling config.org 2020-08-05 03:32:21 -04:00
Henrik Lissner
01c5c35686
Fix #3688: failure tangling config.org 2020-08-04 18:04:15 -04:00
Henrik Lissner
f641bf4554
Fix 'void-variable: backup' error
Fixes my fix for #3685
2020-08-04 13:58:40 -04:00
Henrik Lissner
8580b53e8e
Fix #3685: don't mutate org buffer when tangling
If the buffer doesn't change, the cursor won't move.
2020-08-04 13:43:14 -04:00
Henrik Lissner
f82775fead
Fix 'Wrong type argument: commandp, +default/search-project'
Regression from #3656
2020-07-31 02:42:35 -04:00
Nham Le
6a4283c9d4 More convenient search buffer 2020-07-31 12:55:49 +07:00
Henrik Lissner
6a64f37435
Minor refactors & revision across the board 2020-07-31 01:39:24 -04:00
Henrik Lissner
9c96feba56
Fix wrong-type-arg stringp error on +default/dired
When selecting a directory.
2020-07-27 18:09:57 -04:00
Henrik Lissner
87199113bd
SPC f d -> +default/dired
+default/dired will prompt you for a directory to open dired in. If
passed the universal argument, it will prompt you for a known project
instead.
2020-07-26 18:40:42 -04:00
Henrik Lissner
12e414be89
Rename +org/toggle-clock -> +org/toggle-last-clock
And rewrite it to ask for confirmation before clocking in on the item at
point. Without this, it's much harder to see what exactly it's doing.
2020-07-26 15:55:11 -04:00
Henrik Lissner
8da31dbbab
config/literate: update & revise readme 2020-07-25 22:38:37 -04:00
Henrik Lissner
711e687709
config/literate: expand #+INCLUDE directives
It's surprising that tangling doesn't expand #+INCLUDE directives. It's
so useful for literate configs I decided to expand them manually before
tangling (and relative to DOOMDIR, unless given an absolute path).
2020-07-25 22:33:52 -04:00
Henrik Lissner
ff21dfe532
Revise :config literate README
Closes #3621

Co-authored-by: Carl Lange <carl@flax.ie>
2020-07-24 15:24:28 -04:00
Henrik Lissner
3aeb177847
Add +literate-enable-recompile-h to enable save-on-tangle 2020-07-24 15:21:44 -04:00
Henrik Lissner
83faa84591
Fix backspace advice with multi-character sp pairs 2020-07-23 01:26:03 -04:00
Henrik Lissner
2a325167f8
Merge pull request #3249 from sei40kr/eglot-improve
tools/lsp: improve eglot support
2020-07-22 20:41:22 -04:00
Hanno Perrey
14d6a19462
fix for #3266: wrong-type-arg stringp from format (#3599)
Triggered e.g. by pdf-tools-install when tangling literate config on
interactive save and epdfinfo is missing
2020-07-20 22:13:50 -04:00
Nicolas Cavigneaux
ab93f61df3
Fix emacs binding for toggling org-tree-slide-mode
org-tree-slide-mode toggling binding was calling a
non-existing (obsolete?) function.
2020-07-16 16:07:16 +02:00
Henrik Lissner
2cedf150ec
Fix #3268: overeager deletion of closing parens
Close #3566
2020-07-15 15:17:55 -04:00
Tim Perkins
20c617bc30 Only bind keys when workspaces module enabled 2020-06-26 01:48:39 -04:00
Seong Yong-ju
7e52383273 Resolve a key binding conflict
Fix the key binding for "Find implementations" conflicts with
"Jump to symbol in any workspace".
2020-06-24 02:01:10 +09:00
Seong Yong-ju
d8c6030a14 tools/lsp: Use general implementation lookup handler 2020-06-24 01:56:26 +09:00
Seong Yong-ju
6798966f78 editor/format: Use eglot LSP formatter 2020-06-24 01:56:26 +09:00
Seong Yong-ju
d3b1664081 config/default: Fix evil LSP key bindings 2020-06-24 01:56:26 +09:00
Raj Krishnan
0e9bb3e6eb Wording 2020-06-21 18:57:36 +05:30
Raj Krishnan
e0c3ffba0c Add keybinding for org-roam-insert-immediate 2020-06-21 18:47:11 +05:30
Andrew Whatson
6ff3b7aa1e Bind a link-hinting key for geiser-doc-mode 2020-06-19 14:45:31 +10:00
Henrik Lissner
c0b7ff0f9d
Merge pull request #3347 from leoalekseyev/mygithub/develop
Don't set prefix-arg when delegating to ivy/helm from +default/search-project
2020-06-10 20:57:57 -04:00
Leo Alekseyev
8dd55901c3 Don't set prefix-arg when delegating to ivy/helm from +default/search-project
The prefix arg for +default/search-project is intended to enable the
user to pick search location, however when it propagates to the ivy
search function it turns on the "search ignored files" functionality,
which us typically not intended and, furthermore, can be (if desired)
turned on simply by typing the search command in, for exampe,
counsel-rg's case as `-uu -- mysearchterm`
2020-06-10 03:50:25 -07:00
Henrik Lissner
10cc279e74
Merge pull request #3333 from Bounga/fix/emacs-binding-to-jump-to-channel-in-irc-app
Fix typo in function name binded to jump to an IRC channel
2020-06-10 03:00:45 -04:00
Henrik Lissner
9f00dd4920
Warn if projectile-project-search-path is empty
When using +default/discover-projects
2020-06-10 02:55:59 -04:00
Nicolas Cavigneaux
345f191376
Fix typo in function name used to jump to an IRC channel using Emacs keybindings 2020-06-08 17:51:29 +02:00
Henrik Lissner
9cc98c73d4
Remove redundant condition 2020-06-07 02:31:12 -04:00