unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Michael Heerdegen <michael_heerdegen@web.de>,
	Lars Ingebrigtsen <larsi@gnus.org>
Cc: "11445@debbugs.gnu.org" <11445@debbugs.gnu.org>,
	Mauro Aranda <maurooaranda@gmail.com>
Subject: bug#11445: [External] : bug#11445: 24.0.96; Customize buffer edit fields should have undo
Date: Thu, 3 Jun 2021 17:51:59 +0000	[thread overview]
Message-ID: <SA2PR10MB4474AE9EC1A2810491E98FD6F33C9@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
In-Reply-To: <87sg1zdk3k.fsf@web.de>

> > > C-x u again: "No further undo information".  But that's not expected; if
> > > undo worked, the field value would be the default value.
> >
> > Ah, right -- I can reproduce that, too.
> 
> 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?

I think I understand what you're saying.  But undo
should be about user actions, and their effects
(consequences).  Yes, the effects of user actions
here include (at least some) "changes involving widgets".

Looking at this from (only) a user point of view,
this seems broken (i.e., calling for improvement).

I have no idea how to address fixing it. 





  reply	other threads:[~2021-06-03 17:51 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         ` Drew Adams [this message]
2021-06-04  9:25         ` Lars Ingebrigtsen
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=SA2PR10MB4474AE9EC1A2810491E98FD6F33C9@SA2PR10MB4474.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=11445@debbugs.gnu.org \
    --cc=larsi@gnus.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).