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#14448: Wrong indentation in comment lines for F90 mode? Date: Sat, 25 May 2013 23:09:03 -0400 Message-ID: References: <519DF4B7.4020304@alice.it> <519E754D.1030405@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1369537809 10356 80.91.229.3 (26 May 2013 03:10:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 May 2013 03:10:09 +0000 (UTC) Cc: 14448@debbugs.gnu.org, Angelo Graziosi To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 26 05:10:08 2013 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 1UgRLT-0004mW-Jy for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 May 2013 05:10:07 +0200 Original-Received: from localhost ([::1]:34114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgRLS-0004Hn-VE for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 May 2013 23:10:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgRLL-0004GE-Ae for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 23:10:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgRLJ-0003tL-VZ for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 23:09:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgRLJ-0003tF-Rz for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 23:09:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UgRML-0002QB-Rf for bug-gnu-emacs@gnu.org; Sat, 25 May 2013 23:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 May 2013 03:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14448 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: help Original-Received: via spool by 14448-submit@debbugs.gnu.org id=B14448.13695378129046 (code B ref 14448); Sun, 26 May 2013 03:11:01 +0000 Original-Received: (at 14448) by debbugs.gnu.org; 26 May 2013 03:10:12 +0000 Original-Received: from localhost ([127.0.0.1]:35033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UgRLY-0002Lp-9z for submit@debbugs.gnu.org; Sat, 25 May 2013 23:10:12 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:34342 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UgRLV-0002LS-GM for 14448@debbugs.gnu.org; Sat, 25 May 2013 23:10:10 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UgRKR-0004Ue-FB; Sat, 25 May 2013 23:09:03 -0400 X-Spook: Marxist covert video cryptographic Fortezza Qaddafi X-Ran: jQ[5U`bAd+D*3'5*TL:Hponq?3DN!%N7i3Esdiu)YvWTzmfMgT (Stefan Monnier's message of "Fri, 24 May 2013 23:23:27 -0400") 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:74573 Archived-At: Stefan Monnier wrote: > I see now that it behaves differently because f90 tells it to, via > f90-comment-indent. Try: > > ! bla > ! bli > > and then hit either TAB or M-; on the second line, and you'll see it > gets indented by 1 more space, just like in your example. ITYM 2 spaces? This takes me back to my original question: Is M-j supposed to re-indent the line it starts on, or not? If not, is it supposed to indent the following line as it would normally be indented, or to match the indentation of the original line? If the answers are "no", and "as normal", then there is no bug here. > It seems that this happens only for comments before source code... Probably because that is an ambiguous state, depending on whether or not a leading "program" line gets added. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3729#10