From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#4828: 23.1.50; c-newline-and-indent and indent-line-function Date: Wed, 13 Jul 2011 16:31:50 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310569022 25687 80.91.229.12 (13 Jul 2011 14:57:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 14:57:02 +0000 (UTC) Cc: Alan Mackenzie , 4828@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 13 16:56:58 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh0rx-0002Yw-MW for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 16:56:57 +0200 Original-Received: from localhost ([::1]:34874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh0rx-0000I3-3o for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 10:56:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh0Xs-00036q-2Y for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 10:36:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh0Xo-0005k9-3W for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 10:36:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh0Xi-0005jT-Qx; Wed, 13 Jul 2011 10:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qh0Xh-0004nl-PS; Wed, 13 Jul 2011 10:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Wed, 13 Jul 2011 14:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4828 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch Original-Received: via spool by 4828-submit@debbugs.gnu.org id=B4828.131056771218381 (code B ref 4828); Wed, 13 Jul 2011 14:36:01 +0000 Original-Received: (at 4828) by debbugs.gnu.org; 13 Jul 2011 14:35:12 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh0Wq-0004mI-0u for submit@debbugs.gnu.org; Wed, 13 Jul 2011 10:35:12 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh0Wk-0004lI-EO for 4828@debbugs.gnu.org; Wed, 13 Jul 2011 10:35:06 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Qh0WZ-0001yG-0k; Wed, 13 Jul 2011 16:34:51 +0200 In-Reply-To: (Lennart Borgman's message of "Sat, 21 Nov 2009 15:09:08 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Talking Heads's _Remain In Light_: "Born Under Punches (The Heat Goes On)" X-Hashcash: 1:23:110713:acm@muc.de::yOq3GV02zq4Onlmr:00000001B45 X-Hashcash: 1:23:110713:lennart.borgman@gmail.com::jKBQzu8APLg57zR8:000000000000000000000000000000000000IiL5 X-Hashcash: 1:23:110713:4828@debbugs.gnu.org::dgGZNdGiO2ynxJc1:00000000000000000000000000000000000000000Az+6 X-Hashcash: 1:23:110713:monnier@iro.umontreal.ca::YY8s66tiHXGkjMbb:0000000000000000000000000000000000000r5To X-MailScanner-ID: 1Qh0WZ-0001yG-0k MailScanner-NULL-Check: 1311172491.10079@zfw+UKmPYbjYuSVS8l6iGw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 13 Jul 2011 10:36:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48864 Archived-At: Lennart Borgman writes: > Looking at the code in c-electric-semi&comma I think it is better to > change the call to (c-indent-line) currently on line 938 in cc-cmds.el > to (funcall indent-line-function). That will fix the problem I think. > > (if c-syntactic-indentation > ;;(c-indent-line) > (funcall indent-line-function) > ) The code seems to have changed a bit in the mean time -- line 938 no longer has that code. Is this still relevant? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/