Commit graph

17626 commits

Author SHA1 Message Date
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
Henrik Lissner
f2588b0e90 feat(lib): imply &allow-other-keys in fn! macro 2021-09-16 20:20:08 +02:00
Henrik Lissner
0ad7874a28 feat(web): make web-mode recognize *.[lh]eex 2021-09-16 00:29:21 +02:00
Kirill A. Korinsky
ca8892ee2e bump: :tools magit
magit/forge@6e8ab6c67e -> magit/forge@6e8ab6c67e

To fix https://github.com/magit/forge/issues/414
2021-09-15 23:04:34 +02:00
Ellis Kenyo
a4e6de722d
feat(php): add default docker compose file 2021-09-15 20:28:01 +01:00
Ellis Kenyo
9092b466ee
docs(php): adjust case on babel blocks 2021-09-15 20:28:01 +01:00
Ellis Kenyo
bfa55ba34c
feat(php): add rainbow-delimiter-mode 2021-09-15 20:28:01 +01:00
Ellis Kenyo
8f5ce2a9de
feat(php): add project mode for phpunit/docker 2021-09-15 20:28:01 +01:00
Ellis Kenyo
18941dacad
docs(php): expand readme 2021-09-15 20:27:55 +01:00
Ellis Kenyo
b80a993175
feat(php): add composer.el 2021-09-15 20:27:47 +01:00
Daanturo
e19a6523ae feat(default): may include project name for SPC f Y
+default/yank-buffer-path-relative-to-project: with non-nil prefix arg,
copy the file name relative to the project root's parent.

Sometimes we also want to specify the project name to let others know
which is the currently mentioned project.
2021-09-15 19:01:46 +02:00
HyunggyuJang
33e922645b
fix(snippets): yas-expand error on yas-choose-value (#5429)
`+snippets-prompt-private` was overzealous intercepting the candidates fed to
`yas-choose-value`. For example, expanding the `jupyter` snippet in org mode
results in:

\#+begin_src jupyter-Wrong type argument: yas--template, "python" :session :async yes
...
\#+end_src
2021-09-15 18:59:43 +02:00
aswinmohanme
25c7f347cb feat(web): add *.[lh]?eex support 2021-09-15 18:56:46 +02:00
Henrik Lissner
aed9d0b7e5 fix: consult--grep call in load-path search commands
doom/help-search-load-path and doom/help-search-loaded-files were broken
by changes to consult--grep's interface upstream.

Ref 7762386e52
2021-09-15 17:47:17 +02:00
Henrik Lissner
65b2712001 fix(pass): void-function consult--read on +pass/consult 2021-09-15 17:47:17 +02:00