From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#4828: 23.1.50; c-newline-and-indent and indent-line-function Date: Sun, 28 Feb 2016 17:35:36 +1100 Message-ID: <878u25s5on.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456641445 28303 80.91.229.3 (28 Feb 2016 06:37:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2016 06:37:25 +0000 (UTC) Cc: Alan Mackenzie , 4828@debbugs.gnu.org, Stefan Monnier To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 28 07:37:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aZuye-0007i2-G8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 07:37:12 +0100 Original-Received: from localhost ([::1]:57740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZuyd-0003Mp-Kx for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2016 01:37:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZuyZ-0003Mg-HN for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 01:37:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZuyU-0001aR-Ht for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2016 01:37:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZuyU-0001aN-EK; Sun, 28 Feb 2016 01:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZuyU-0005oM-8K; Sun, 28 Feb 2016 01:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 28 Feb 2016 06:37:02 +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.145664137822277 (code B ref 4828); Sun, 28 Feb 2016 06:37:02 +0000 Original-Received: (at 4828) by debbugs.gnu.org; 28 Feb 2016 06:36:18 +0000 Original-Received: from localhost ([127.0.0.1]:49461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZuxl-0005nE-7A for submit@debbugs.gnu.org; Sun, 28 Feb 2016 01:36:18 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:52315) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZuxg-0005mw-3C for 4828@debbugs.gnu.org; Sun, 28 Feb 2016 01:36:15 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aZuxA-0004jr-S3; Sun, 28 Feb 2016 07:35:41 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 13 Jul 2011 16:31:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aZuxA-0004jr-S3 MailScanner-NULL-Check: 1457246141.75247@WZpeyCrl9xjaYpu5nQuu+g 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" 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:114025 Archived-At: Lars Magne Ingebrigtsen writes: > 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? More information was requested, but no response was given within a few years, so I'm closing this bug report. If the problem still exists, please reopen this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no