From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: Fortran 90 Code alignments Date: Tue, 27 May 2003 11:22:10 +0300 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3791-Tue27May2003112209+0300-eliz@elta.co.il> References: <65fef11f.0305262323.18100da3@posting.google.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054023799 28367 80.91.224.249 (27 May 2003 08:23:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 08:23:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 27 10:23:17 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19KZjp-0007NM-00 for ; Tue, 27 May 2003 10:23:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KZkG-00008u-TL for gnu-help-gnu-emacs@m.gmane.org; Tue, 27 May 2003 04:23:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19KZk0-0008TT-B4 for help-gnu-emacs@gnu.org; Tue, 27 May 2003 04:23:28 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19KZii-0007yy-Ab for help-gnu-emacs@gnu.org; Tue, 27 May 2003 04:22:09 -0400 Original-Received: from gandalf.inter.net.il ([192.114.186.22]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KZiZ-0007j5-NM for help-gnu-emacs@gnu.org; Tue, 27 May 2003 04:21:59 -0400 Original-Received: from zaretsky (tony08-235-15.inter.net.il [80.230.235.15] (may be forged)) by gandalf.inter.net.il (Mirapoint Messaging Server MOS 3.3.3-GR) with ESMTP id ASF19594; Tue, 27 May 2003 11:21:41 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <65fef11f.0305262323.18100da3@posting.google.com> (ferhun_caner@yahoo.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10217 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10217 > From: ferhun_caner@yahoo.com (Dr. F.C.Caner) > Newsgroups: gnu.emacs.help > Date: 27 May 2003 00:23:58 -0700 > > I am wondering if there is a way to alingn a fortran 90/95 code > properly. The f90 mode that comes with emacs does not do that AFAIK. > For example, I would like > > real(kind=doublep), dimension(:,:), allocatable :: coords > real(kind=doublep), dimension(:), allocatable :: disp > real(kind=doublep), dimension(1:6) :: stress > real(kind=doublep) :: vertdisp, gaussp > > to be > > real(kind=doublep), dimension(:,:), allocatable :: coords > real(kind=doublep), dimension(:), allocatable :: disp > real(kind=doublep), dimension(1:6) :: stress > real(kind=doublep) :: vertdisp, gaussp > > automatically. Is ther a package, a command or similar that does this? I have the function indent-relative bound to M-i, and type M-i whenever I need to align text like you want above. Is that what you want?