all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Barry OReilly <gundaetiapo@gmail.com>
Cc: toby-undo-tree <toby-undo-tree@dr-qubit.org>, emacs-devel@gnu.org
Subject: Re: Integration of undo-tree in Emacs
Date: Fri, 30 May 2014 12:01:20 -0400	[thread overview]
Message-ID: <jwvy4xjfef8.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAFM41H2QSKwP3r16wuE1AfLM6cgJBwrAgCA2ika1WpuF6G+YFw@mail.gmail.com> (Barry OReilly's message of "Fri, 30 May 2014 08:00:40 -0400")

> Yes, makes sense. So the code wouldn't trim every undo/redo pair but
> just those that don't lose information about the other branches that
> exist. So if the user goes up and down a branch twice, we only trim
> out one round trip.

Right.  That is imposed by the current buffer-undo-list representation.

> You lost me at "the most recent state as the root".

"most recent state" = "current buffer state".

> If you mean most recently visited, that is the user's current node and
> is not necessarily the root either.

We're discussing *choosing* a node as being the root.  So, it doesn't
have to be the root, but it can (always) be chosen as the root.
Technically, any one of the nodes can be chosen as the root of "a"
tree.  Obviously, some choices are more meaningful to the user than others.


        Stefan



      reply	other threads:[~2014-05-30 16:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28 19:38 Integration of undo-tree in Emacs Barry OReilly
2014-05-28 22:14 ` Toby Cubitt
2014-05-29  2:57   ` Barry OReilly
     [not found]     ` <20140529180441.GA12623@c3po.maths.private.cam.ac.uk>
2014-05-30 14:40       ` Barry OReilly
2014-06-02 10:57         ` Toby Cubitt
2014-06-02 16:24           ` Barry OReilly
2014-06-02 21:23             ` Toby Cubitt
2014-05-29  2:08 ` Stefan Monnier
2014-05-29 17:42   ` Toby Cubitt
2014-05-30 12:00   ` Barry OReilly
2014-05-30 16:01     ` Stefan Monnier [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

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

  git send-email \
    --in-reply-to=jwvy4xjfef8.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=gundaetiapo@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 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.