Commit Graph

14318 Commits

Author SHA1 Message Date
2c25ffab54 Add org-toggle-checkbox binding (SPC m x) 2020-08-19 17:42:11 +05:30
b632cbaa5c Add projectile dired action in workspaces module
"open project in dired"
2020-08-19 17:37:00 +05:30
4bc70a8537 ns-right-option-modifier = none
So the right option key can still be used to insert symbols on macOS.
2020-08-18 20:32:34 -04:00
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
394a18096e Disable comp-deferred-compilation in early-init.el 2020-08-18 20:32:34 -04:00
e9d70c861a Fix highlighting of operator <: 2020-08-18 21:26:41 -03:00
739ca0fd42 Improve highlighting of Julia operators 2020-08-18 21:00:33 -03:00
b2120e21eb bin/doom: fix heredoc delimiter in postscript 2020-08-18 19:02:17 -04:00
9f45561825 bin/doom: inhibit POSIX errors during postscript
Some doom commands will generate a temporary script at
~/.emacs.d/.local/.doom.sh so that it can run an arbitrary shell command
after the current invocation of bin/doom ends. Very useful for, say,
restarting the currently running doom command after a destructive
operation, like updating Doom's source code, tangling your literate
config, or for launching arbitrary programs, like a new instance of
Emacs. This is necessary because elisp lacks an execv implementation.

However, for some folks, .doom.sh wasn't executing at all. This meant:

1. Some `doom upgrade`s would upgrade Doom itself but never move on to
   the second step of the process: updating its packages.
