From unknown Sat Jun 21 10:45:22 2025 X-Loop: don@donarmstrong.com Subject: bug#877: 23.0.60; c-mode indentation and php Reply-To: "Lennart Borgman (gmail)" , 877@debbugs.gnu.org Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 03 Sep 2008 21:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 877 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122047766425436 (code B ref -1); Wed, 03 Sep 2008 21:40:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,IMPRONONCABLE_1, MURPHY_WRONG_WORD2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Sep 2008 21:34:24 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m83LYK6a025430 for ; Wed, 3 Sep 2008 14:34:21 -0700 Received: from mail.gnu.org ([199.232.76.166]:39341 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kazxx-0005T5-63 for emacs-pretest-bug@gnu.org; Wed, 03 Sep 2008 17:32:41 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KazzT-0005zD-RN for emacs-pretest-bug@gnu.org; Wed, 03 Sep 2008 17:34:18 -0400 Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:34229) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KazzT-0005yf-BZ for emacs-pretest-bug@gnu.org; Wed, 03 Sep 2008 17:34:15 -0400 Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:61739 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KazzM-0006GS-9I; Wed, 03 Sep 2008 23:34:09 +0200 Message-ID: <48BF02CC.1010704@gmail.com> Date: Wed, 03 Sep 2008 23:34:04 +0200 From: "Lennart Borgman (gmail)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org, Alan Mackenzie X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080903-0, 2008-09-03), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1KazzM-0006GS-9I. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KazzM-0006GS-9I 236c556184eecb10fa9f1771f0e8679a X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) In php-mode.el (not yet a part of Emacs, but has been discussed for inclusion) c-indent-line is used for indentation. That works nicely for the php code part of a php template page, but there is a disturbing glitch that probably can be fixed. Constructs like the one below are rather common. if (1) { ?> ... ; Mon, 30 Nov 2009 13:46:47 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NFE4z-0002d6-6T; Mon, 30 Nov 2009 16:46:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19220.15685.127098.612370@fencepost.gnu.org> Date: Mon, 30 Nov 2009 16:46:45 -0500 From: Glenn Morris To: control Subject: control reassign 490 notemacs reassign 2488 notemacs reassign 877 notemacs reassign 3988 emacs reassign 485 notemacs reassign 1683 notemacs reassign 1763 notemacs merge 1763 1683 close 1683 reassign 1036 notemacs reassign 92 emacs,gnus reassign 4540 emacs,ns reassign 4566 emacs,ns severity 4566 minor reassign 485 notemacs severity 5069 minor From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 01 04:00:58 2011 Received: (at control) by debbugs.gnu.org; 1 Mar 2011 09:00:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuLRy-0001GM-Al for submit@debbugs.gnu.org; Tue, 01 Mar 2011 04:00:58 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PuLRx-0001G7-JG for control@debbugs.gnu.org; Tue, 01 Mar 2011 04:00:57 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PuLRs-0006ey-D7 for control@debbugs.gnu.org; Tue, 01 Mar 2011 04:00:52 -0500 Date: Tue, 01 Mar 2011 04:00:52 -0500 Message-Id: Subject: control message for bug 877 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) close 877