unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57886: 29.0.50; In `C-h b', allow fold/unfold on headline with RET
@ 2022-09-17 17:48 Stefan Kangas
  2022-09-17 18:23 ` Juri Linkov
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2022-09-17 17:48 UTC (permalink / raw)
  To: 57886

Severity: wishlist

In the `C-h b' or `C-x C-h' screens, I need to put point exactly on the
button and hit "RET" to fold/unfold.

It would be nice if "RET" anywhere on the headline would do the same.





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

* bug#57886: 29.0.50; In `C-h b', allow fold/unfold on headline with RET
  2022-09-17 17:48 bug#57886: 29.0.50; In `C-h b', allow fold/unfold on headline with RET Stefan Kangas
@ 2022-09-17 18:23 ` Juri Linkov
  2022-09-18 10:50   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Juri Linkov @ 2022-09-17 18:23 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 57886

> In the `C-h b' or `C-x C-h' screens, I need to put point exactly on the
> button and hit "RET" to fold/unfold.
>
> It would be nice if "RET" anywhere on the headline would do the same.

This is intentional, so you can press RET on a button on the headline.
For example, RET on `lisp-interaction-mode' will show help for
`lisp-interaction-mode':

  * `lisp-interaction-mode' Major Mode Bindings:
  Key           Binding
  C-j           eval-print-last-sexp
  DEL           backward-delete-char-untabify





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

* bug#57886: 29.0.50; In `C-h b', allow fold/unfold on headline with RET
  2022-09-17 18:23 ` Juri Linkov
@ 2022-09-18 10:50   ` Lars Ingebrigtsen
  2022-09-18 11:13     ` Stefan Kangas
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-18 10:50 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 57886, Stefan Kangas

Juri Linkov <juri@linkov.net> writes:

> This is intentional, so you can press RET on a button on the headline.
> For example, RET on `lisp-interaction-mode' will show help for
> `lisp-interaction-mode':
>
>   * `lisp-interaction-mode' Major Mode Bindings:
>   Key           Binding
>   C-j           eval-print-last-sexp
>   DEL           backward-delete-char-untabify

So I think this is working as intended.  (But people who are used to
Org/outline bindings can use TAB on the entire line.)





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

* bug#57886: 29.0.50; In `C-h b', allow fold/unfold on headline with RET
  2022-09-18 10:50   ` Lars Ingebrigtsen
@ 2022-09-18 11:13     ` Stefan Kangas
  2022-09-18 11:21       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2022-09-18 11:13 UTC (permalink / raw)
  To: Lars Ingebrigtsen, Juri Linkov; +Cc: 57886

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Juri Linkov <juri@linkov.net> writes:
>
>> This is intentional, so you can press RET on a button on the headline.
>> For example, RET on `lisp-interaction-mode' will show help for
>> `lisp-interaction-mode':
>>
>>   * `lisp-interaction-mode' Major Mode Bindings:
>>   Key           Binding
>>   C-j           eval-print-last-sexp
>>   DEL           backward-delete-char-untabify
>
> So I think this is working as intended.

I think it would be good with a bit more DWIM here: RET follows link if
there is one, and folds otherwise.





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

* bug#57886: 29.0.50; In `C-h b', allow fold/unfold on headline with RET
  2022-09-18 11:13     ` Stefan Kangas
@ 2022-09-18 11:21       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-18 11:21 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 57886, Juri Linkov

Stefan Kangas <stefankangas@gmail.com> writes:

> I think it would be good with a bit more DWIM here: RET follows link if
> there is one, and folds otherwise.

That's not my DWIM expectations -- I expect RET to follow links, and do
nothing if there's no links there.





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

end of thread, other threads:[~2022-09-18 11:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17 17:48 bug#57886: 29.0.50; In `C-h b', allow fold/unfold on headline with RET Stefan Kangas
2022-09-17 18:23 ` Juri Linkov
2022-09-18 10:50   ` Lars Ingebrigtsen
2022-09-18 11:13     ` Stefan Kangas
2022-09-18 11:21       ` Lars Ingebrigtsen

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