bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5701: 23.1; Auto-ident problem in c-mode


From: Andrew Hyatt
Subject: bug#5701: 23.1; Auto-ident problem in c-mode
Date: Thu, 25 Aug 2016 00:06:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin)

I can't reproduce this on Emacs 25.2.  If anyone can reproduce, let me
know, otherwise I'll close this as unreproducible in a few weeks.

rrt@sc3d.org writes:

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]