From: rrt@sc3d.org
To: 5701@debbugs.gnu.org
Subject: bug#5701: 23.1; Auto-ident problem in c-mode
Date: Wed, 10 Mar 2010 13:38:21 -0000 [thread overview]
Message-ID: <1268228301.660694.7543@canta> (raw)
Load the following from foo.c:
static typeof (pcre_compile) *dl_pcre_compile;
static typeof (pcre_study) *dl_pcre_study;
go to the second line and press TAB: the second line is indented.
Checked against bzr head.
In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
of 2009-11-10 on vernadsky, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
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_GB.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
shell-dirtrack-mode: t
show-paren-mode: t
savehist-mode: t
minibuffer-electric-default-mode: t
iswitchb-mode: t
icomplete-mode: t
global-auto-revert-mode: t
desktop-save-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Recent input:
<left> <left> <left> <left> <left> <right> <right>
<right> <right> d l _ C-s C-s C-s <down> <down> <down>
<down> <down> C-s C-s C-s <left> <left> <left> <left>
<left> d l _ <down> <tab> <down> <tab> C-x C-s <switch-frame>
C-s m a p C-s C-s C-a C-s p c r e _ l o a d C-s C-s
C-s C-s C-a C-s l o a d _ p c r e C-a C-SPC C-n C-n
C-n C-n C-n C-n C-w C-/ <switch-frame> <switch-frame>
<switch-frame> C-s p c r e SPC c a n ' t C-s C-a C-y
C-x C-s <switch-frame> C-r l o a d _ p c r e C-r C-a
C-SPC C-n C-n C-n C-w C-/ <switch-frame> <switch-frame>
<switch-frame> M-< C-s r e m o v e SPC t h e s e C-a
C-y C-x C-s C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-SPC C-n C-n C-n C-n C-p C-w
C-/ C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-p C-p C-p C-p C-n C-y C-p C-p C-p <tab> <down>
<tab> <down> <tab> <down> C-a C-k <up> <up> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> M-d <M-backspace> <M-backspace>
c a n n o t SPC b e SPC f o u n d M-d C-d C-e ) ) ;
C-n C-a C-k C-x C-s <left> <left> <left> <left> <left>
<left> <left> <left> <left> <switch-frame> <switch-frame>
<switch-frame> <switch-frame> <down-mouse-1> <mouse-movement>
<mouse-1> M-x r e p o r t - e m <tab> <return>
Recent messages:
Wrote /scp:mord:/home/rrt/repo/grep-dlopen-pcre/src/search.c
Mark set
Undo!
Mark set
Saving file /scp:mord:/home/rrt/repo/grep-dlopen-pcre/src/search.c...
Transferring /tmp/tramp.2353ME0.c to /scp:mord:/home/rrt/repo/grep-dlopen-pcre/src/search.c...
Tramp: Waiting for prompts from remote shell
Tramp: Process has finished.
Transferring /tmp/tramp.2353ME0.c to /scp:mord:/home/rrt/repo/grep-dlopen-pcre/src/search.c...done
Wrote /scp:mord:/home/rrt/repo/grep-dlopen-pcre/src/search.c
next reply other threads:[~2010-03-10 13:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 13:38 rrt [this message]
2016-08-25 4:06 ` bug#5701: 23.1; Auto-ident problem in c-mode Andrew Hyatt
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=1268228301.660694.7543@canta \
--to=rrt@sc3d.org \
--cc=5701@debbugs.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 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.