Commit Graph

15893 Commits

Author SHA1 Message Date
William Vaughn
76b9ab18dd notmuch: add links about sending mail 2021-05-06 22:35:17 -07:00
William Vaughn
2bf97211ff notmuch: add lieer links 2021-05-06 22:34:20 -07:00
William Vaughn
4edbe3bd65 notmuch readme: add keymaps features subheaing 2021-05-06 22:27:08 -07:00
William Vaughn
dd950f0985 add "an" to description 2021-05-06 22:25:48 -07:00
Henrik Lissner
e2a11d24fd core: minor refactors and comment revisions 2021-05-06 18:36:32 -04:00
Henrik Lissner
3b9aee6868 Strip /sudo:...@ from recent file paths
Also:
+ Refactors recentf config in general, revises/expands its code
  comments, and uses :custom to set file variable (a new convention I'm
  trying out).
+ recentf-auto-cleanup = 300 in daemon sessions, since the old strategy
  of "cleanup on kill-emacs-hook" isn't so great for daemon users.
2021-05-06 18:36:32 -04:00
Henrik Lissner
280bae0331 Eagerly trigger doom-first-* hooks early in daemon sessions
No need to lazy load as much in daemon sessions.
2021-05-06 18:36:32 -04:00
Henrik Lissner
b12a0c02b3 Bump :emacs undo
ideasman42/emacs-undo-fu@f4db4c9 -> ideasman42/emacs-undo-fu@e0ad06b
ideasman42/emacs-undo-fu-session@a038914 -> ideasman42/emacs-undo-fu-session@243d93b

Also refactors module to conform to conventions.
2021-05-06 18:36:32 -04:00
Henrik Lissner
9831642a02 Fix #4993: shorten long file names for caches
Emacs generates long file names for auto-save and backup files.
undo-fu-session and tramp are two more big offenders. This fix SHA1s
their file names so they never exceed 40 characters.

Will also affect any package that uses make-backup-file-name-1
directly (like undo-tree).
2021-05-06 18:36:32 -04:00
Henrik Lissner
a98c2ece63 Fix #4992: set-fontset-font call when unavailable
Missed a guard on a set-fontset-font call in d4dec3565's refactors.
2021-05-06 18:36:32 -04:00
Henrik Lissner
735efd0c85
Merge pull request #4986 from visika/patch-1
[docs] Add non-evil keybinding to zen
2021-05-06 16:01:14 -04:00
Henrik Lissner
26a0244f03
Merge pull request #4990 from Wetlize/patch-1
lang/emacs-lisp: Replace sym with var in +emacs-lisp-log-unsafe-local-variables-a
2021-05-06 13:06:03 -04:00
Wetlize
0a2ed4d346
lang/emacs-lisp: Replace sym with var in +emacs-lisp-log-unsafe-local-variables-a
Otherwise it will make Emacs to error with (void-variable sym) error when
checking the variable.
2021-05-06 13:04:15 +03:00
Henrik Lissner
48322af020 doom upgrade: delete straight if recipe changed
By deleting straight, the latest pinned version will be reinstalled on
the second part of the 'doom upgrade' process.

