all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joseph Mingrone <jrm@ftfl.ca>
To: emacs-devel@gnu.org
Subject: recent undo-tree commit and generated ~undo-tree~ files
Date: Wed, 16 Mar 2022 02:03:17 -0300	[thread overview]
Message-ID: <86fsnih4kq.fsf@phe.ftfl.ca> (raw)

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



             reply	other threads:[~2022-03-16  5:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-16  5:03 Joseph Mingrone [this message]
2022-03-16  6:03 ` recent undo-tree commit and generated ~undo-tree~ files Stefan Monnier
2022-03-23 17:29 ` Leo Liu

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=86fsnih4kq.fsf@phe.ftfl.ca \
    --to=jrm@ftfl.ca \
    --cc=emacs-devel@gnu.org \
    /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.