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

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

bug#10787: 23.4; hs-hide-* functions don't honor page break in Emacs-Lis


From: Stefan Kangas
Subject: bug#10787: 23.4; hs-hide-* functions don't honor page break in Emacs-Lisp major mode (and probably others too)
Date: Fri, 01 Nov 2019 23:45:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

oitofelix@gmail.com (Bruno FĂ©lix Rezende Ribeiro) writes:

> Suppose that you have a buffer with Emacs-Lisp major mode and hs minor
> mode enabled and into it a piece of code like this: (where ^L indicates
> page break)
>
> --
>
> ;; here is only a foo comment for a commented bar function
> ;; (defun my-bar-function () nil)
>
> ^L
> ;; here is another foo comment for another commented bar function
> ;; (defun my-second-bar-function () nil)
>
> --
>
> Now, if you run hs-hide-all command the text appears like this:
>
> --
>
> ;; here is only a foo comment for a commented bar function...
>
> --
>
> It's very annoying.  I often comment consecutive functions and
> hs-hide-all don't honor sequential newlines.  So, I was breaked page
> hoping that my functions were kept separated.  But that didn't happen.
> This bug report is to suggest developers to make hs-hide-* functions
> respect page breaks for this and others major modes too.

This was reported 7 years ago, but never got a reply at the time.

I can't reproduce this on current master.  Are you still seeing this
on a modern version of Emacs?

If I don't hear back from you within a couple of weeks, Ill just close
this bug as unreproducible.

Best regards,
Stefan Kangas





reply via email to

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