GNU bug report logs - #11340
24.0.95; hide-show-mode hides only ever other subroutine in Fortran-mode

Previous Next

Package: emacs;

Reported by: Anton Daitche <a.daitche <at> googlemail.com>

Date: Wed, 25 Apr 2012 16:07:01 UTC

Severity: normal

Tags: confirmed

Found in versions 27.0.50, 24.0.95

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Anton Daitche <a.daitche <at> googlemail.com>, 11340 <at> debbugs.gnu.org
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 <at> 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 <at> 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




This bug report was last modified 1 year and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.