From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ruy Exel <ruyexel@gmail.com>
Cc: 31658@debbugs.gnu.org
Subject: bug#31658: 25.2; Number of changes undone should be controlled by a variable
Date: Wed, 09 Oct 2019 23:58:55 +0200 [thread overview]
Message-ID: <878spt1syo.fsf@gnus.org> (raw)
In-Reply-To: <CAB8Wf+-=72YkMtimQ=cJk7Jfi3DQLQHQ=HhQqW=EgD89_rERag@mail.gmail.com> (Ruy Exel's message of "Wed, 30 May 2018 14:59:35 -0300")
Ruy Exel <ruyexel@gmail.com> writes:
> After I updated Emacs to the latest version I noticed that the behavior
> of the undo command has changed in the sense that a single invocation of
> undo effectively undoes many more recent changes than it used to and I
> often find myself having to re-do the changes and reentering the whole
> information again rather than taking advantage of the undo command.
>
> After a little fiddling I realized that this feature is controlled by
> the function 'undo-auto-amalgamate' which contains the line
>
> (< last-amalgamating-count 20)
>
> apparently bundling up to 20 recent changes for the next invocation of
> undo.
>
> My solution was simply to edit that function, replacing 20 by zero, and
> the old behavior, which I am used to, was restored.
>
> The purpose of this bug-report/feature-request is to suggest that
> instead of hard coding a fixed number, such as 20, the number of changes
> bundled together should be determined by a variable which the user could
> customize if desired.
I think that sounds like a reasonable (and useful) request. Does
anybody object to adding such a defcustom?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-10-09 21:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-30 17:59 bug#31658: 25.2; Number of changes undone should be controlled by a variable Ruy Exel
2019-10-09 21:58 ` Lars Ingebrigtsen [this message]
2019-10-10 7:32 ` Eli Zaretskii
2019-10-11 7:24 ` Lars Ingebrigtsen
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=878spt1syo.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=31658@debbugs.gnu.org \
--cc=ruyexel@gmail.com \
/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.