unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
@ 2021-09-28 23:10 Stefan Kangas
  2021-09-29  6:54 ` Juri Linkov
  2021-09-29  7:09 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 16+ messages in thread
From: Stefan Kangas @ 2021-09-28 23:10 UTC (permalink / raw)
  To: 50881

Severity: minor

Steps to reproduce:
0. emacs -Q
1. C-h C-s f RET

You are now looking at an empty " *Metahelp*" buffer.

My expectation is that the help screen gets displayed before the search
starts.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-28 23:10 bug#50881: C-h C-s leads to empty " *Metahelp*" buffer Stefan Kangas
@ 2021-09-29  6:54 ` Juri Linkov
  2021-09-29  7:29   ` Lars Ingebrigtsen
  2021-09-29 11:51   ` Eli Zaretskii
  2021-09-29  7:09 ` Lars Ingebrigtsen
  1 sibling, 2 replies; 16+ messages in thread
From: Juri Linkov @ 2021-09-29  6:54 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 50881

> Steps to reproduce:
> 0. emacs -Q
> 1. C-h C-s f RET
>
> You are now looking at an empty " *Metahelp*" buffer.
>
> My expectation is that the help screen gets displayed before the search
> starts.

I tried to reproduce this, then typed 'C-h C-h', and it highlights
matching parens on the first line.  This not only makes no sense,
but also distracting for users seeking help.
'show-paren-mode' should be disabled in all read-only buffers.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-28 23:10 bug#50881: C-h C-s leads to empty " *Metahelp*" buffer Stefan Kangas
  2021-09-29  6:54 ` Juri Linkov
@ 2021-09-29  7:09 ` Lars Ingebrigtsen
  2021-09-29 15:43   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 16+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-29  7:09 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 50881

Stefan Kangas <stefan@marxist.se> writes:

> Severity: minor
>
> Steps to reproduce:
> 0. emacs -Q
> 1. C-h C-s f RET
>
> You are now looking at an empty " *Metahelp*" buffer.
>
> My expectation is that the help screen gets displayed before the search
> starts.

Yup.  And the doc string isn't very helpful:

Search forward "help window".

Which sounds like it's talking about the *Help* window, not the `C-h
C-h' help-for-help window.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29  6:54 ` Juri Linkov
@ 2021-09-29  7:29   ` Lars Ingebrigtsen
  2021-09-29 10:45     ` Stefan Kangas
  2021-09-29 17:08     ` bug#50881: [External] : " Drew Adams
  2021-09-29 11:51   ` Eli Zaretskii
  1 sibling, 2 replies; 16+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-29  7:29 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50881, Stefan Kangas

Juri Linkov <juri@linkov.net> writes:

> I tried to reproduce this, then typed 'C-h C-h', and it highlights
> matching parens on the first line.  This not only makes no sense,
> but also distracting for users seeking help.
> 'show-paren-mode' should be disabled in all read-only buffers.

Yup.  Perhaps disable it in `special-mode'?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29  7:29   ` Lars Ingebrigtsen
@ 2021-09-29 10:45     ` Stefan Kangas
  2021-09-29 15:36       ` Lars Ingebrigtsen
  2021-09-29 17:08     ` bug#50881: [External] : " Drew Adams
  1 sibling, 1 reply; 16+ messages in thread
From: Stefan Kangas @ 2021-09-29 10:45 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 50881, Dmitry Gutov, Juri Linkov

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Juri Linkov <juri@linkov.net> writes:
>
>> I tried to reproduce this, then typed 'C-h C-h', and it highlights
>> matching parens on the first line.  This not only makes no sense,
>> but also distracting for users seeking help.
>> 'show-paren-mode' should be disabled in all read-only buffers.
>
> Yup.  Perhaps disable it in `special-mode'?

Sounds good to me, but are there any special-modes where it is useful?

Perhaps we can just disable it in `special-mode', and if we think of
some modes where it seems really useful, we re-enable it for them?





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29  6:54 ` Juri Linkov
  2021-09-29  7:29   ` Lars Ingebrigtsen
@ 2021-09-29 11:51   ` Eli Zaretskii
  2021-09-29 16:58     ` Juri Linkov
  1 sibling, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2021-09-29 11:51 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50881, stefan

> From: Juri Linkov <juri@linkov.net>
> Date: Wed, 29 Sep 2021 09:54:20 +0300
> Cc: 50881@debbugs.gnu.org
> 
> I tried to reproduce this, then typed 'C-h C-h', and it highlights
> matching parens on the first line.  This not only makes no sense,

Please elaborate why it makes no sense.

> but also distracting for users seeking help.
> 'show-paren-mode' should be disabled in all read-only buffers.

If the problem is with *Help* and other documentation buffers, why
turn it off in _all_ read-only buffers?  The latter is a much broader
category.  For example, debugging Lisp with Edebug makes the source
buffer read-only.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29 10:45     ` Stefan Kangas
@ 2021-09-29 15:36       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 16+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-29 15:36 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 50881, Dmitry Gutov, Juri Linkov

