Commit graph

16584 commits

Author SHA1 Message Date
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
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
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
Itai Y. Efrat
7933e54542 refactor!(:term): toggle commands now always hide
BREAKING CHANGE: previously, <leader> o t commands would only hide the
terminal popup if it was focused. If not, they would move the focus to
the terminal window. This is unintuitive to the "toggle" description,
and arguably less useful, since refocusing to the terminal can be easily
done with regular window refocus commands. Therefore, <leader> o t now
just hides the terminal popup.

Fix #3374
2021-09-23 11:39:36 +02:00
Hyunggyu Jang
7274f73500 fix(notmuch): window is not a valid window error on sync end
Notmuch sync process is done asynchronously, but if the user switch to
other buffer before update process, it complains like

```
error in process sentinel: #<window 98> is not a valid window
```

This commit simplifies cleanup process after mail syncing, and still
maintain its functionality.
2021-09-23 11:37:59 +02:00
Colin Woodbury
c3d237c3f5 fix(emacs-lisp): quiet doc lints in org src blocks
Opening an Org src block with `SPC m '` creates a minibuffer with no
associated file name, hence the check for `buffer-file-name`.
2021-09-23 11:37:18 +02:00
Sam Hedin
771b7147c9
revert: "Add set -euo pipefail to sh-mode file template"
Revert ce2fee138a
Close #5428
2021-09-23 11:36:09 +02:00
Noah Snelson
dc9e87f6d2
bump: :lang php
OVYA/php-cs-fixer@cc9a3624dc -> OVYA/php-cs-fixer@7e12a1af5d

Custom `php-cs-fixer` binaries specified via `php-cs-fixer-command` were
not recognized until OVYA/php-cs-fixer#16.

Close #5513
2021-09-23 11:27:43 +02:00
Henrik Lissner
14729d21d1 dev(ci): refactor commit message reader for linter 2021-09-17 09:10:37 +02:00
Henrik Lissner
f80eed41bb dev(ci): fix linter complaining about git Ref lines
Such as Co-authored-by: and Signed-off-by: lines.
2021-09-17 09:10:14 +02:00
Henrik Lissner
5aeefc301b dev(ci): fix linter error on tail-less commit msg
If the commit message lacked the diff post-amble, 'doom ci
hook-commit-msg' would throw an out-of-range error.
2021-09-17 09:05:53 +02:00
Henrik Lissner
b3c01226a1 dev(ci): fix linter warning count 2021-09-17 09:05:42 +02:00
Henrik Lissner
2c5cc752ff fix(lib): preserve package order in after! macro
Prior to this, (after! (a b) ...) would expand to

  (after! b
    (after! a
      ...))

After this, it expands to

  (after! a
    (after! b
      ...))

This fixes load order issues with packages whose deferred configs are
nested, such as org and ob-ditaa.

Ref https://www.reddit.com/r/emacs/comments/pp3sye/hd311nz
2021-09-16 20:20:18 +02:00
Henrik Lissner
650f7a82e3 dev(ci): refactor commit linter
A new approach to make linter rules more flexible.
2021-09-16 20:20:10 +02:00