Commit graph

17091 commits

Author SHA1 Message Date
Artem Smaznov
68c5336972
fix(evil): disable evil-snipe in dired (#5417)
Fix #3359
2021-10-07 03:11:03 +02:00
Henrik Lissner
1ebac6f798 fix: fonts not scaling in childframes
On doom/increase-font-size and doom/decrease-font-size.

Fix #5591
2021-10-06 23:38:11 +02:00
Henrik Lissner
4549b275f2 fix(format): format-all-mode not activating
Also makes format-all log more when doom-debug-mode is on.

Fix #5589
2021-10-06 13:58:16 +02:00
Henrik Lissner
c0390c86d0 bump: :completion company
company-mode/company-mode@1887974e7a -> company-mode/company-mode@4c08ef4686
2021-10-06 11:40:50 +02:00
Henrik Lissner
ee890064f8 bump: :editor evil
emacs-evil/evil-collection@8a75a03656 -> emacs-evil/evil-collection@bc5a02ed85
emacs-evil/evil@82e5becae2 -> emacs-evil/evil@d8f5732708

Improves first-load time for consult commands, thanks to
emacs-evil/evil-collection@03d80be41b.

Ref emacs-evil/evil-collection#539
Ref emacs-evil/evil-collection@03d80be41b
2021-10-06 01:30:45 +02:00
Henrik Lissner
e3d4e05fbd bump: :lang org
bastibe/org-journal@9757996ca0 -> bastibe/org-journal@71e8b10088
emacs-straight/org@888aaa97c0 -> https://git.savannah.gnu.org/git/emacs/org-mode.git@cc2490a70619
hakimel/reveal.js@abe9abbed7 -> hakimel/reveal.js@05e57dea66
integral-dw/org-superstar-mode@2cd3f1e74b -> integral-dw/org-superstar-mode@03be6c0a30
kaushalmodi/ox-hugo@1b8f2627cd -> kaushalmodi/ox-hugo@f0357fa744
oer/org-re-reveal@e1bb2213d6 -> oer/org-re-reveal@36d0973c6c
org-roam/org-roam@1795039ab9 -> org-roam/org-roam@54d17cc50f
takaxp/org-tree-slide@9d2ba1df45 -> takaxp/org-tree-slide@571ff33308

Install org from savannah repo, so we have access to 9.5+.
2021-10-06 01:30:45 +02:00
Henrik Lissner
704957437c revert: Ignore unsafe local variables, but log them
This behavior was too non-standard and invited more confusion than it
helped.

Ref #4070
Revert 5e7864838a
2021-10-06 01:30:45 +02:00
Henrik Lissner
0b07264619 dev(ci): allow capitalization in revert commits
In case you're reverting an old commit, from before we adopted our git
conventions.
2021-10-06 01:30:45 +02:00
Henrik Lissner
473eda795a fix(notmuch): missing notmuch-version.el
Notmuch, like org, uses git describe to build a version string variable
at install time, but Doom preforms shallow clones of its packages, where
git describe does not work.

Notmuch is one of our bigger packages and the variable isn't essential
for normal use, so I've opted to build notmuch-version.el by hand.  It
lacks the commit offset, but it has enough information to work with.

Fix #5581
2021-10-06 01:30:45 +02:00
Henrik Lissner
45c759d7d7 fix(evil): evil-join fails to join commented lines
Fix #5558
2021-10-05 02:33:15 +02:00
Carlos Pita
4903db036d tweak(default): improve smartparens vanilla bindings
Make bindings better conform to traditional sexp navigation ones.

Fix #5575
2021-10-05 02:30:51 +02:00
TEC
3ced11e7cb fix(mu4e): make alerts work again
At some point in the original PR alerts stopped working. I've finally
tracked down why and found three components to the problem:
- I'm calling `start-process` incorrectly
- `truncate-string-to-width` is called on `nil` when no from name is
  given
- mu4e-alert uses :docid to check for duplicates, which is not provided
  in mu 1.6, and so :message-id must be used instead.
2021-10-05 02:30:36 +02:00
Itai Y. Efrat
f0d0ce65ed fix(dired): ranger-travel bug
Overrides ranger-travel to have better mode detection for which
completion framework to use, and default to emacs built-ins instead of
ido.

In theory this should be a temporary fix until ralesi/ranger.el#236 gets
merged, but the maintenance status of ranger.el is not clear.

Fix #5509
Ref ralesi/ranger.el#236
2021-10-05 02:30:23 +02:00
Daanturo
f794e8b58a feat(rotate-text): add enable & disable 2021-10-05 02:29:59 +02:00
Dominik Schrempf
e6a4effdf6 refactor(pass): make duplicate functions obsolete
The following functions are affected: `+pass/edit-entry`,
`+pass/copy-field`, `+pass/copy-secret`, `+pass/browse-url`. All of
these functions have counterparts in `password-store`. Additionally, the
functions in password store add git commit messages when files are
changed.

Questions:
- Should we also deprecate the `ivy` and `consult` versions? The
`password-store` versions work perfectly well here with `vertico` (not
sure about `ivy` though).
2021-10-05 02:27:30 +02:00
Henrik Lissner
7bf918f8c6
merge: pull request #5444 from fosskers/colin/parinfer
Improve `:editor parinfer`
2021-10-05 02:27:05 +02:00
Henrik Lissner
5678a837dd fix(cli): void-variable comp-native-version-dir
There weren't enough checks that we were truly in a native-comp build of
Emacs. Not the most elegant solution, but the CLI rewrite handles this
far better so it'll do for now.

Fix #5131
2021-10-05 02:01:15 +02:00
Henrik Lissner
62c25afd0f bump: :lang clojure
clojure-emacs/cider@d8fd5794c9 -> clojure-emacs/cider@2b8bde3580
clojure-emacs/clj-refactor.el@466822ff6f -> clojure-emacs/clj-refactor.el@23743432c3
clojure-emacs/parseclj@HEAD -> clojure-emacs/parseclj@fcebf65075
clojure-emacs/parseedn@HEAD -> clojure-emacs/parseedn@b00eb42a1c
https://mumble.net/~campbell/git/paredit.git@HEAD -> emacsmirror/paredit@8330a41e81

Fix #5577
Ref #5537
2021-10-05 02:01:15 +02:00
Henrik Lissner
5541ee1c68 feat(cli): add -l/--load switch
Post-rewrite bin/doom will accept multiple -l's, but for now will only
accept one. This change was made to prepare for the documentation
generator, which will live outside the repo.
2021-10-05 02:01:15 +02:00
Ethan Leba
0ca2e791f7 feat(org): add binding for org-clone-subtree-with-time-shift 2021-10-03 20:40:55 +02:00
Henrik Lissner
c0d988fe0d fix(org): recognize python-shell-interpreter-args
Also does not tamber with org-babel-python-command if the user has
changed it.

Fix #5569
2021-10-03 20:40:00 +02:00
Henrik Lissner
ea404dfa45 fix(cli): rebuilding packages on every 'doom sync' 2021-10-03 19:24:46 +02:00
Itai Y. Efrat
e8df74f09b bump: :ui doom
hlissner/emacs-doom-themes@65fb964f36 -> hlissner/emacs-doom-themes@e716ddbb88
hlissner/emacs-solaire-mode@030964f7c6 -> hlissner/emacs-solaire-mode@46408f4a10
2021-10-03 13:33:36 +02:00
Henrik Lissner
7f54afef55
merge: pull request #5550 from tecosaur/org-msg-quick-fixes
fix(mu4e): minor errors with org-msg LaTeX eqns
2021-10-03 12:51:12 +02:00
Hugo Nobrega
f394d9f65b feat(notmuch): allow notmuch module without (:ui workspaces)
Remove the dependency of (:ui workspaces) from the notmuch module
2021-10-03 12:50:36 +02:00
Henrik Lissner
645f5eae50
merge: pull request #5523 from jeetelongname/elfeed-improvements
improve `:app rss` module
2021-10-03 12:49:40 +02:00
TEC
86a69ecf62 tweak(mu4e): change org-msg ch units to em
Because Outlook interprets 90ch as 90px ... nice job Outlook.

I also adjusted text size and padding with code snippets while we're
tweaking.

Close #5439
2021-10-03 12:49:04 +02:00
Colin Woodbury
b3d1c72b6e docs(common-lisp): add a README 2021-10-03 12:48:41 +02:00
Tuomo Virolainen
7b325e65f0 docs(javascript): fix tide-rename-symbol binding 2021-10-03 12:47:39 +02:00
Kevin Rauscher
abd07c2793 fix(ligatures): update ligature table for pragmata 0.829 2021-10-03 12:47:12 +02:00
Henrik Lissner
3c79078634 fix(javascript): emmet-expand-jsx-className? = t
So emmet expands class snippets to className="..." instead of
class="...".

Fix #5556
2021-10-03 12:23:42 +02:00
Henrik Lissner
541cd1a58d tweak(lsp): lsp-ui-doc-{delay,max-width}
- Wider lsp-ui-doc frames.
- Slightly longer delay before lsp-ui-doc appears (was too naggy
  before).
2021-10-03 12:08:42 +02:00
Henrik Lissner
328a145ffd fix(cli): void-variable comp-native-version-dir on 'doom purge'
This error would trigger on Emacs 28 (without native-comp).

Fix #5131
2021-10-03 12:08:42 +02:00
TEC
9e8e1d93ea
nit(mu4e): correct indentation 2021-10-02 16:04:06 +08:00
TEC
090c7b9afa
fix(mu4e): minor errors with org-msg LaTeX eqns
A typo and a missing "*" break the creation and insertion of LaTeX
images.

Close #5416
2021-10-02 16:01:34 +08:00
Henrik Lissner
d13816ce3e feat(lib): extend function deftypes in letf! macro
This adds support for two new definition types to the left! convenience
macro: defun* and defadvice.

First, defun* is for defining recursive, local functions (uses
cl-labels under the hood). e.g.

  (letf! (defun* triangle (number)
           (cond ((<= number 0) 0)
                 ((= number 1) 1)
                 ((> number 1)
                  (+ number (triangle (1- number))))))
    ...)

Second, defadvice is for defining temporary advice (which has a global
effect; it can later be improved to limit scope by redefining things
with cl-letf). e.g.

  (letf! (defadvice my-fixed-triangle (fn number)
           :around #'triangle
           (funcall fn (1+ number)))
    ...)
2021-10-01 19:30:56 +02:00
Henrik Lissner
0fe6cb33be docs: add hacktoberfest announcement 2021-10-01 18:20:23 +02:00
Henrik Lissner
0381c7868e fix: doom/reload not restoring initial envvars
'doom/reload' should and cannot regenerate the user's envvar file,
because it's not typically running in your shell, but it should reload
your existing envvar file.

Fix #5399
Ref #5344
2021-10-01 18:20:16 +02:00
Henrik Lissner
b58fad7eee fix: unresponsive which-key C-h bindings
Since the which-key window didn't have focus, its C-h keybinds were
unpredictably unresponsive, making next/previous-page navigation et co
finnicky. This commit restores the needed focus.

Ref https://www.reddit.com/r/emacs/comments/pwr7va/comment/heydq4g
2021-10-01 11:15:17 +02:00
Henrik Lissner
54b4e83f95 tweak(ein): add popup rule to ignore ein buffers 2021-09-30 15:07:21 +02:00
Henrik Lissner
fb8d540422 refactor!(beancount): disable explicit currency
BREAKING CHANGE: If `beancount-electric-currency` is non-nil, the
currency is appended to transactions, falling back to the ledger's
"operating_currency" option, even in cases where a currency was not
explicitly needed (e.g. only one currency specified for an account).
After receiving input from beancount-mode's author, I reconsidered its
utility and decided to remove it.

Ref beancount/beancount-mode#19
2021-09-30 15:07:21 +02:00
Henrik Lissner
3ad9e39559 fix(lib): doom/reload-theme not reloading active theme
Rather than reloading whatever `doom-theme` is set to, reload the
currently active theme(s). Although `load-theme` is advised to change
the value of `doom-theme`, not all theme switching commands use
`load-theme` (e.g. `consult-theme`).

Fix #5539
2021-09-30 15:06:57 +02:00
Henrik Lissner
49c94dc78c docs(ci): document doom-cli-commit-rules 2021-09-30 15:06:34 +02:00
Henrik Lissner
e9b13393eb dev(ci): fix commit linter receiving empty summary
split-string is not side-effect free. It changes the match data (it uses
regexp to split strings).
2021-09-30 15:06:34 +02:00
Henrik Lissner
fb34b5e24c tweak(lsp): lsp-ui-doc-enable = t
This was temporarily disabled due to tremendous slowness on PGTK
clients, which was hopefully addressed in 731ae806e, so we can renable
this.

Fix #5533
2021-09-30 15:06:34 +02:00
Henrik Lissner
3d302c3304 bump: :lang beancount
beancount/beancount-mode@dbafe6a73d -> beancount/beancount-mode@ea8257881b

Some of our local changes were upstreamed.

Ref beancount/beancount-mode#17
Ref beancount/beancount-mode#18
2021-09-30 15:06:34 +02:00
Henrik Lissner
d29a2fd865 fix(notmuch): messages open in tiny popup
We couldn't write a popup rule for message buffers because they were
named *X*, where X was the email's subject line. There was no distinct
pattern to target via regex, and the buffer is display before its mode
is initialized, so a more sophisticated popup rule wouldn't work either.

By renaming message buffers *subject:X*, we now have a chance to target
it.
2021-09-30 01:26:25 +02:00
Colin Woodbury
fc79256de5
fix(parinfer): robust check for shared Rust object
This helps other platforms like Nix that put shared objects in
interesting places.
2021-09-29 15:03:36 -07:00
Colin Woodbury
8377046e5a
docs(parinfer): update README to latest template 2021-09-29 15:03:36 -07:00
Colin Woodbury
be137e04b0
refactor!(parinfer): drop support for parinfer-mode
BREAKING CHANGE: It is no longer maintained, and its author directly
recommends `parinfer-rust-mode`.

Fix #4323
2021-09-29 15:03:36 -07:00