unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Fabrice Popineau <fabrice.popineau@gmail.com>
Cc: toby-undo-tree@dr-qubit.org, 24469@debbugs.gnu.org
Subject: bug#24469: undo-tree and ... when printing objects
Date: Wed, 19 Aug 2020 14:01:07 +0200	[thread overview]
Message-ID: <87blj66e0s.fsf@gnus.org> (raw)
In-Reply-To: <CAFgFV9NJZo4dgeTGQ5WmGy_be-fqhKnF5ZC3eFM+_-Yts949eA@mail.gmail.com> (Fabrice Popineau's message of "Fri, 27 Jan 2017 07:00:32 +0100")

Fabrice Popineau <fabrice.popineau@gmail.com> writes:

> Following-up to this bug report.
>
> I think this patch may fix the problem.
>
> diff --git a/undo-tree.el b/undo-tree.el
> index 57bbaa0..4ac4fa5 100644
> --- a/undo-tree.el
> +++ b/undo-tree.el
> @@ -3105,7 +3105,9 @@ without asking for confirmation."
>                 (with-temp-buffer
>                    (prin1 (sha1 buff) (current-buffer))
>                    (terpri (current-buffer))
> -                 (let ((print-circle t)) (prin1 tree (current-buffer)))
> +                  (let ((print-circle t)
> +                        (print-length nil)
> +                        (print-level nil)) (prin1 tree (current-buffer)))
>                    (write-region nil nil filename))))

Looks obviously correct, so I've applied this without testing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2020-08-19 12:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-19 13:29 bug#24469: undo-tree and ... when printing objects Fabrice Popineau
2016-09-19 13:57 ` Noam Postavsky
2016-09-19 18:40   ` Fabrice Popineau
2017-01-27  6:00 ` Fabrice Popineau
2020-08-19 12:01   ` Lars Ingebrigtsen [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87blj66e0s.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=24469@debbugs.gnu.org \
    --cc=fabrice.popineau@gmail.com \
    --cc=toby-undo-tree@dr-qubit.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 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).