GNU bug report logs - #10787
23.4; hs-hide-* functions don't honor page break in Emacs-Lisp major mode (and probably others too)

Previous Next

Package: emacs;

Reported by: oitofelix <at> gmail.com (Bruno Félix Rezende Ribeiro)

Date: Sat, 11 Feb 2012 03:58:02 UTC

Severity: normal

Tags: unreproducible

Found in version 23.4

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 10787 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: oitofelix <at> gmail.com (Bruno Félix Rezende Ribeiro)
Cc: 10787 <at> debbugs.gnu.org
Subject: Re: 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
oitofelix <at> 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




This bug report was last modified 5 years and 169 days ago.

Previous Next


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