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

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

bug#31658: 25.2; Number of changes undone should be controlled by a vari


From: Ruy Exel
Subject: bug#31658: 25.2; Number of changes undone should be controlled by a variable
Date: Wed, 30 May 2018 14:59:35 -0300

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.

In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23)
 of 2017-12-09 built on tictoc
Windowing system distributor 'The X.Org Foundation', version 11.0.11501000
System Description:    Ubuntu 14.04.5 LTS





reply via email to

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