all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 11445@debbugs.gnu.org, Mauro Aranda <maurooaranda@gmail.com>
Subject: bug#11445: 24.0.96; Customize buffer edit fields should have undo
Date: Fri, 04 Jun 2021 11:25:38 +0200	[thread overview]
Message-ID: <87czt20ynh.fsf@gnus.org> (raw)
In-Reply-To: <87sg1zdk3k.fsf@web.de> (Michael Heerdegen's message of "Thu, 03 Jun 2021 17:49:19 +0200")

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Question is whether it's even well defined to do this differently.
>
> It's not that every text field has its own undo.  Undo stops at points
> when widgets changed because undoing further would undo changes
> involving widgets, which ones are there, how they look like, etc.  Since
> using widgets has side effects (like setting variables or saving) just
> undoing anything would potentially lead to an inconsistent state.
>
> How would you address this problem?

Not all actions in a custom buffer can be undone (with the normal Emacs
undo functionality), but it seems quiet unexpected that deleting a
character in the text field of the buffer with the normal editing
commands can't be undone.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2021-06-04  9:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10 15:30 bug#11445: 24.0.96; Customize buffer edit fields should have undo Drew Adams
2012-09-16 23:57 ` Drew Adams
2021-06-02  6:04 ` Lars Ingebrigtsen
2021-06-02 12:21   ` Mauro Aranda
2021-06-03  7:15     ` Lars Ingebrigtsen
2021-06-03 15:49       ` Michael Heerdegen
2021-06-03 17:51         ` bug#11445: [External] : " Drew Adams
2021-06-04  9:25         ` Lars Ingebrigtsen [this message]
2021-06-02 16:43   ` bug#11445: [External] : " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czt20ynh.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=11445@debbugs.gnu.org \
    --cc=maurooaranda@gmail.com \
    --cc=michael_heerdegen@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.