- Require Compat 31.
- Bugfixes.
- Bugfixes.
- Support arbitrary non-whitespace characters in completion prefix, such that
templates can be named, e.g.,
<template. - Support Lisp expressions which evaluate to template elements.
tempel-next/previous: Make argument optional.- The currently active template state can be obtained from the top of the
tempel--activestack. - Improve Tempo compatibility.
tempel-done,tempel-abort: AddALLprefix argument to finish or abort all templates. IfALLis nil, treat only the template at point.tempel-done-on-region,tempel-done-on-next: New options to customize quitting behavior. Iftempel-done-or-regionis non-nil, quit when entering a region field. Iftempel-done-on-nextis non-nil, quit when pressingtempel-nextfrom inside the last field.
tempel-trigger-prefix: Remove feature. Usecape-capf-triggerfrom the Cape package instead. See alsocorfu-auto-trigger.
- Require Emacs 29.
tempel-complete: Insert trigger prefix only if the commandtempel-completeis invoked manually.
- Templates support the
:docand:annkeywords for documentation and annotation respectively.
tempel-complete: Improve region handling, depending on if completion is triggered automatically or manually.
tempel-expand: Expand exact matches directly when invoked interactively instead of going viacompletion-at-point. This avoids problems withcompletion-stylessettings.
- Require Emacs 28.1.
- Optional named field argument for custom user element hooks.
- Support
:whenintempel-abbrev-modevia the abbrev:enable-function.
- Bugfixes.
- Bump Compat dependency to Compat 30.
- Respect
major-mode-remap-aliston Emacs 29 when looking up templates.
- Bugfix: Fix
no-self-insertoftempel-abbrev-mode. - Bugfix: Only replace default field if not modifying a region.
- Ensure that modification hooks are never inhibited during field modification, which is needed for lsp-mode in order to keep the server synchronized.
- Start of changelog.