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

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

bug#11340: 24.0.95; hide-show-mode hides only ever other subroutine in F


From: Stefan Kangas
Subject: bug#11340: 24.0.95; hide-show-mode hides only ever other subroutine in Fortran-mode
Date: Fri, 01 Nov 2019 20:56:30 +0100

found 11340 27.0.50
thanks

Anton Daitche <a.daitche@googlemail.com> writes:

> Use the following example source code:
>
> module test_mod
>   implicit none
>
> contains
>   
>   subroutine a()
>   end subroutine a
>
>   subroutine b()
>   end subroutine b
>
>   subroutine c()
>   end subroutine c
>
>   subroutine d()
>   end subroutine d
>
> end module test_mod
>
> enable hide-show-mode (hs-minor-mode) and execute command hs-hide-level when 
> cursor is outside of any subroutine. The result is that only every other 
> subroutine gets hidden.
> This can be also reproduced with emacs 23.2.1 (debian-stable).

I can reproduce this on current master.

Glenn Morris <rgm@gnu.org> writes:

> Thanks for the report. At first sight, it looks like f90-end-block-re
> and f90-start-block-re should not be anchored to the start of the line.
> Expect to see this fixed in Emacs 24.2.

Did you ever look into this?

Best regards,
Stefan Kangas





reply via email to

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