all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* recent undo-tree commit and generated ~undo-tree~ files
@ 2022-03-16  5:03 Joseph Mingrone
  2022-03-16  6:03 ` Stefan Monnier
  2022-03-23 17:29 ` Leo Liu
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph Mingrone @ 2022-03-16  5:03 UTC (permalink / raw)
  To: emacs-devel

Hello,

After commit 1f8d005409ceaa9ff27be04dabc155dcfd90fd03 to the elpa
repository, which updates undo-tree to 0.8.2, whenever closing a file, a
new file of the form <file>.~undo-tree~ is written to disk.  The
contents of the generated file are something like this.

(undo-tree-save-format-version . 1)
"7424f62f1237984237e1b27d050c613dcb2e6a01"
[nil nil nil nil (25137 27709 755877 763000) 0 nil]
([nil nil ((#(";" 0 1 (face font-lock-comment-delimiter-face fontified t)) . 1) (t 25137 26978 515241 0)) nil (25137 27709 755875 613000) 0 nil])
([nil current ((1 . 2)) nil (25137 27709 755869 986000) 0 nil])
nil

This is with a recent Emacs build from the master branch and default
undo-tree configuration.  Setting `undo-tree-auto-save-history' to nil
stops these files from being generated.  Perhaps this is new, intended
functionality, but it wasn't clear to me looking at the commit.

Regards,

Joe



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

* Re: recent undo-tree commit and generated ~undo-tree~ files
  2022-03-16  5:03 recent undo-tree commit and generated ~undo-tree~ files Joseph Mingrone
@ 2022-03-16  6:03 ` Stefan Monnier
  2022-03-23 17:29 ` Leo Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2022-03-16  6:03 UTC (permalink / raw)
  To: Joseph Mingrone; +Cc: emacs-devel

Joseph Mingrone [2022-03-16 02:03:17] wrote:
> After commit 1f8d005409ceaa9ff27be04dabc155dcfd90fd03 to the elpa
> repository, which updates undo-tree to 0.8.2, whenever closing a file, a
> new file of the form <file>.~undo-tree~ is written to disk.  The
> contents of the generated file are something like this.

AFAICT this is part of the new code, yes.
I only merged the changes from upstream and am not sufficiently familiar
with the code to say much more.


        Stefan




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

* Re: recent undo-tree commit and generated ~undo-tree~ files
  2022-03-16  5:03 recent undo-tree commit and generated ~undo-tree~ files Joseph Mingrone
  2022-03-16  6:03 ` Stefan Monnier
@ 2022-03-23 17:29 ` Leo Liu
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Liu @ 2022-03-23 17:29 UTC (permalink / raw)
  To: emacs-devel

On 2022-03-16 02:03 -0300, Joseph Mingrone wrote:
> This is with a recent Emacs build from the master branch and default
> undo-tree configuration.  Setting `undo-tree-auto-save-history' to nil
> stops these files from being generated.  Perhaps this is new, intended
> functionality, but it wasn't clear to me looking at the commit.

I also got littered here and there. It's a sad default for
undo-tree-auto-save-history.

Leo




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

end of thread, other threads:[~2022-03-23 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-16  5:03 recent undo-tree commit and generated ~undo-tree~ files Joseph Mingrone
2022-03-16  6:03 ` Stefan Monnier
2022-03-23 17:29 ` Leo Liu

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.