Commit graph

9815 commits

Author SHA1 Message Date
Henrik Lissner
075e66f4d7 Fix #4991: writeroom-mode + mixed-pitch not remapping fonts
mixed-pitch-mode was toggled *before* text-scale-mode was.  They both
preform face remapping, but use the same strategy to accomplish it, so
the less complex mode should go first. In this case, that's text-scale.
2021-05-07 02:32:51 -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
735efd0c85
Merge pull request #4986 from visika/patch-1
[docs] Add non-evil keybinding to zen
2021-05-06 16:01:14 -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
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
a0c73c2975 Prevent evil-collection-calc loading too early 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
Mariano Mollo
bfdd76f081
[docs] Add non-evil keybinding to zen 2021-05-05 17:16:53 +02: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
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
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
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
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
Henrik Lissner
b903930f2d ui/doom-dashboard: only affect buffer-local fringe-indicator-alist 2021-05-01 02:46:08 -04:00
Henrik Lissner
09be988c74 Add :input (layout +azerty) to docs 2021-05-01 02:28:44 -04:00
Henrik Lissner
a80f13f626 Prevent extra window after +org/export-to-clipboard
org-export-to-buffer opens a preview window. This command doesn't need
that, so we inhibit it.

Closes #4911
2021-05-01 02:28:44 -04:00
Henrik Lissner
e85041ae86
Merge pull request #4955 from Percee/azerty
Add azerty layout
2021-05-01 02:23:26 -04:00
Mathieu Merino
4c53ccac5b input/layout: initial azerty commit 2021-05-01 08:20:34 +02:00
Henrik Lissner
0b2415e8bf
Merge pull request #4890 from hugonobrega/develop
fix and add keybinds in :lang scheme, with descriptions
2021-05-01 02:02:32 -04:00
Henrik Lissner
4ad1c6a494
Merge pull request #4926 from Janfel/fix-emacs-lisp-module-at-point
Reimplement +emacs-lisp--module-at-point to fix #4896
2021-05-01 01:42:38 -04:00
Henrik Lissner
a974a7c89d
Merge pull request #4938 from jmhammond/develop
lang/latex: Remove the -g background flag on Skim.app to foreground the viewer
2021-05-01 01:41:10 -04:00
Henrik Lissner
a7e01e0574
Merge pull request #4941 from HyunggyuJang/fix/org-pretty-cookie
lang/org: cleanup `+pretty` feature, mostly just adding `if` cookie
2021-05-01 01:40:26 -04:00
Henrik Lissner
8a73a52534 Bump :ui
Alexander-Miller/treemacs@9eaef27 -> Alexander-Miller/treemacs@f132498
dimitri/switch-window@5bba780 -> dimitri/switch-window@2801d9b
ema2159/centaur-tabs@df97209 -> ema2159/centaur-tabs@51f28d0
emacs-lsp/lsp-treemacs@4cfb46d -> emacs-lsp/lsp-treemacs@192c8f5
jabranham/mixed-pitch@d5f64b9 -> jabranham/mixed-pitch@519e05f
seagle0128/doom-modeline@00bc89b -> seagle0128/doom-modeline@e898c0d
2021-05-01 01:32:04 -04:00
Henrik Lissner
59a8856ecf input/layout: remove redundancies
Some forms snuck into the last commit.
2021-05-01 01:28:20 -04:00
Henrik Lissner
485381f6d1 input/layout: major refactor
To conform the module to Doom's naming and style conventions.

This introduces two breaking changes:

+ doom-bepo-cr-rotation-style was renamed +layout-bepo-cr-rotation-style
+ Replaces the doom-bepo- prefix for this module's bepo library with
  +layout-bepo-

And the following fixes:

+ Corrects the file path in file header comments.
+ input/layout/autoload/bepo.el is no longer compiled/indexed if +bepo
  isn't activated.
2021-05-01 01:25:42 -04:00
Henrik Lissner
4afdd4f788 Bump :app
jorgenschaefer/circe@e67e2d1 -> jorgenschaefer/circe@2f70aa2
kidd/org-gcal.el@d38acda -> kidd/org-gcal.el@4c2616a
tecosaur/emacs-everywhere@01e031e -> tecosaur/emacs-everywhere@64ba2e3
2021-05-01 01:25:42 -04:00
Henrik Lissner
89775f38d5 app/calendar: remove org-gcal--notify hack
This hack was PRed 4+ years ago. The package has since been improved and
the original issue it tackled is very likely long gone (and is now
causing wrong-number-of-arguments errors).

Fixes kidd/org-gcal.el#151
2021-05-01 01:25:42 -04:00
Martin Marshall
d6b0c019d9 Add Info-mode to list of ligature-excluded modes. 2021-04-30 21:01:59 -04:00
Henrik Lissner
ecdf2b0b08 Fix +lookup/file not opening URLs in browser 2021-04-30 01:07:00 -04:00
Henrik Lissner
437c33a8b2 Fix #4949: evil-want-visual-char-semi-exclusive = nil
This setting is _old_. Why it was set has been long forgotten, so I will
revert it to its default value of nil (which also fixes #4949).
2021-04-29 18:18:17 -04:00
Henrik Lissner
1b132d2e50 lang/org: add ob-elixir 2021-04-29 18:18:17 -04:00
Henrik Lissner
259cf83ef1 Enhance FFAP lookup backend
gf (+lookup/file) has been changed to:

+ Use the active selection instead of the filename-at-point when
  searching for a file (as requested in #4942).
+ Pre-fill the FFAP prompt with the thing at point if no obvious
  filepath can be guessed from it (via ffap-alist).
+ Offer to search the current project for the thing-at-point (if
  counsel-file-jump is available).
+ Fall back to a standard ffap prompt if all else fails.

I've also reversed te order of file lookup backends so that our FFAP
backend is treated as a never-failing last resort (also because the
bug-reference backend is known to fail gracefully, so we can trust it to
run first).

Closes #4942
2021-04-29 17:24:40 -04:00
Henrik Lissner
3a4024e790
Merge pull request #4943 from mangkoran/develop
Bump :lang markdown
2021-04-29 13:48:27 -04:00
Henrik Lissner
e8319e4f61
Merge pull request #4912 from 5t111111/bump-lsp-sourcekit
Bump :lang swift
2021-04-29 13:46:00 -04:00
Henrik Lissner
ccf6f0b53d Log unsafe eval forms in file/dir local variables 2021-04-29 13:25:48 -04:00
Henrik Lissner
9d643b14ed Revise comments 2021-04-29 13:25:48 -04:00
Afiq Nazrie
90c41564c4 Bump :lang markdown
051734091a -> ac9ea26b94
98d566db76 -> 28552059c4
2021-04-29 00:07:22 +08:00
Hynggyu Jang
ec3132bbc4 lang/org: cleanup +pretty feature, mostly about if cookie
Add `if` cookie so that it doesn't get compiled by `doom compile`.
2021-04-28 09:56:14 +09:00