This is a clumsy fix for a catch 22 where using straight to update
straight would break due to backwards incompatibilities (see #4950).
This will do while we wait for the CLI rewrite.
2021-05-06 04:27:33 -04:00
Henrik Lissner
d4dec35658 Improve unicode, emoji, & symbol font support
+ Adds doom-emoji-fallback-font-families
+ Adds doom-symbol-fallback-font-families
+ Gives doom-unicode-font higher precedence (and sets it to nil by
  default, since Emacs defaults to symbola already).
+ Store custom face settings in psuedo theme, rather than crowding the
  user theme (which may be immortalized to custom-file, which we want to
  avoid).
+ Now, after-setting-font-hook is guaranteed to fire after *all* fonts
  are set, giving you a more reliable interface to add your own
  font(set) modifications.

More testing is needed to ensure the patched fonts our ligatures modules
don't conflict with this change.
2021-05-06 04:27:33 -04:00
Henrik Lissner
b63441387b lang/emacs-lisp: don't use risky-local-variable-p
It's hardcoded to return t for symbols that end in any of '-command',
'-frame-alist', '-function', '-functions', '-hook', '-hooks', '-form',
'-forms', '-map', '-map-alist', '-mode-alist', '-program', or
'-predicate' -- which I think is excessive next to a safety check.

I'll trust that: if the user marks X as safe, and it isn't *explicitly*
marked risky, and it destroys the universe, then it's their fault, not
mine, not Emacs'.
2021-05-06 04:27:33 -04:00
Henrik Lissner
52fba3fa60 Fix #4977: inhibit xterm-set-window-title in GUI emacs 2021-05-06 04:27:33 -04:00
Henrik Lissner
5d7526a224 doom-info: rename distro->system & add window-system 2021-05-06 04:27:33 -04:00
Henrik Lissner
45147aace8 Refactor doom-debug-mode
Store intiial value in symbol plist instead. More info in 8ec8b2b.
2021-05-06 04:27:33 -04:00
Henrik Lissner
a0c73c2975 Prevent evil-collection-calc loading too early 2021-05-06 04:27:33 -04:00
Henrik Lissner
ff64a9d106 Add doom-run-hooks
Produces more helpful (and harder-to-miss) error messages when a hook
emits an error. Also advises run-hook when doom-debug-mode is active, so
errors in hooks (generally, major mode hooks) don't quietly go
unnoticed.
2021-05-06 04:27:33 -04:00
Henrik Lissner
df10383a26 Use symbol plists instead of internal variables
More in line with Emacs' built-in practice of storing a variable's
standard-value in a symbol property of the same name, with the added
benefit of less global state.
2021-05-06 04:27:33 -04:00
Henrik Lissner
464ce5ec02 Bump :lang java
emacs-lsp/lsp-java@542aaf1 -> emacs-lsp/lsp-java@9685334
mopemope/meghanada-emacs@1e41f7f -> mopemope/meghanada-emacs@6c57e8a

Fixes #4979: corrected download url in mopemope/meghanada-emacs#177
2021-05-06 04:27:33 -04:00
Henrik Lissner
ed4b1ef887 Bump :email
https://git.notmuchmail.org/git/notmuch@45193ba -> https://git.notmuchmail.org/git/notmuch@63413a5
jeremy-compostella/org-msg@557d490 -> jeremy-compostella/org-msg@b0765b2
org-mime/org-mime@9bb6351 -> org-mime/org-mime@eb21c02
wanderlust/flim@068b35e -> wanderlust/flim@ddf5b6e
wanderlust/semi@f279ebe -> wanderlust/semi@20d7530
wanderlust/wanderlust@5db307a -> wanderlust/wanderlust@6e189fc

Closes #4976
2021-05-06 04:27:32 -04:00
Henrik Lissner
29059bacbe Remove :shadow keyword from package!
Is redundant with the :includes keyword in straight.el recipes.
2021-05-06 04:27:32 -04:00
Henrik Lissner
f4382b45fd Remove redundant mode from so-long-minor-modes
Already in its default value.
2021-05-06 04:27:32 -04:00
Henrik Lissner
623127597f Disable minibuffer error silencer hack in Emacs 27+
In older versions of Emacs (26.3 and below), the minibuffer would
replace the whole minibuffer's contents just to display error messages.
This was very frustrating for mundane errors, like the "text is
read-only" error you get when you press backspace at BOL.

Later versions of Emacs now display errors at the end of the minibuffer,
so this hack will no longer be needed when we drop 26.x support later
this year.
2021-05-06 04:27:32 -04:00
Steven vanZyl
1197d640f1
Defer adding to LSP ignore list
It was attempting to add to the LSP list too early and erroring,
this adds an after! call to make it wait
2021-05-05 12:33:33 -04:00
Mariano Mollo
bfdd76f081
[docs] Add non-evil keybinding to zen 2021-05-05 17:16:53 +02:00
Steven vanZyl
7955234308 Improve Elixir module keymaps
Added more major-mode keymappings to expose more of the functionality of
Alchemist.el to the user and generally make the Elixir mode a lot more
useful feeling.
2021-05-04 18:15:42 -04:00
Henrik Lissner
b65d8ae3ac
Merge pull request #4978 from Grazfather/patch-1
Add fennel-mode hook to lispy
2021-05-04 16:37:05 -04:00
Grazfather
7287491906
Update lispy readme 2021-05-04 16:24:25 -04:00
Grazfather
f8d362638e
Add lispy-mode hook to fennel-mode 2021-05-04 16:22:55 -04:00
Henrik Lissner
eb806477db
Merge pull request #4975 from rgrinberg/prodigy-mode
Set initial state in prodigy to normal
2021-05-03 19:12:46 -04:00
Rudi Grinberg
0e9ae176be Set initial state in prodigy to normal
This allows using evil-collection's bindings for this mode.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-05-03 16:12:17 -07:00
Gerry Agbobada
dbd49922b8
:input layout: fix calls of +layout-bepo-rotate-keymaps pt.2 (#4973)
* :input layout: fix calls of +layout-bepo-rotate-keymaps pt.2
2021-05-03 14:24:54 -04:00
Henrik Lissner
e68c83fd4e Remove unneeded entry in org-babel-tangle-lang-exts
Also the source of a regression (causing void-variable
org-babel-tangle-lang-exts errors).

Fixes #4970
Closes #4971
2021-05-03 13:27:20 -04:00
Henrik Lissner
a7df1f76a4 Bump :lang rust
brotzeit/rustic@d97ec86 -> brotzeit/rustic@ed68fd3

Includes minor refactors
2021-05-03 00:17:16 -04:00
Henrik Lissner
21b8af1ce1 Rewrite doom/reload-theme to reload active themes
Now reloads all active themes, rather than just the primary one.
2021-05-03 00:17:16 -04:00
Henrik Lissner
71beafd723
Merge pull request #4967 from RBckmnn/latex_okular
Prevent okular from stealing focus
2021-05-02 15:46:40 -04:00
Ralf Beckmann
275f1a33f3 Prevent okular from stealing focus
Pass the "noraise" flag to okular if it is used as a Latex viewer. If an
okular instance is already displaying the Latex compilation result,
subsequent invocations won't make okular steal focus from Emacs.
2021-05-02 21:33:20 +02:00
Henrik Lissner
a8871abda0
Merge pull request #4917 from nackjicholson/develop
rss: +org flag control installation of elfeed-org
2021-05-01 19:56:27 -04:00
Henrik Lissner
08cbe7da62
Merge pull request #4962 from marienz/fix-local
Fix making doom-first-input-hook permanent-local
2021-05-01 13:21:44 -04:00
Henrik Lissner
b687acbd4a
Merge pull request #4963 from futile/patch-1
README.org: Add info about vterm in NixOS
2021-05-01 13:20:33 -04:00
Henrik Lissner
678b55a9b2
Merge pull request #4958 from gagbo/patch-7
:input layout: fix calls of +layout-bepo-rotate-keymaps
2021-05-01 13:04:32 -04:00
Felix Rath
eddc7db22c
README.org: Add info about vterm in NixOS
I hit a problem with `epkgs.vterm` from `nixos-20.09` being too old and thus missing `vterm-goto-char` which is present in newer versions of `epkgs.vterm`.

I added a note to clear this up for future users, and added two other changes/clarifications as well:

* Changed `epkgs.emacs-libvterm` -> `epkgs.vterm`, as the old name is deprecated.
* Added note that `epkgs.vterm` already contains a `vterm-module.so`
* Added note that the version of `emacs` needs to be recent enough and that otherwise bugs might occur.
2021-05-01 15:57:24 +02:00
Marien Zwart
76523c401f Fix making doom-first-input-hook permanent-local
We were making the value of doom-first-input-hook permanent-local
instead of doom-first-input-hook itself. That value is normally nil at
this point, which seems to be harmless. Reloading core.el from a script
(while doom-first-input-hook is not empty) results in an error.

Fix it by adding the missing quote present in the other calls.
2021-05-01 23:49:10 +10:00
Jordan King
d05d1e7e93 Bump ddskk
skk-dev/ddskk@cec9936 -> skk-dev/ddskk@7a7e1ec

Bump ddskk to include fix for skk-dev/ddskk#190
2021-05-01 11:10:16 +01:00
Gerry Agbobada
ab127b9766
:input layout: fix calls of +layout-bepo-rotate-keymaps
After the refactor, the main function to call to fix small inconsistencies went from a raw evil-collection-setup-hook
 function to a proper helper function with a more logical signature. 

This fixes the calls to the new function, so that the custom fixes are properly applied
2021-05-01 11:44:47 +02:00
Henrik Lissner
8bb54a95f6 Add +org-present-hide-first-heading option
Gives the user the option to hide the top-level heading when presenting,
and defaults it to nil, since that is org-tree-slide-mode's default
behavior.

Also reduces the default text-scale for org-tree-slide-mode from 6 -> 5.

Fixes #2182
Closes #4907
2021-05-01 03:02:52 -04:00