From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evangelos Evangelou Newsgroups: gmane.emacs.bugs Subject: bug#3729: f90-mode indentation Date: Tue, 30 Jun 2009 14:30:56 +0200 Message-ID: Reply-To: Evangelos Evangelou , 3729@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246371568 22671 80.91.229.12 (30 Jun 2009 14:19:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2009 14:19:28 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 16:19:18 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from mail-forward2.uio.no ([129.240.10.71]) by lo.gmane.org with esmtp (Exim 4.50) id 1MLe9C-0000ux-6W for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 16:17:22 +0200 Original-Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1MLdeX-0008QW-4I for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 15:45:41 +0200 Original-Received: from mail-mx6.uio.no ([129.240.10.47]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1MLdeX-0008QT-3H for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 15:45:41 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx6.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MLdeW-0002Z4-1C for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 15:45:41 +0200 Original-Received: from localhost ([127.0.0.1]:48997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLdeU-0002Gs-Lg for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2009 09:45:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLcaa-0006Dz-Ng for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 08:37:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLcaW-000679-II for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 08:37:32 -0400 Original-Received: from [199.232.76.173] (port=54847 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLcaW-00066k-5j for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 08:37:28 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36224) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MLcaV-0000lk-Fy for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 08:37:27 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5UCbO0u003118; Tue, 30 Jun 2009 05:37:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5UCZ6vq002465; Tue, 30 Jun 2009 05:35:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Evangelos Evangelou Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Jun 2009 12:35:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3729 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12463650722242 (code B ref -1); Tue, 30 Jun 2009 12:35:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 Jun 2009 12:31:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5UCV7se002237 for ; Tue, 30 Jun 2009 05:31:08 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLcUM-0006Fb-OH for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 08:31:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLcUH-0006Aa-AT for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 08:31:05 -0400 Original-Received: from [199.232.76.173] (port=52855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLcUH-0006AH-1a for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 08:31:01 -0400 Original-Received: from mxp2.isis.unc.edu ([152.2.2.160]:33147 helo=mxpm.isis.unc.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MLcUG-00082x-Mj for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2009 08:31:00 -0400 Original-Received: from smtp.unc.edu (smtpsrv3.isis.unc.edu [152.2.2.251]) by mxp2 (8.14.3/8.14.3) with ESMTP id n5UCUxPq024625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 30 Jun 2009 08:30:59 -0400 Original-Received: from LAPTOP-EDU (vp0297.uvt.nl [137.56.81.43]) (authenticated bits=0) by smtp.unc.edu (8.14.3/8.14.3) with ESMTP id n5UCUvFR010974 for ; Tue, 30 Jun 2009 08:30:59 -0400 (EDT) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt) X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-06-30_03:2009-06-25, 2009-06-30, 2009-06-29 signatures=0 X-Proofpoint-Spam-Details: rule=uncdefault_notspam policy=uncdefault score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0811170000 definitions=main-0906300059 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 30 Jun 2009 08:37:32 -0400 X-Mailman-Approved-At: Tue, 30 Jun 2009 09:45:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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 X-UiO-Spam-info: not spam, SpamAssassin (score=-4.0, required=5.0, autolearn=disabled, RCVD_IN_DNSWL_MED=-4, uiobl=NO, uiouri=_URIID_) X-UiO-Scanned: FAD05DBC849C32F1721804D1BCFD29D48576378F X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 80 minaction 2 bait 0 mail/h: 26 total 102045 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.bugs:29104 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The f90-mode indents by two spaces the code when the first non-comment line starts with include. For example, starting emacs with -Q flag and typing the following in f90-mode !! Comment include "file.f90" subroutine test (x) real x x = x+1. return end subroutine test pointing in the first line and then running f90-indent-subprogram will indent all lines by 2. This is not the case (the correct) if the line include "file.f90" was missing. I think there shouldn't be any indentation. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file c:/Emacs/etc/DEBUG for instructions. In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: cp1253 default-enable-multibyte-characters: t Major mode: F90 Minor modes in effect: iswitchb-mode: t erc-track-mode: t erc-stamp-mode: t erc-match-mode: t shell-dirtrack-mode: t savehist-mode: t recentf-mode: t show-paren-mode: t delete-selection-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: 1 Recent input: e t s t . 1 e s t . 3 C-x 1 C-x C-b C-x v v C-c C-c C-x C-b C-g C-SPC C-w C-y ! ! ! SPC F i l e s SPC n e e d e d SPC b y SPC t h i s SPC : C-e M-; SPC ! ! ! SPC m a t f c n . f 9 0 C-M-q C-SPC M-; C-M-q C-SPC M-; C-x C-s C-M-q C-_ C-h ? SPC M-x r e p o r t Recent messages: Mark activated Mark set Indenting the whole file...done Mark activated Wrote e:/work/asymp_spatial_laplace/program/estimation/estlik.f90 Mark set Indenting the whole file...done Undo! Making completion list... Loading emacsbug...done