Commit graph

16879 commits

Author SHA1 Message Date
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
Colin Woodbury
c1ecbb7503
fix(parinfer): unhog binding of SPC m m
This was previously clobbering the underlying binding to the ubiquitous
`macrostep-expand` function in Elisp buffers.
2021-09-29 15:03:32 -07:00
Kirill A. Korinsky
db51c6be88
bump: :tools magit
magit/forge@bae6a527a7 -> magit/forge@22f905c4e8

Fix magit/forge#382
2021-09-29 20:09:47 +02:00
Kirill A. Korinsky
79ebefa154
bump: :tools magit
magit/magit@1e40d00217 -> magit/magit@f53148a569
magit/forge@f97bc47e9e -> magit/forge@483baae56d

Fix magit/forge#382
Fix #5530
2021-09-29 18:39:25 +02:00
Henrik Lissner
fbfa144347 docs: update doom-theme variable docstring
This variable no longer accepts 'default to load no theme. Set it to nil
instead.

Ref #5535
2021-09-29 18:34:21 +02:00
Henrik Lissner
1cbd1e14e1 dev(ci): fix commit hash length linter
- Now counts and reports all commit references that aren't the correct
  length, not just the first.
- Now reports all incorrect references, not just the first on each line.
2021-09-29 18:26:10 +02:00
Henrik Lissner
2f100fef04 fix(workspaces): persist magit-status buffers
Fix #3558
Co-authored-by: Mikhail Levchenko <Mishkun@users.noreply.github.com>
2021-09-29 17:59:51 +02:00
Henrik Lissner
da24d7d47d bump: :ui modeline
seagle0128/doom-modeline@ef78fe07cd -> seagle0128/doom-modeline@ffedb34800

Fixes void-variable: flymake--backend-state error on latest commits of
Emacs 28.
2021-09-29 17:57:25 +02:00
Henrik Lissner
731ae806ea perf: pgtk-wait-for-event-timeout = 0.001
Thise should reduce the artificial latency added to window manager
operations (like calls to some of Emacs' frame API, e.g.
make-frame-invisible) on the PGTK build of Emacs. This should mitigate
latency issues with childframes in general and packages that use them,
e.g. lsp-ui and company-box.

There's also a small chance 0.001 is much too low, and may cause
artefacting on especially slow hardware. More testing is needed.
2021-09-29 17:50:30 +02:00
Henrik Lissner
3179c2a744 tweak(org): org-clock-history-length = 20
The default value of 5 is too conservative. 20 seems more reasonable,
without being overwhelming.
2021-09-28 22:42:29 +02:00
Henrik Lissner
cdb59b0a3d fix(lookup): wordnik dict backend returning nothing
Ref abo-abo/define-word#31
2021-09-27 21:58:18 +02:00
Henrik Lissner
5a8af71b0b refactor(org): remove unused overlay cleanup code
No longer used since c92937f89.

Ref c92937f890
Ref #5524
2021-09-27 21:57:11 +02:00
Jeetaditya Chatterjee
254d697854 docs(rss): update readme
- mention `elfeed-goodies` in plugin list
- add `g c` binding to keybind table
2021-09-27 14:43:08 +01:00