From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: c-special-indent-hook - when iis it run? Date: 2 Apr 2007 23:00:38 +0200 Message-ID: <20070402221930.GA4317@muc.de> References: <461050AE.5030508@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175547662 17543 80.91.229.12 (2 Apr 2007 21:01:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2007 21:01:02 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 02 23:00:56 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYTdy-0005Nz-76 for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2007 23:00:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYTh2-0004nX-4y for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2007 17:04:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYTgz-0004nS-0b for emacs-devel@gnu.org; Mon, 02 Apr 2007 17:03:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYTgw-0004gM-Px for emacs-devel@gnu.org; Mon, 02 Apr 2007 17:03:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYTgw-0004fu-Gw for emacs-devel@gnu.org; Mon, 02 Apr 2007 17:03:54 -0400 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HYTdr-00071b-Hn for emacs-devel@gnu.org; Mon, 02 Apr 2007 17:00:43 -0400 Original-Received: (qmail 92387 invoked by uid 3782); 2 Apr 2007 21:00:38 -0000 Original-Received: from acm.muc.de (p54A3E28A.dip.t-dialin.net [84.163.226.138]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 02 Apr 2007 23:00:36 +0200 Original-Received: (qmail 4417 invoked by uid 1000); 2 Apr 2007 22:19:30 -0000 Original-Date: Mon, 2 Apr 2007 23:19:30 +0100 Content-Disposition: inline In-Reply-To: <461050AE.5030508@gmail.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68945 Archived-At: 'Evening, Lennart! On Mon, Apr 02, 2007 at 02:39:10AM +0200, Lennart Borgman (gmail) wrote: > It looks to me like `c-special-indent-hook' is only run in > `c-indent-line' when `c-syntactic-indentation' is non-nil. This is indeed the case. The CC Mode manual states this on page "Other Indentation". > Is this intentional? Should not the doc string for the hook mention > that? Yes, the doc string should mention this. I'll fix it soon. -- Alan Mackenzie (Munich, Germany).