unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* f90 problem
@ 2002-03-30  3:45 Richard Stallman
  2002-04-01  1:58 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2002-03-30  3:45 UTC (permalink / raw)


Would anyone like to work on this?

> From: "Richard E. Hawkins" <hawk@fac13.ds.psu.edu>
> Subject: f90 continuation lines w/ comments only indent properly w/ tab
> To: bug-gnu-emacs@gnu.org
> X-Sent: 5 days, 3 hours, 5 minutes, 25 seconds ago
> 
> This bug report will be sent to the Free Software Foundation,
> not to your local site managers!
> Please write in English, because the Emacs maintainers 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.
> 
> In GNU Emacs 21.1.1 (i386--freebsd, X toolkit, Xaw3d scroll bars)
>  of 2002-03-18 on fac13.ds.psu.edu
> configured using `configure  --prefix=/usr/local i386--freebsd'
> 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: nil
>   locale-coding-system: nil
>   default-enable-multibyte-characters: t
> 
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
> 
> The reformatting is inconsistent between region indentation
>   (meta-ctrl-Q) and the use of tab on an individual line, when
>   formatting a multi-line variable declaration which includes
>   comments.  For example, indent-region yields the following:
> 
>   integer,parameter::  &
>        ! the ratio of consumers to merchants
>   nmScale=100 ,&
>        ! the number of merchants
>   nTotMerchants=100,&
>        ! yielding hte number of consumers
>   nTotConsumers = nmScale*nTotMerchants,&
>  
> whereas hitting tab line by line will correctly indent nmScale, etc.
> 
> The two are inconsistent.  The tab behavior is the correct behavior.
> 
> hawk
> 
> 
> Recent input:
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <drag-mouse-1> <down-mouse-1> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <mouse-movement> <mouse-movement> <mouse-movement> 
> <drag-mouse-1> <down-mouse-1> <mouse-movement> <mouse-movement> 
> <mouse-1> <down-mouse-3> <mouse-3> <help-echo> <help-echo> 
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
> <help-menu> <report-emacs-bug>
> 
> Recent messages:
> execute-extended-command: The mark is not set now
> Loading emacsbug...done
> Loading cus-edit...
> Loading easymenu...done
> Loading cus-edit...done
> list: Command attempted to use minibuffer while in minibuffer
> byte-code: Quit
> No end found.
> No beginning-found.
> Indenting the whole file...done

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: f90 problem
  2002-03-30  3:45 f90 problem Richard Stallman
@ 2002-04-01  1:58 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2002-04-01  1:58 UTC (permalink / raw)
  Cc: emacs-devel

> Would anyone like to work on this?
[...]
> > The reformatting is inconsistent between region indentation
> >   (meta-ctrl-Q) and the use of tab on an individual line, when
> >   formatting a multi-line variable declaration which includes
> >   comments.  For example, indent-region yields the following:
[...]
> > The two are inconsistent.  The tab behavior is the correct behavior.

I'm willing to work on this, but my solution might not be to
everybody's taste:

  Remove f90-indent-region and set indent-region-function to nil,


-- Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-01  1:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-30  3:45 f90 problem Richard Stallman
2002-04-01  1:58 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).