From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#14448: Wrong indentation in comment lines for F90 mode? Date: Thu, 23 May 2013 22:00:13 +0200 Message-ID: <519E754D.1030405@alice.it> References: <519DF4B7.4020304@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1369339951 1610 80.91.229.3 (23 May 2013 20:12:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 May 2013 20:12:31 +0000 (UTC) Cc: 14448@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 23 22:12:31 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 1UfbsD-0000wx-Ku for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 May 2013 22:12:29 +0200 Original-Received: from localhost ([::1]:60273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfbsD-00060u-6n for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 May 2013 16:12:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufbs3-0005zZ-4g for bug-gnu-emacs@gnu.org; Thu, 23 May 2013 16:12:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ufbru-0002wQ-R3 for bug-gnu-emacs@gnu.org; Thu, 23 May 2013 16:12:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufbru-0002wJ-Nt for bug-gnu-emacs@gnu.org; Thu, 23 May 2013 16:12:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ufbsj-0003St-Sa for bug-gnu-emacs@gnu.org; Thu, 23 May 2013 16:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 May 2013 20:13: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 X-Debbugs-Original-Cc: bug-emacs , Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.136933997413293 (code B ref -1); Thu, 23 May 2013 20:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 May 2013 20:12:54 +0000 Original-Received: from localhost ([127.0.0.1]:58772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ufbsb-0003SH-M7 for submit@debbugs.gnu.org; Thu, 23 May 2013 16:12:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42924) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UfbsZ-0003Rr-J2 for submit@debbugs.gnu.org; Thu, 23 May 2013 16:12:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfbrX-0002pI-K8 for submit@debbugs.gnu.org; Thu, 23 May 2013 16:11:54 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:40789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfbrX-0002p3-Hj for submit@debbugs.gnu.org; Thu, 23 May 2013 16:11:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfbrR-0005Ve-06 for bug-gnu-emacs@gnu.org; Thu, 23 May 2013 16:11:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ufbgw-0007oP-IQ for bug-gnu-emacs@gnu.org; Thu, 23 May 2013 16:01:00 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:51648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ufbgo-0007kz-B0; Thu, 23 May 2013 16:00:42 -0400 Original-Received: from [192.168.1.100] (80.183.93.76) by smtp203.alice.it (8.6.060.15) (authenticated as angelo.graziosi@alice.it) id 5123A597071183AF; Thu, 23 May 2013 22:00:37 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:74510 Archived-At: Il 23/05/2013 19.04, Glenn Morris ha scritto: > Angelo Graziosi wrote: > >> Start Emacs with >> >> $ emacs -Q & >> >> then "C-x C-f foo.f90". Now type "!" to start a comment line and then >> type M-j to produce other comment lines. The result is as follow: >> >> >> ! >> ! > > You reported this before. > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5595 > > As I said then: > > I don't understand what comment-indent-new-line is supposed to do, nor > which variables modes should set to make it work correctly. > Oh, sorry for the noise then... :( Any way, all my observations I did in that thread are still alive... Stefan, have you some comment? In that thread you wrote: > comment-indent-new-line is written with a "traditional" free text style > of languages and comments, so I'm not surprised it doesn't work 100% F90 is a "free text style of languages and comments" like C++, so one doesn't understand why its comments behaves differently... > right under languages such as Fortran. > It's a nasty function, but I've spent a fair bit of time in it (years > ago), so I should be able to track down the problem. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (WoW! I didn't remember that... :-) ) Ciao, Angelo.