help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fortran Topics (outline-minor-mode, require, fixed format)


From: Christopher Dimech
Subject: Fortran Topics (outline-minor-mode, require, fixed format)
Date: Sun, 30 May 2021 00:07:34 +0200

> Sent: Sunday, May 30, 2021 at 9:56 AM
> From: "Jean Louis" <bugs@gnu.support>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Fortran Topics (outline-minor-mode, require, fixed format)
>
> * Christopher Dimech <dimech@gmx.com> [2021-05-30 00:26]:
> > For fortran-mode and f90 mode, outline-minor-mode could be set the same way.
> >
> > !! Heading Level 1
> > !!! Subheading Level 2
> > !!!! SubSubHeading Level 3
>
> I think it is user's choice. I did not find any pre-settings.
>
> > Have tried doing "Hide Body" for comments starting with "!" (free format) or
> > "C" (fixed form).  But does not look that "Hide Body" does anything.
>
> It does on my side. To activate settings that I did on the fly, I had
> to do twice M-x outline-minor-mode
>
> > Then users can change them if they want something else or additional 
> > settings.
> >
> > For emacs-lisp-mode, outline-minor-mode can hide strucutres starting with 
> > "(".
> >
> > For fortran, there can be hiding for lines starting with "subroutine" and 
> > "function"
> > when outline-minor-mode in enabled.
>
> I think that is users' choice.

Yes.  For emacs-lisp-mode, there are some default settings already.
I rather not force users to first learn elisp before being able to
easily work on their code.

> > Could send a bug report for a feature request.  What do you think
> > Jean?
>
> I think that few variables are not customizable, but there is no need
> for feature request related to headings for specific mode as
> outline-minor-mode is a users' choice.
>
> General settings could be better, I have already explained how it
> could work, but it is up to developers to decide on it.

Agreed then.

> --
> Jean
>
> Take action in Free Software Foundation campaigns:
> https://www.fsf.org/campaigns
>
> Sign an open letter in support of Richard M. Stallman
> https://stallmansupport.org/
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]