unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikolaj Schumacher <n_schumacher@web.de>
To: bug-gnu-emacs@gnu.org
Subject: undo boundaries
Date: Sat, 15 Mar 2008 18:16:00 +0100	[thread overview]
Message-ID: <m2y78jj4bz.fsf@nschum.de> (raw)

Hello,

according I brief discussion on help-gnu-emacs, this appears to be a bug in
Emacs 22:

(defun test ()
  (interactive)
  (insert "a")
  (undo-boundary)
  (insert "b"))

If I do M-x test, I get:
ab
  ^

Then, if I undo once in Emacs 22, I get:
a
^

What I was expecting (and what happens in Emacs 21):
a
 ^


Also note:

bojohan+news@dd.chalmers.se (Johan Bockgård) wrote:

> The likely suspect is this change:
>
> undo.c
> revision 1.55
> date: 2002-04-04 22:42:56 +0200;  author: monnier;
> (record_point): New fun.
> (record_delete, record_insert): Use it.



regards,
Nikolaj Schumacher




             reply	other threads:[~2008-03-15 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-15 17:16 Nikolaj Schumacher [this message]
2008-03-16 13:38 ` undo boundaries martin rudalics

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=m2y78jj4bz.fsf@nschum.de \
    --to=n_schumacher@web.de \
    --cc=bug-gnu-emacs@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 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).