Stefan Kangas <stefan@marxist.se> writes:

> Sounds good to me, but are there any special-modes where it is useful?
>
> Perhaps we can just disable it in `special-mode', and if we think of
> some modes where it seems really useful, we re-enable it for them?

I can't think of any special modes where it's useful, so I think that
sounds like a plan.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29  7:09 ` Lars Ingebrigtsen
@ 2021-09-29 15:43   ` Lars Ingebrigtsen
  2021-09-29 16:06     ` Stefan Kangas
  0 siblings, 1 reply; 16+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-29 15:43 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 50881

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Yup.  And the doc string isn't very helpful:
>
> Search forward "help window".
>
> Which sounds like it's talking about the *Help* window, not the `C-h
> C-h' help-for-help window.

I've now fixed the doc string, and I've made `C-h C-s' just signal an
error if the Metahelp buffer doesn't exist.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29 15:43   ` Lars Ingebrigtsen
@ 2021-09-29 16:06     ` Stefan Kangas
  0 siblings, 0 replies; 16+ messages in thread
From: Stefan Kangas @ 2021-09-29 16:06 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 50881

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I've now fixed the doc string, and I've made `C-h C-s' just signal an
> error if the Metahelp buffer doesn't exist.

Thanks.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29 11:51   ` Eli Zaretskii
@ 2021-09-29 16:58     ` Juri Linkov
  2021-09-29 17:53       ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Juri Linkov @ 2021-09-29 16:58 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50881, stefan

>> 'show-paren-mode' should be disabled in all read-only buffers.
>
> If the problem is with *Help* and other documentation buffers, why
> turn it off in _all_ read-only buffers?  The latter is a much broader
> category.  For example, debugging Lisp with Edebug makes the source
> buffer read-only.

Maybe with Edebug it makes sense, I don't know because I immediately
disabled it globally, and noticed the problem only while trying
to reproduce the reported bug with 'emacs -Q'.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: [External] : bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29  7:29   ` Lars Ingebrigtsen
  2021-09-29 10:45     ` Stefan Kangas
@ 2021-09-29 17:08     ` Drew Adams
  1 sibling, 0 replies; 16+ messages in thread
From: Drew Adams @ 2021-09-29 17:08 UTC (permalink / raw)
  To: Lars Ingebrigtsen, Juri Linkov; +Cc: 50881@debbugs.gnu.org, Stefan Kangas

> > 'show-paren-mode' should be disabled in all read-only buffers.
> 
> Yup.  Perhaps disable it in `special-mode'?

Huh?  Why would we disable it in all read-only buffers?
That would be a backward-incompatible change (and for
the worse).  I count on it in read-only buffers.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29 16:58     ` Juri Linkov
@ 2021-09-29 17:53       ` Eli Zaretskii
  2021-09-29 17:57         ` bug#50881: [External] : " Drew Adams
  2021-09-29 19:20         ` Juri Linkov
  0 siblings, 2 replies; 16+ messages in thread
From: Eli Zaretskii @ 2021-09-29 17:53 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50881, stefan

> From: Juri Linkov <juri@linkov.net>
> Cc: stefan@marxist.se,  50881@debbugs.gnu.org
> Date: Wed, 29 Sep 2021 19:58:08 +0300
> 
> >> 'show-paren-mode' should be disabled in all read-only buffers.
> >
> > If the problem is with *Help* and other documentation buffers, why
> > turn it off in _all_ read-only buffers?  The latter is a much broader
> > category.  For example, debugging Lisp with Edebug makes the source
> > buffer read-only.
> 
> Maybe with Edebug it makes sense, I don't know because I immediately
> disabled it globally, and noticed the problem only while trying
> to reproduce the reported bug with 'emacs -Q'.

That's the problem with thinking your personal preferences are
definitely good for everyone else.  They aren't.

Please, people, just this once, let it go.  We just flipped this
setting on; please let the dust settle at least for a while before you
come up with reasons why it should be turned back off.  It's very easy
to turn it off in your customizations, so if you cannot tolerate it,
just turn it off and move on.  Let's limit any changes related to
show-paren-mode to fixing bugs, like that recursive-load problem
someone just reported.  Everything else let's please filter out.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: [External] : bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29 17:53       ` Eli Zaretskii
@ 2021-09-29 17:57         ` Drew Adams
  2021-09-29 19:20         ` Juri Linkov
  1 sibling, 0 replies; 16+ messages in thread
