GNU bug report logs -
#1202
stuck undo after cc-mode fill
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1202 in the body.
You can then email your comments to 1202 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1202
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Daniel Colascione <dan.colascione <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
ms
1. Start emacs with emacs -q --no-site-file
2. Blank the *scratch* buffer, put it in c-mode
3. type asdf
4. C-/ will undo it
5. type asdf again
6. type M-q
7. C-/ does nothing no matter how many times it's pressed
8. make another change
9. now both changes can be undone
I can reproduce this behavior on the latest CVS. Commenting out the undo
bit of c-mask-paragraph fixes the problem. It seems like undo choked on
nil, position, nil in the undo list.
In GNU Emacs 22.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.12.9)
of 2008-05-23 on xenbuilder4.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit=gtk' '--with-sound' '--with-toolkit-scroll-bars' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
which-function-mode: t
cua-mode: t
global-hi-lock-mode: t
hi-lock-mode: t
show-paren-mode: t
savehist-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Recent input:
<down> <return> d f a C-z C-z C-z C-z C-z C-z C-z C-z
C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z
C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z <up> <up> <down>
<down> <down> <down> <down> <return> <return> <return>
f a f a s f C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z
<help-echo> C-x k x C-f C-x C-f <up> <up> <up> <up>
<down> <down> <up> <up> <up> C-g C-x C-f / m <backspace>
t m p / f o o . c <return> C-h c C-z C-x b <return>
C-h c C-z M-x C-g C-x b C-g C-x C-f ~ / <backspace>
e m a <backspace> <backspace> <backspace> / e m a c
s / m a i <tab> <return> C-s u n d o <end> C-x C-e
C-h c C-z C-x b <return> C-h c C-z C-x k C-x b <return>
c C-z C-h c C-z M-x l o a <backspace> c a l - s e t
- k e y <return> C-z a d v <tab> u <tab> <return> C-h
c C-z C-x b <return> C-x b <return> <down-mouse-4>
<mouse-4> <double-down-mouse-4> <double-mouse-4> <down>
<tab> <down> <tab> <down> <tab> C-z <tab> M-q C-z C-z
C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z
C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z
C-z C-z <down> <down> <return> C-z C-z C-z C-z C-z
C-z C-z C-z C-z C-z M-x s u b m t <backspace> i t -
e m <tab> <backspace> <backspace> <tab> <tab> <tab>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> e m a c s <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
r e p o r t - e <tab> <return>
Recent messages:
C-z runs the command advertised-undo
byte-code: Beginning of buffer [2 times]
Undo! [34 times]
Redo!
Undo! [3 times]
Redo!
Undo!
undo-more: No further undo information
call-interactively: Text is read-only [4 times]
Loading emacsbug...done
bug reassigned from package `emacs' to `emacs,cc-mode'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Sun, 19 Oct 2008 21:00:03 GMT)
Full text and
rfc822 format available.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Mon, 03 Oct 2011 19:31:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Daniel Colascione <dan.colascione <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 03 Oct 2011 19:31:03 GMT)
Full text and
rfc822 format available.
Message #12 received at 1202-done <at> debbugs.gnu.org (full text, mbox):
Version: 23.1
I can reproduce this in 22.3, but not in 23.1 onwards, so it looks like
it was fixed.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 01 Nov 2011 11:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.