From: martin rudalics <rudalics@gmx.at>
To: Markus Triska <markus.triska@gmx.at>
Cc: 731@emacsbugs.donarmstrong.com, cyd@MIT.EDU
Subject: bug#731: 23.0.60; Varying point position after undo
Date: Sun, 21 Sep 2008 13:58:37 +0200 [thread overview]
Message-ID: <48D636ED.3020103@gmx.at> (raw)
In-Reply-To: <m17i98i81f.fsf@gmx.at>
[-- Attachment #1: Type: text/plain, Size: 412 bytes --]
> buffer-undo-list is initially nil regardless of how I open the file.
> When I open the file from the command line and then press C-M-x on the
> first form, `buffer-undo-list' is with CVS trunk:
>
> (nil
> (96 . 106)
> (t 18643 . 10108))
>
> whereas with Emacs 22.2, it is:
>
> (nil
> (96 . 106)
> 1
> (t 18643 . 10108))
Hmmm... Can you try the attached patch?
martin
[-- Attachment #2: 731.diff --]
[-- Type: text/plain, Size: 659 bytes --]
*** undo.c.~1.85.~ 2008-05-14 09:49:54.000000000 +0200
--- undo.c 2008-09-21 13:44:44.468750000 +0200
***************
*** 79,85 ****
if (NILP (pending_boundary))
pending_boundary = Fcons (Qnil, Qnil);
! if (current_buffer != last_undo_buffer)
Fundo_boundary ();
last_undo_buffer = current_buffer;
--- 79,88 ----
if (NILP (pending_boundary))
pending_boundary = Fcons (Qnil, Qnil);
! if ((current_buffer != last_undo_buffer)
! /* Don't make an undo boundary when record_first_change will do it
! anyway. */
! && (MODIFF > SAVE_MODIFF))
Fundo_boundary ();
last_undo_buffer = current_buffer;
next prev parent reply other threads:[~2008-09-21 11:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-19 3:26 bug#731: 23.0.60; Varying point position after undo cyd
2008-09-19 4:31 ` Markus Triska
2008-09-19 8:42 ` martin rudalics
2008-09-19 13:23 ` Markus Triska
2008-09-21 11:58 ` martin rudalics [this message]
2008-09-21 12:31 ` Markus Triska
2008-09-21 19:30 ` Stefan Monnier
2008-09-22 15:59 ` martin rudalics
2008-09-22 17:40 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2008-08-16 16:59 Markus Triska
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=48D636ED.3020103@gmx.at \
--to=rudalics@gmx.at \
--cc=731@emacsbugs.donarmstrong.com \
--cc=cyd@MIT.EDU \
--cc=markus.triska@gmx.at \
/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.