doomemacs/modules/editor
Henrik Lissner 802f015f26
fix(file-templates): org-capture errors on new files
If an org-capture template generates a new, blank file, Doom steps in to
insert a yasnippet file-template into the buffer.  If the file template
has text fields, it leaves the new buffer in an "editing snippets"
state (and insert mode) which causes errors downstream when org-capture
tries to modify the buffer.

The file-templates module employs some heuristics to prevent false
positives like these, but packages (and org-capture) can get around this
by simply generating and switching to the org buffer before modifying
it. This commit no-ops file-template expansion in any org-capture
session, which should resolve these issues.

Fix: #6160
Fix: #6741
2023-02-22 20:47:51 -05:00
..
evil bump: :editor evil 2023-02-18 15:27:49 -05:00
file-templates fix(file-templates): org-capture errors on new files 2023-02-22 20:47:51 -05:00
fold bump: :editor 2023-02-21 19:34:42 -05:00
format docs: change link format 2022-10-05 01:01:19 +02:00
god bump: :editor 2023-02-21 19:34:42 -05:00
lispy bump: :editor 2023-02-21 19:34:42 -05:00
multiple-cursors bump: :editor 2023-02-21 19:34:42 -05:00
objed docs: change link format 2022-10-05 01:01:19 +02:00
parinfer bump: :editor 2023-02-21 19:34:42 -05:00
rotate-text docs: change link format 2022-10-05 01:01:19 +02:00
snippets bump: :editor 2023-02-21 19:34:42 -05:00
word-wrap bump: :editor 2023-02-21 19:34:42 -05:00
README.org revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00

:editor

Description

For modules concerned with the insertion and editing of text. Amen.

Frequently asked questions

This category has no FAQs yet. Ask one?