From: Drew Adams @ 2021-09-29 17:57 UTC (permalink / raw)
  To: Eli Zaretskii, Juri Linkov; +Cc: 50881@debbugs.gnu.org, stefan@marxist.se

> That's the problem with thinking your personal preferences are
> definitely good for everyone else.  They aren't.

100% agreement, FWIW.  And that goes also for
the descendant bugs, 50894 and 50895.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29 17:53       ` Eli Zaretskii
  2021-09-29 17:57         ` bug#50881: [External] : " Drew Adams
@ 2021-09-29 19:20         ` Juri Linkov
  2021-09-29 19:52           ` bug#50881: [External] : " Drew Adams
  2021-09-30  7:03           ` Eli Zaretskii
  1 sibling, 2 replies; 16+ messages in thread
From: Juri Linkov @ 2021-09-29 19:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50881, stefan

> That's the problem with thinking your personal preferences are
> definitely good for everyone else.  They aren't.

This is not a personal preference.  I looked through the eyes of
a beginner who types 'C-h C-h' to get help, and the first thing
the user sees is that parens are highlighted on the first line:

  (Type <PageDown> or <PageUp> to scroll, C-s to search, or q to exit.)

This is what we trying to tell the user with this information:

  Look, it's very important that the first paren on the first line
  matches its closing paren, so we highlighted these parens for you.





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: [External] : bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29 19:20         ` Juri Linkov
@ 2021-09-29 19:52           ` Drew Adams
  2021-09-30  7:03           ` Eli Zaretskii
  1 sibling, 0 replies; 16+ messages in thread
From: Drew Adams @ 2021-09-29 19:52 UTC (permalink / raw)
  To: Juri Linkov, Eli Zaretskii; +Cc: 50881@debbugs.gnu.org, stefan@marxist.se

> > That's the problem with thinking your personal preferences are
> > definitely good for everyone else.  They aren't.
> 
> This is not a personal preference.  I looked through the eyes of
> a beginner who types 'C-h C-h' to get help, and the first thing
> the user sees is that parens are highlighted on the first line:
> 
>   (Type <PageDown> or <PageUp> to scroll, C-s to search, or q to exit.)
> 
> This is what we trying to tell the user with this information:
> 
>   Look, it's very important that the first paren on the first line
>   matches its closing paren, so we highlighted these parens for you.

Mountain out of a mole hill?

Or maybe the new-user takeaway is that Emacs highlights
matching parens by default.  ("Hey, that can be useful!")





^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#50881: C-h C-s leads to empty " *Metahelp*" buffer
  2021-09-29 19:20         ` Juri Linkov
  2021-09-29 19:52           ` bug#50881: [External] : " Drew Adams
@ 2021-09-30  7:03           ` Eli Zaretskii
  1 sibling, 0 replies; 16+ messages in thread
From: Eli Zaretskii @ 2021-09-30  7:03 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50881, stefan

> From: Juri Linkov <juri@linkov.net>
> Cc: stefan@marxist.se,  50881@debbugs.gnu.org
> Date: Wed, 29 Sep 2021 22:20:10 +0300
> 
> > That's the problem with thinking your personal preferences are
> > definitely good for everyone else.  They aren't.
> 
> This is not a personal preference.  I looked through the eyes of
> a beginner

I don't think we can pretend to look at this through the eyes of a
beginner.  We are too far from that, all of us here.

> who types 'C-h C-h' to get help, and the first thing
> the user sees is that parens are highlighted on the first line:
> 
>   (Type <PageDown> or <PageUp> to scroll, C-s to search, or q to exit.)

Yes, and I see no problem with this.  So yes, it is personal
preference of yours.  Let's hear the beginners themselves when Emacs
28.1 hits the street.  Until then, let's stand by our own decision: to
enable this mode by default.





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-09-30  7:03 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 23:10 bug#50881: C-h C-s leads to empty " *Metahelp*" buffer Stefan Kangas
2021-09-29  6:54 ` Juri Linkov
2021-09-29  7:29   ` Lars Ingebrigtsen
2021-09-29 10:45     ` Stefan Kangas
2021-09-29 15:36       ` Lars Ingebrigtsen
2021-09-29 17:08     ` bug#50881: [External] : " Drew Adams
2021-09-29 11:51   ` Eli Zaretskii
2021-09-29 16:58     ` Juri Linkov
2021-09-29 17:53       ` Eli Zaretskii
2021-09-29 17:57         ` bug#50881: [External] : " Drew Adams
2021-09-29 19:20         ` Juri Linkov
2021-09-29 19:52           ` bug#50881: [External] : " Drew Adams
2021-09-30  7:03           ` Eli Zaretskii
2021-09-29  7:09 ` Lars Ingebrigtsen
2021-09-29 15:43   ` Lars Ingebrigtsen
2021-09-29 16:06     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).