unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Lost or corrupted `undo-tree' history
@ 2020-01-08 22:45 Alexander Shukaev
  2020-01-10  8:07 ` Eli Zaretskii
  2020-02-18 17:39 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Alexander Shukaev @ 2020-01-08 22:45 UTC (permalink / raw)
  To: emacs-devel

I'm sure some of you have already seen the new update to the `undo-tree' 
package which is supposed to fix the dreaded issue with either loss or 
corruption of undo history.  However, for those who don't know there is 
a great blog post with exhaustive analysis of the issue and how it must 
(allegedly) be resolved now with the new release [1].

A good read for anyone and especially experienced Emacs developers or 
power users who can suggest some improvements to the analysis and/or 
solution(s).  One point from my side about the corruption solution 
(which seems to not be set in stone yet as a final remedy, but rather a 
test release that would only show after some time whether the issue is 
truly gone), I believe the garbage collector can be temporarily disabled 
by simply wrapping the body of `undo-list-transfer-to-tree' into the 
following `let' form:

(let ((gc-cons-threshold most-positive-fixnum))
   ...)

Thoughts?

[1] http://www.dr-qubit.org/Lost_undo-tree_history.html



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-18 17:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-08 22:45 Lost or corrupted `undo-tree' history Alexander Shukaev
2020-01-10  8:07 ` Eli Zaretskii
2020-01-10  9:19   ` Alexander Shukaev
2020-01-10  9:31     ` Eli Zaretskii
2020-01-10 10:27       ` Alexander Shukaev
2020-01-11  0:45     ` Stefan Monnier
2020-02-18 17:39 ` Stefan Monnier

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).