From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#13138: f90-mode indent preprocessor command after continuation line Date: Mon, 10 Dec 2012 23:46:50 -0500 Message-ID: References: <1095396849.1399025.1355181921292.JavaMail.www@wwinf8304> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1355201253 11527 80.91.229.3 (11 Dec 2012 04:47:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 04:47:33 +0000 (UTC) To: 13138-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 11 05:47:46 2012 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 1TiHkr-0001jw-UQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 05:47:42 +0100 Original-Received: from localhost ([::1]:58101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiHkf-0002uO-5c for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Dec 2012 23:47:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiHkb-0002u8-H9 for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 23:47:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiHka-0005N3-5K for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 23:47:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiHka-0005Mv-2Y for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 23:47:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TiHlC-0000Vd-Jt for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 23:48:02 -0500 Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Dec 2012 04:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 13138 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 13138@debbugs.gnu.org, rgm@gnu.org, rogue-spectre@laposte.net Original-Received: via spool by 13138-done@debbugs.gnu.org id=D13138.13552012521916 (code D ref 13138); Tue, 11 Dec 2012 04:48:02 +0000 Original-Received: (at 13138-done) by debbugs.gnu.org; 11 Dec 2012 04:47:32 +0000 Original-Received: from localhost ([127.0.0.1]:36110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiHki-0000Up-1A for submit@debbugs.gnu.org; Mon, 10 Dec 2012 23:47:32 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:51875) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiHkg-0000Ui-57 for 13138-done@debbugs.gnu.org; Mon, 10 Dec 2012 23:47:30 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TiHk2-0003IK-Ic; Mon, 10 Dec 2012 23:46:50 -0500 X-Spook: Sears Tower Abu Ghraib Crypto AG Agfa CESID airframe X-Ran: {Qzi{a|.QU}4,F+T,qDw:e58TdueP*~cc22Idc$^i,=a~II+b5G@m%~J)IH3uGiLmBAAe" X-Hue: yellow X-Attribution: GM In-Reply-To: <1095396849.1399025.1355181921292.JavaMail.www@wwinf8304> (rogue-spectre@laposte.net's message of "Tue, 11 Dec 2012 00:25:21 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:68301 Archived-At: Version: 24.4 rogue-spectre wrote: > w = something & > #ifdef IJK > + updateforijk > #elif VECTOR > + updateforvector > #endif > > when one execute f90-indent-subprogram either by C-M-q or by the f90 menu, one gets : > > w = something & > #ifdef IJK > + updateforijk > #elif VECTOR > + updateforvector > #endif > > so the first #ifdef is indented and it should not. Thanks for the report. I think you forgot to indent your second example, but I see what you mean. Fixed in trunk. (The indentation of the code statement inside the #else branch still is not correct, but I don't think that's worth bothering about.)