Commit graph

16901 commits

Author SHA1 Message Date
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
Jeetaditya Chatterjee
2476c3e780 feat(rss): add elfeed-goodies package 2021-09-27 14:43:08 +01:00
Jeetaditya Chatterjee
279a897862 feat(rss): add +rss/copy-link command
Add the copy link function and bind it to `gc` as a way to draw similar
comparisons to `go` which takes the entry link and sends it to the
browser
2021-09-27 14:43:08 +01:00
Henrik Lissner
c92937f890 fix(org): invisible inline images in org-tree-slide-mode
Our method of hiding meta lines (like '#+attr_org: ...') was too
effective; it ended up hiding the following image as well!

Fix #5524
2021-09-27 13:37:41 +02:00
Henrik Lissner
5f1a26290c fix(org): restore frame layout when disabling org-tree-slide-mode 2021-09-27 13:35:11 +02:00
Henrik Lissner
1419b9dc41 feat: add doom/add-directory-as-project command
Will register any arbitrary directory as a projectile project, adding a
.project file to it if necessary.
2021-09-26 14:35:53 +02:00
Henrik Lissner
002711ff9b dev(ci): add pre-push git hook
To complain about lingering fixup/squash commits.
2021-09-26 14:35:53 +02:00
Henrik Lissner
dc3eb8a7cf dev(ci): ignore fixup!/squash!/wip commits
Otherwise the commit linter makes rebasing impossible without
--no-verify, or in magit if the git hooks are installed.
2021-09-26 14:35:53 +02:00
Henrik Lissner
9654179fca dev: rename bump issue form
So it's sorted at the bottom of the issue form list.
2021-09-26 14:35:53 +02:00
Henrik Lissner
b1336e18ce fix(tabs): error while centaur-tabs-mode is off
The hooks on `+doom-dashboard-mode-hook` and `+popup-buffer-mode-hook`
will throw an error if centaur-tabs-mode is disabled, which may be the
case if the user disables it interactively, post-startup.

Fix #5196
2021-09-26 12:07:35 +02:00
Henrik Lissner
2084eddf5f dev: remove 'locked' label
Applying a label to indicate auto-locked issues is unnecessary since
'is:locked' and 'is:unlocked' are valid search filters.
2021-09-26 11:38:29 +02:00
Henrik Lissner
80f5310cbb dev: remove FUNDING.yml
Moved to github.com/hlissner/.github/FUNDING.yml

Ref #2703
2021-09-25 23:55:40 +02:00
Henrik Lissner
ed43b8e36f tweak(org): org-startup-folded = nil
'nil' behaves the same as 'showeverything' in every other way, except it
respects visibility options (like 'hideblocks').
2021-09-25 23:54:44 +02:00
Henrik Lissner
d210b983d4 tweak(org): unset org-list-demote-modify-bullet
Imposing different list bullets per-level was a poor and jarring
default.
2021-09-25 00:55:19 +02:00
Henrik Lissner
206063f27d tweak(org): org-imenu-depth = 6
Headings beyond 6 are excessive in almost any org document, and only
muddy (and slow down) imenu search results, so I'm reducing it to the
number of available HTML headings.
2021-09-25 00:54:13 +02:00
Henrik Lissner
8f69474e56 fix(treemacs): remove defunct ace-window advice
This advise has been defunct since f6de662.

Fix #5516
Ref f6de662011
2021-09-24 23:41:42 +02:00
Li Yang
4c3ea13818
fix(common-lisp): recognize multi-argument inferior-lisp-program (#5515)
For example: 'ros -Q run'

Co-authored-by: liyang <7325560@qq.com>
2021-09-24 12:42:45 +02:00
Henrik Lissner
2a0aa3d15b dev(ci): fix scope checker in commit linter
- Linter wasn't failing on any invalid scopes due to logic error.
- Linter was failing to recognize module categories as valid
  scopes (e.g. :lang, :ui, etc).
- Adds 'ci' and 'lib' as valid scopes.
2021-09-24 12:37:50 +02:00
Henrik Lissner
c9ac6a9cbf dev(ci): revise stalebot messages 2021-09-24 12:37:50 +02:00
Itai Y. Efrat
8b3b39532d fix(vertico): add +vertico/find-file-in stopgap
Temporarily disable embark actions (and as a result, marginalia
annotations) for +vertico/find-file-in and functions that use it, since
because currently the embark actions don't inherit the intended
default-directory, embark actions might run unintentional destructive
operations if there are files with the same name in the
default-directory and the directory +vertico/find-file-in is run on.

Ref #5494
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
f50bfdc703 bump: :completion vertico
minad/consult@a07ca38331 -> minad/consult@dc6e455861
minad/vertico@81a4b35f8d -> minad/vertico@0df75c0bbc
oantolin/embark@3a90a3e3c6 -> oantolin/embark@1492aefc00
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
173e0f3cc0 fix(notmuch): notmuch-read-tag-changes error
Due to notmuch abusing the completing-read-multiple api,
notmuch-read-tags-changes errors out without this fix. A bug report has
been filed about this upstream, so hopefully this is a strictly
temporary measure.

Ref https://yhetil.org/notmuch/87h7efuv6i.fsf@tethera.net/T/
Ref minad/vertico#119
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
34f76c8a75 fix(vertico): +vertico/switch-workspace-buffer
- fix a paren error in the function that caused the buffers to be sorted
  alphabetically and not by recency
- refactor the workspace buffer sources to use consult--buffer-query,
  that way we get niceties like the current buffer being last

Fix #5366
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
dda5f558b2 fix(vertico): adapt to targets changing to plists
embark targets changed internally to plists a while back. This didn't
really seem to break anything but it's best to be up to date with the
upstream representation.
2021-09-23 14:55:58 +02:00
Sven Fischer
595a5e665c tweak(web): add nxml mode to LSP enabled modes
Since lsp-mode supports XML (see
https://emacs-lsp.github.io/lsp-mode/page/lsp-xml/), it makes sense to
add nxml-mode to the list of automatically enabled lsp mode clients.
2021-09-23 11:41:49 +02:00
Sheng Yang
07f2d17a11 feat(modeline): add pdf pages to +light modeline 2021-09-23 11:41:09 +02:00
TEC
9fa122cc31 feat(mu4e): prompt for subject when absent
Give the user a chance to set the subject when about to send a message
without a subject line.
2021-09-23 11:40:44 +02:00
TEC
4373109721 feat(mu4e): more precise attachment detection rx 2021-09-23 11:40:44 +02:00
Itai Y. Efrat
74aae48944 feat(default): add .emacs.d search on <leader> s e 2021-09-23 11:40:04 +02:00