unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55019: Pressing RET on header line of help buffer describing a lisp entity should go to the source
@ 2022-04-19  9:21 emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-19 11:30 ` Lars Ingebrigtsen
  2022-04-19 11:33 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 3+ messages in thread
From: emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-19  9:21 UTC (permalink / raw)
  To: 55019

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

E.g. take describe-function: diff

The first line:

diff is an autoloaded interactive compiled Lisp function in ‘diff.el’.

The line describes what this entity is and where it is defined. If I want to look it up, then I have to press TAB to go to the link and then RET.

Since RET does not do anything useful on help text anyway, it's more convenient if RET goes to the source when pressed anywhere on the opening text describing the entity, without having to press TAB first.

[-- Attachment #2: Type: text/html, Size: 1477 bytes --]

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

* bug#55019: Pressing RET on header line of help buffer describing a lisp entity should go to the source
  2022-04-19  9:21 bug#55019: Pressing RET on header line of help buffer describing a lisp entity should go to the source emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-04-19 11:30 ` Lars Ingebrigtsen
  2022-04-19 11:33 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-19 11:30 UTC (permalink / raw)
  To: emacsq; +Cc: 55019

emacsq <laszlomail@protonmail.com> writes:

> Since RET does not do anything useful on help text anyway, it's more
> convenient if RET goes to the source when pressed anywhere on the
> opening text describing the entity, without having to press TAB first.

Taking the user to the manual would be a more common thing to do, so if
we're binding RET in that buffer, then that's where it should go.

But I don't think we should, because either would be confusing.  Just
use the `s' and `i' commands instead.

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





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

* bug#55019: Pressing RET on header line of help buffer describing a lisp entity should go to the source
  2022-04-19  9:21 bug#55019: Pressing RET on header line of help buffer describing a lisp entity should go to the source emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-19 11:30 ` Lars Ingebrigtsen
@ 2022-04-19 11:33 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-19 11:33 UTC (permalink / raw)
  To: 55019; +Cc: laszlomail

emacsq via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

> E.g. take describe-function: diff
>
> The first line:
>
> diff is an autoloaded interactive compiled Lisp function in ‘diff.el’.
>
> The line describes what this entity is and where it is defined. If I want to look it up, then I have to press TAB to go to the link and then RET.
>
> Since RET does not do anything useful on help text anyway, it's more
> convenient if RET goes to the source when pressed anywhere on the
> opening text describing the entity, without having to press TAB first.

Since Emacs 28.1, you can press "s" in the *Help* buffer to go directly
to the source.





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

end of thread, other threads:[~2022-04-19 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19  9:21 bug#55019: Pressing RET on header line of help buffer describing a lisp entity should go to the source emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-19 11:30 ` Lars Ingebrigtsen
2022-04-19 11:33 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors

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).