unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39848: 26.3; Provide better help for menu-bar, e.g., Options > Line Wrapping in This Buffer
@ 2020-03-01  0:46 Drew Adams
  2020-03-01  3:41 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2020-03-01  0:46 UTC (permalink / raw)
  To: 39848

emacs -Q

C-h k

As one example, choose from menu-bar: Options > Line Wrapping in This
Buffer > Wrap at Window Edge

Buffer *Help* shows this:

 <menu-bar> <options> <line-wrapping> <window-wrap> runs the command #[nil "\b\203\b\0\300\303!\210\304
 \205\0\305\306!\207" [visual-line-mode word-wrap truncate-lines 0
 nil toggle-truncate-lines -1] 2 nil nil] (found in global-map), which
 is an interactive compiled Lisp function.

 It is bound to <menu-bar> <options> <line-wrapping> <window-wrap>.

 (anonymous)

 Not documented.

That's nearly useless.  It doesn't take advantage of Emacs or Lisp.

1. Please provide named commands for all Options menu choices.
2. Please try to have *Help* point to the file that defines those
   commands.
3. Please keep byte-compiler gobbledygook out of Emacs help.

Consider this reasonable question, as one point of departure:
https://stackoverflow.com/q/60468217/729907

Yes, there's no satisfactory one-word answer to that user's question,
but s?he should at least be able to more easily track down the code that
provides the option behavior for the current buffer.
As it is now, it's not even obvious that the code is in menu-bar.el.




In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





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

end of thread, other threads:[~2020-03-02  8:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <<62a1ef4d-e9fa-4757-977d-dcb9d3e4aa52@default>
     [not found] ` <<834kv8eo7q.fsf@gnu.org>
     [not found]   ` <<8736as67qh.fsf@stefankangas.se>
     [not found]     ` <<df8fe907-69c4-4bd3-97fd-58a3ea0b4c72@default>
     [not found]       ` <<83pndwynak.fsf@gnu.org>
2020-03-01 21:50         ` bug#39848: 26.3; Provide better help for menu-bar, e.g., Options > Line Wrapping in This Buffer Drew Adams
2020-03-02  8:00           ` Eli Zaretskii
2020-03-01  0:46 Drew Adams
2020-03-01  3:41 ` Eli Zaretskii
2020-03-01  4:04   ` Stefan Kangas
2020-03-01 17:34     ` Drew Adams
2020-03-01 17:53       ` Eli Zaretskii

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