emacs-devel
[Top][All Lists]
Advanced

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

Re: Undo mode


From: Po Lu
Subject: Re: Undo mode
Date: Fri, 21 Jan 2022 17:40:54 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Gregory Heytings <gregory@heytings.org> writes:

> The original design added a single "Undelete Frame" item in the File
> menu, under the "Delete Frame" item.  The conclusion of the discussion
> in bug#51883 was that this feature shouldn't be enabled by default,
> which means that this "Undelete Frame" menu item would have remained
> inactive, unlike other items in the menus whose state change from
> inactive to active when their actions become feasible.
>
> Users could have reasonably expected to see this menu item become
> active after they used the "Delete Frame" menu item, just like the
> "Remove Other Windows" item becomes active after using one of the "New
> Window" items.
>
> Therefore, to help users discover that this menu item required an
> explicit activation in their init files to become usable, I added a
> "Enable Frame Undeletion" item in the File menu, with a tooltip which
> said "Enable frame undeletion for this session", and which replaced
> the "Undelete Frame" item when undelete-frame-mode was not active.
> IOW, this feature always used one and only one item in the File menu:
> either "Enable Frame Undeletion", or "Undelete Frame".
>
> The hard-coded limit of 16 deleted frames was also a conscious design
> choice, to avoid adding yet another defcustom that nobody had asked
> (yet). A user might want to undelete a few frames, so recording a
> single deleted frame is not enough, and 16 seemed like a reasonable
> upper limit that should cover all needs.
>
> I respectfully suggest to go back to that original design.

We haven't yet decided to change the design (aside from me turning the
"Enable Frame Undeletion" menu item into a toggle, so someone can figure
out how to turn it off should he want to.)

At least, I think we haven't.


reply via email to

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