From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: 64575@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 [thread overview]
Message-ID: <83r0p9d1p9.fsf@gnu.org> (raw)
In-Reply-To: <86wmz3ix50.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 13 Jul 2023 19:39:23 +0300)
> From: Juri Linkov <juri@linkov.net>
> Cc: 64575@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.
next prev parent reply other threads:[~2023-07-15 8:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 19:18 bug#64575: 29.0.92; Help buffers are unnecessarily under Outline mode Eli Zaretskii
2023-07-12 6:35 ` Juri Linkov
2023-07-12 12:36 ` Eli Zaretskii
2023-07-13 16:39 ` Juri Linkov
2023-07-15 8:21 ` Eli Zaretskii [this message]
2023-07-17 17:51 ` Juri Linkov
2023-07-23 13:16 ` Visuwesh
2023-07-23 13:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r0p9d1p9.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=64575@debbugs.gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.