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#5595: Commenting in F90 Date: Fri, 19 Feb 2010 13:01:21 -0500 Message-ID: References: <4B7D16C2.3070908@alice.it> <4B7E5CED.5040509@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1266604849 29887 80.91.229.12 (19 Feb 2010 18:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2010 18:40:49 +0000 (UTC) Cc: 5595@debbugs.gnu.org To: Angelo Graziosi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 19 19:40:46 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NiXmD-0005wf-CT for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 19:40:46 +0100 Original-Received: from localhost ([127.0.0.1]:34714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiXmA-0004Nw-GZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 13:40:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiXVB-00071g-67 for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 13:22:57 -0500 Original-Received: from [140.186.70.92] (port=32808 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiXVA-00071Y-Bn for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 13:22:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiXV9-0007sb-Eg for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 13:22:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56832) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiXV9-0007sX-B2 for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 13:22:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NiXAv-0005Po-Q9; Fri, 19 Feb 2010 13:02:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2010 18:02:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5595 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5595-submit@debbugs.gnu.org id=B5595.126660248820792 (code B ref 5595); Fri, 19 Feb 2010 18:02:01 +0000 Original-Received: (at 5595) by debbugs.gnu.org; 19 Feb 2010 18:01:28 +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 1NiXAN-0005PJ-LP for submit@debbugs.gnu.org; Fri, 19 Feb 2010 13:01:27 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiXAM-0005P8-90 for 5595@debbugs.gnu.org; Fri, 19 Feb 2010 13:01:26 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NiXAH-00012i-Md; Fri, 19 Feb 2010 13:01:21 -0500 X-Spook: Ron Brown AIMSX Project Monarch 9705 Samford Road X-Ran: YJ/q}5z3WN0wh^UtrP (Angelo Graziosi's message of "Fri\, 19 Feb 2010 10\:42\:05 +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.11 Precedence: list Resent-Date: Fri, 19 Feb 2010 13:02:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35198 Archived-At: Angelo Graziosi wrote: > It is not clear why this happens only with F90 mode. Repeating with > foo.cpp' (C/C++ mode and '!' --> '//') or with 'foo.f' (Fortran mode, > !' --> 'C'), C-M-j sets the comment character correctly indended (to > me!), under the previous and not shifted... But 'C' comments in Fortran mode get zero indentation, so how can one tell if this functin is indenting the first line or not? Like I said, I don't really understand what this function is supposed to do, nor which variables modes should set to make it work correctly. Perhaps the maintainer of newcomment.el can help us out...