From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: rrt@sc3d.org
Newsgroups: gmane.emacs.bugs
Subject: bug#5701: 23.1; Auto-ident problem in c-mode
Date: Wed, 10 Mar 2010 13:38:21 -0000
Message-ID: <1268228301.660694.7543@canta>
NNTP-Posting-Host: lo.gmane.org
X-Trace: dough.gmane.org 1268229288 10563 80.91.229.12 (10 Mar 2010 13:54:48 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Wed, 10 Mar 2010 13:54:48 +0000 (UTC)
To: 5701@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 10 14:54:44 2010
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 ([199.232.76.165])
	by lo.gmane.org with esmtp (Exim 4.69)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1NpMN2-0007NE-2j
	for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Mar 2010 14:54:44 +0100
Original-Received: from localhost ([127.0.0.1]:36998 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NpMN0-000717-6o
	for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Mar 2010 08:54:42 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NpMMu-00070r-Lr
	for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2010 08:54:36 -0500
Original-Received: from [140.186.70.92] (port=55151 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NpMMt-00070Z-FE
	for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2010 08:54:36 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1NpMMs-0006ub-Gm
	for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2010 08:54:35 -0500
Original-Received: from debbugs.gnu.org ([140.186.70.43]:55937)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1NpMMs-0006uX-Bn
	for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2010 08:54:34 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1NpM7p-0007EL-Mp; Wed, 10 Mar 2010 08:39:01 -0500
X-Loop: bug-gnu-emacs@gnu.org
Resent-From: rrt@sc3d.org
Original-Sender: debbugs-submit-bounces@debbugs.gnu.org
Resent-To: owner@debbugs.gnu.org
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Wed, 10 Mar 2010 13:39:01 +0000
Resent-Message-ID: <handler.5701.B.126822832427783@debbugs.gnu.org>
Resent-Sender: bug-gnu-emacs@gnu.org
X-GNU-PR-Message: report 5701
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.126822832427783
	(code B ref -1); Wed, 10 Mar 2010 13:39:01 +0000
Original-Received: (at submit) by debbugs.gnu.org; 10 Mar 2010 13:38:44 +0000
Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1NpM7Y-0007E4-4a
	for submit@debbugs.gnu.org; Wed, 10 Mar 2010 08:38:44 -0500
Original-Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rrt@sc3d.org>) id 1NpM7W-0007Dw-67
	for submit@debbugs.gnu.org; Wed, 10 Mar 2010 08:38:42 -0500
Original-Received: from mx10.gnu.org ([199.232.76.166]:47854)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rrt@sc3d.org>) id 1NpM7R-0001Gj-0O
	for submit@debbugs.gnu.org; Wed, 10 Mar 2010 08:38:37 -0500
Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim
	4.60) (envelope-from <rrt@sc3d.org>) id 1NpM7O-00058j-9X
	for submit@debbugs.gnu.org; Wed, 10 Mar 2010 08:38:36 -0500
Original-Received: from lists.gnu.org ([199.232.76.165]:60443)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <rrt@sc3d.org>) id 1NpM7O-00058f-1J
	for submit@debbugs.gnu.org; Wed, 10 Mar 2010 08:38:34 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NpM7N-0004Jy-C1
	for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2010 08:38:33 -0500
Original-Received: from [140.186.70.92] (port=41861 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NpM7M-0004JV-9I
	for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2010 08:38:33 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <rrt@sc3d.org>) id 1NpM7I-0005Kp-2d
	for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2010 08:38:32 -0500
Original-Received: from exprod7og116.obsmtp.com ([64.18.2.219]:47835)
	by eggs.gnu.org with smtp (Exim 4.69) (envelope-from <rrt@sc3d.org>)
	id 1NpM7H-0005KW-QW
	for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2010 08:38:27 -0500
Original-Received: from source ([209.85.220.226]) by exprod7ob116.postini.com
	([64.18.6.12]) with SMTP
	ID DSNKS5eg0De4wF/2INZvK+VeS7+vAq3cGgvo@postini.com;
	Wed, 10 Mar 2010 05:38:27 PST
Original-Received: by fxm26 with SMTP id 26so652864fxm.35
	for <bug-gnu-emacs@gnu.org>; Wed, 10 Mar 2010 05:38:23 -0800 (PST)
Original-Received: by 10.223.100.216 with SMTP id z24mr1618558fan.5.1268228302154;
	Wed, 10 Mar 2010 05:38:22 -0800 (PST)
Original-Received: from canta (93-96-139-152.zone4.bethere.co.uk [93.96.139.152])
	by mx.google.com with ESMTPS id 16sm891296fxm.3.2010.03.10.05.38.21
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Wed, 10 Mar 2010 05:38:21 -0800 (PST)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
Resent-Date: Wed, 10 Mar 2010 08:39:01 -0500
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
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: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.bugs:35512
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/35512>

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