From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Andrew Hyatt <ahyatt@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#5701: 23.1; Auto-ident problem in c-mode
Date: Thu, 25 Aug 2016 00:06:35 -0400
Message-ID: <m2vaypze44.fsf@Andrews-MacBook-Pro.local>
References: <1268228301.660694.7543@canta>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1472098039 12404 195.159.176.226 (25 Aug 2016 04:07:19 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 25 Aug 2016 04:07:19 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin)
Cc: 5701@debbugs.gnu.org
To: rrt@sc3d.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 25 06:07:15 2016
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1bclwf-0002dD-FH
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2016 06:07:13 +0200
Original-Received: from localhost ([::1]:54374 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1bclwf-0007p5-TI
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2016 00:07:13 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57821)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bclwa-0007ov-42
	for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 00:07:09 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bclwU-0000ct-Rn
	for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 00:07:08 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:42003)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1bclwU-0000cn-Ml; Thu, 25 Aug 2016 00:07:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1bclwU-0004V2-EJ; Thu, 25 Aug 2016 00:07:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Andrew Hyatt <ahyatt@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org
Resent-Date: Thu, 25 Aug 2016 04:07:02 +0000
Resent-Message-ID: <handler.5701.B5701.147209800517273@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 5701
X-GNU-PR-Package: emacs,cc-mode
X-GNU-PR-Keywords: 
Original-Received: via spool by 5701-submit@debbugs.gnu.org id=B5701.147209800517273
	(code B ref 5701); Thu, 25 Aug 2016 04:07:02 +0000
Original-Received: (at 5701) by debbugs.gnu.org; 25 Aug 2016 04:06:45 +0000
Original-Received: from localhost ([127.0.0.1]:39715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1bclwD-0004UX-22
	for submit@debbugs.gnu.org; Thu, 25 Aug 2016 00:06:45 -0400
Original-Received: from mail-qt0-f195.google.com ([209.85.216.195]:35433)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <ahyatt@gmail.com>) id 1bclwA-0004UJ-GX
	for 5701@debbugs.gnu.org; Thu, 25 Aug 2016 00:06:43 -0400
Original-Received: by mail-qt0-f195.google.com with SMTP id q11so1401167qtb.2
	for <5701@debbugs.gnu.org>; Wed, 24 Aug 2016 21:06:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; 
	h=from:to:cc:subject:references:date:in-reply-to:message-id
	:user-agent:mime-version;
	bh=wa62w7wh1x5vt5qCCd+Q2zZVOENdErND95/FShagmzw=;
	b=VbQDoskKZigkehiCMy7zJxRoAAW7l0yLk5EoQU118hHrqm/nEGmUFMGY3ogaafJbVw
	uCWA8OIHV+UtLIfnENaVUbg8u2jtBg3SMg6c21l2gPqFPHUCx/c646zTUY3veMjH+b8g
	4wiDCW22Mh77rT0Z7UnzbsjK1fc6i81qI7Wk7FrBOexQSvYlK+2VEuLOPoprOlBrxp1+
	Kwsz6ivH/9tVlUfIzwU6foyUXCBE8Nl80yIBGVI9sSDeSAG+RvtOYhMWm0KvM3benW8x
	USU9r3VjonEp0OBKlbCkOD8xXjzsEjP6Jo4wLoStabU1eM9oNRFwqyeFkmVVxNlbTgBA
	f7tg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
	:message-id:user-agent:mime-version;
	bh=wa62w7wh1x5vt5qCCd+Q2zZVOENdErND95/FShagmzw=;
	b=PMbdduiEHZPuqvZIcvvurfMcAWc51j8dLmba64vmI3auJG4xYrxK1ZX4cElJCF/8us
	NWRhwJTY7t8GfFVqxP9lwyBRzcg+rS5qdrvN2JVBmmsSIQOg84UpbUwpxsuOX8Sj0VSR
	60dU88VwmcCFfLaB88flPEedxGeKd0RFwLN74/CG4Rn2T94z7LOrKq7WHbYORWz/EaZt
	xcN12i7aC37YmdiEJOfEzbzRAXTi9jKe9W0aIaEYT4VVB9D1rBYuQEfLnvG/wbG+YJJL
	yW0U3BEbe/K4ymD07a8v3mpCZQIpsHUaaypyBVi1kaQ/MRIx8oRRDGpQeemJuVQL6Zmk
	p3HA==
X-Gm-Message-State: AE9vXwPWSwtRcCL/EM7jQD+9ZcJYrR0iXVNj+CRQE/APLleVknnCbkKsKrNLSEgnnOghsg==
X-Received: by 10.237.37.155 with SMTP id x27mr7894592qtc.12.1472097997204;
	Wed, 24 Aug 2016 21:06:37 -0700 (PDT)
Original-Received: from Andrews-MacBook-Pro.local (cpe-74-73-128-199.nyc.res.rr.com.
	[74.73.128.199])
	by smtp.gmail.com with ESMTPSA id 18sm6575039qkm.32.2016.08.24.21.06.35
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 24 Aug 2016 21:06:36 -0700 (PDT)
In-Reply-To: <1268228301.660694.7543@canta> (rrt's message of "Wed, 10 Mar
	2010 13:38:21 -0000")
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:122620
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/122620>


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