GNU bug report logs - #64575
29.0.92; Help buffers are unnecessarily under Outline mode

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 11 Jul 2023 19:19:02 UTC

Severity: normal

Found in version 29.0.92

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 64575 <at> debbugs.gnu.org
Subject: bug#64575: 29.0.92; Help buffers are unnecessarily under Outline mode
Date: Sat, 15 Jul 2023 11:21:54 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: 64575 <at> debbugs.gnu.org
> Date: Thu, 13 Jul 2023 19:39:23 +0300
> 
> I tried to enable outline-minor-mode in the output buffer of 'C-h m',
> and it has some problems:
> 
> 1. outline-regexp of 'C-h b' is not suitable for 'C-h m', because the
> output of 'C-h b' is more uniform, but the output of 'C-h m' includes
> free-form text that causes false positives for the regexp ".*:$".
> 
> 2. heading lines of 'C-h m' are beginning with a link, so the link faces
> are copied to the outline indicator.
> 
> Both these problems could be fixed by adding an asterisk to the beginning
> of headings in 'C-h m', for example:
> 
>   * Font-Lock minor mode (no indicator):
> 
> Does this look nice?  Or should we try to find a regexp for existing output?

I don't know.  We also have ^L that separate sections; can we use that
for Outline, or maybe add some heading after ^L?

> >> > The actual functions you use in "C-h f" don't matter; the point is
> >> > that the Outline minor mode, once set by "C-h b", stays turned on in
> >> > the *Help* buffers, instead of being reset when not needed.
> >> 
> >> If you still think it should be disabled everywhere outside of 'C-h b',
> >> this could be fixed by such patch:
> >
> > Thanks, I think this should be installed on master (assuming that it
> > solves the problem; I didn't have time to try it).
> 
> I did more testing, and pushed to master.

Thanks.  Maybe we should close this bug, and handle the "C-h m" issue
separately.




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

Previous Next


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