From: martin rudalics <rudalics@gmx.at>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Katsumi Yamaoka <yamaoka@jpl.org>, emacs-devel@gnu.org
Subject: Re: undo bug?
Date: Thu, 03 Apr 2008 16:43:04 +0200 [thread overview]
Message-ID: <47F4ECF8.20104@gmx.at> (raw)
In-Reply-To: <jwvprt759lf.fsf-monnier+emacs@gnu.org>
> The record-point after it wouldn't make anny difference, would it?
It's needed for getting there after a redo.
> Hmm... unless undoing a `record-point' would forcefully add another
> record-point entry i nthe undo-list... I guess that might work.
Any `record-point' would simply have to preserve the symmetry of
UB RPB buffer-changes RPA UB RPB buffer-changes RPA UB
where UB is the undo-boundary, RPB and RPA the `record-point's before
and after the buffer-changes, and the buffer-changes would not contain
any undo-boundaries or point-recordings.
> Still, I'm wondering what will be the effect of such a thing on the
> length of the undo-list. It's a pretty minor issue, as far as I can
> tell, so it had better not have any noticeable downside.
We could remove certain text-properties from undo-lists (mine are
usually full of 'fontified properties in deleted text).
prev parent reply other threads:[~2008-04-03 14:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 11:06 undo bug? Katsumi Yamaoka
2008-04-01 11:43 ` martin rudalics
2008-04-01 11:55 ` Katsumi Yamaoka
2008-04-01 15:07 ` Stefan Monnier
2008-04-01 18:52 ` martin rudalics
2008-04-01 19:25 ` Stefan Monnier
2008-04-01 20:53 ` martin rudalics
2008-04-02 13:59 ` Stefan Monnier
2008-04-02 17:01 ` martin rudalics
2008-04-03 13:55 ` Stefan Monnier
2008-04-03 14:43 ` martin rudalics [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=47F4ECF8.20104@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=yamaoka@jpl.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.