bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71404: 30.0.50; [WISHLIST] string-edit-mode should allow changing ma


From: Nicholas Vollmer
Subject: bug#71404: 30.0.50; [WISHLIST] string-edit-mode should allow changing major mode
Date: Fri, 07 Jun 2024 22:27:58 -0400

Nicholas Vollmer <nv@parenthetic.dev> writes:

Nicholas Vollmer <nv@parenthetic.dev> writes:

Attached is a proof-of-concept patch which addresses bugs #71404, #71405, and
#71406 I'll take care of that if/when the design is agreed upon.

The patch rewrites string-edit-mode as a minor mode.
It utilizes an overlay for the edit prompt (to persist across major mode
changes) and prevents the prompt separator from being deleted.
It persists the buffer-local editing data so that the major mode can be changed
and the edit can still be completed.
It uses #'ignore as the default abort function if none is provided.

Sorry. Forgot to attach patch.
Attached here.

Attachment: 0001-lisp-textmodes-string-edit.el-refactor-as-minor-mode.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]