2. Literate config users could tangle their configs on `doom sync`, but
   the actual syncing process would never happen (#3746).
3. `doom run` would do nothing.

I hadn't realized /bin/sh runs bash in POSIX mode (at least, on systems
where /bin/sh = bash, like nixOS or macOS). In POSIX mode the script
will abort the if a builtin command (like export) returns a non-zero
exit code. Since .doom.sh is basically a bunch of exports followed by an
arbitrary command, and there are some environment variables
that can trigger validation errors (like UID triggering a "read-only
variable" error), we have a problem.

Hopefully addresses #3746
2020-08-18 18:59:50 -04:00
f3740d4766 Fix private package declaration order issues
The user's private packages.el is read first, to ensure disabled
packages are recorded as soon as possible, however, this means private
packages are recorded early into `doom-packages`, and so are built
first (and thus, before org-mode, which is later registered by the
lang/org module).

This compilation order can cause lots of issues with org packages
loading the older, built-in version of org included with Emacs, instead
of the newer org-mode.

May address #3172
2020-08-18 17:23:28 -04:00
71dd71d1aa Fix evil-escape and C-r in ivy 2020-08-18 11:49:46 +02:00
089fe56079 Use simpler method to highlight nbsp
If it does not work on non-X builds we will fall back to the ergodis
method based on adding a font-lock class
2020-08-18 11:49:46 +02:00
473d41f889 Grammar 2020-08-18 11:49:46 +02:00
bfafcdfb0c Set lispy-avy-keys as well 2020-08-18 11:49:45 +02:00
004a2c50fe Complete readme and fix magit-status crhl keys 2020-08-18 11:49:45 +02:00
3ef2531356 Remove doom!-order dependency
The doom-init-modules-hook will do the work at the correct timing
2020-08-18 11:49:45 +02:00
911d7cb82c Add support for bépo layout in a dedicated module
Evil is loaded too early to be able to wait for the
config.el file of a user to set the CR-rotation style variable.
2020-08-18 11:49:25 +02:00
58af4aef56 Fix #3772 (again): void-variable comp-eln-load-path 2020-08-18 02:51:53 -04:00
3d622101cb Fix #3772: void-variable doom-reloading-p
This wasn't necessary in the first place. doom/reload doesn't re-read
Doom's core.
2020-08-18 02:44:03 -04:00
ed25ab76f9 Respect comp-eln-load-path in comp async process
Thanks to @SwiftLawnGnome in hlissner/doom-emacs@295f806
2020-08-18 00:46:41 -04:00
a2da5d7a6f Fix void-variable comp-eln-load-path error
For users on older versions of gccemacs.
2020-08-17 21:25:34 -04:00
295f8066be Update gccemacs support
To add support for "update 11", see:
http://akrl.sdf.org/gccemacs.html#org4b11ea1

Also:
+ Move eln files to ~/.emacs.d/.local/cache/eln
+ Disable comp-deferred-compilation by default (now that it is
  enabled-by-default upstream).
2020-08-17 21:24:14 -04:00
1c9918e61e Ensure evil-collection doesn't load early 2020-08-17 18:00:46 -04:00
bfe7b55a97 doc/adding another trouble shooting step
As Ubuntu does not include mu4e with the mu package I added a step to
tell the use to install mu4e and add it to their load-path. I have also
added a find command to find the directories likely to have mu4e in them
2020-08-17 02:56:15 +01:00
8fa5b9406c Fix #3763: add let-alist to straight-built-in-pseudo-packages
It is included with Emacs 26 and onwards, and was recently removed from
emacs-mirror anyhow.
2020-08-16 21:14:50 -04:00
9a8fc46c74 bin/doom: escape envvars in post-script
Might address #3746
2020-08-15 15:13:50 -04:00
4ad9b764e1 tools/magit: only expand git path
On closer inspection it isn't necessary to expand the gitk and perl
executable paths, since a) gitk is a GUI application that doesn't get
called often enough (only once at a time) to warrant being optimized,
and b) magit uses it to set an envvar for git (so git itself handles
locating the executable internally -- much faster than Emacs can (esp
over TRAMP), so it only benefits us to expand magit-git-executable.
2020-08-15 12:31:59 -04:00
10edc92bce tools/magit: fix stringp error for missing executables 2020-08-15 12:18:26 -04:00
5755754702 tools/magit: expand executable paths in remote repos too
Remote repos can benefit from ahead-of-time expansion of these paths
too; so Emacs doesn't have to search the remote PATH on every call.
2020-08-15 05:29:59 -04:00
55642fc8bb Bump :ui unicode
rolandwalker/unicode-fonts@7b88ae8 -> rolandwalker/unicode-fonts@e3942fe
2020-08-15 05:14:22 -04:00
77f9cc53ae magit-revision-insert-related-refs = nil 2020-08-15 05:14:21 -04:00
e49b4a8123 tools/magit: speed up git calls in magit
But only for local repos.
2020-08-15 05:14:21 -04:00
e2eb42ab0e Fix typo in :ui hydra module readme 2020-08-15 01:01:54 -04:00
ed8dca3c69 Bump :lang ess
emacs-ess/ESS@964bf64 -> emacs-ess/ESS@3c2fb63

Fix unexpected '>' in ">" error in ESS R repl.
2020-08-14 13:35:02 -04:00
ff90fc82e6 Normalize keymaps on evil-org-mode
Fixes an issue where evil keybinds aren't in effect on just after
activating org-mode.
2020-08-14 13:35:02 -04:00
702fb6e95d Fix #3747: make enlargen/maximize workspace-aware
Otherwise, doom/enlargen-window and doom/window-maximize-buffer could
restore the window configuration of other workspaces.
2020-08-14 02:13:37 -04:00
14d9786360 Respect org-hierarchical-todo-statistics 2020-08-14 00:40:32 -04:00
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
9cab6a6fd9 Fix #3723: auto-revert on window/buffer switch 2020-08-13 22:49:35 -04:00
73c95bb1ad Optimize doom-visible-buffers 2020-08-13 22:49:35 -04:00
d02d78c3fa Make find-file-in-project faster in large projects 2020-08-13 17:02:25 -04:00
6e764ade2b Add LSP/eglot support to +cc/reload-compile-db 2020-08-13 17:02:24 -04:00
88b1d05a4a tools/pdf: revise readme 2020-08-13 17:02:24 -04:00
335af41b70 Bump :ui doom
hlissner/emacs-solaire-mode@380e01c -> hlissner/emacs-solaire-mode@cd63b67
2020-08-13 17:02:24 -04:00
38a95f7e58 Bump :term vterm
akermu/emacs-libvterm@422ffe0 -> akermu/emacs-libvterm@797357b

akermu/emacs-libvterm#373 was merged

Fixes #3683
2020-08-13 17:02:15 -04:00
3ce18233e1 Fix untargetable treemacs window from ace-window 2020-08-13 12:49:21 -04:00
0b349bf1c0 ui/modeline: fix constant redisplay errors
Fixes a wrong-type-argument: stringp error emitted by the buffer-id
segment in :ui (modeline +light).
2020-08-13 03:05:50 -04:00
577e8b8102 Excluse treemacs buffer from ace-window
This allows users to jump to treemacs with ace-window, but when opening
files from treemacs with treemacs-visit-node-ace-* commands (e.g. on
oaa) it doesn't make sense to open files in the treemacs window.
2020-08-12 20:58:41 -04:00
8bb47f96d8 cli/doctor: fix native json detection 2020-08-12 16:01:33 -04:00
93636c862b Merge pull request #3706 from ymarco/evil-texx
Add evil-tex package to :lang latex
2020-08-12 15:25:42 -04:00