bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9054: 24.0.50; show source in other window


From: martin rudalics
Subject: bug#9054: 24.0.50; show source in other window
Date: Sat, 18 Sep 2021 09:36:17 +0200

> But the context menu just calls describe-symbol, and describe-symbol
> decides whether there is a documentation for the provided argument.
> So isn't it the task of describe-symbol to signal an error?
>
> Anyway, now if a symbol doesn't exist, then no menu item is added.
> So no error message is needed.

To be useful for beginners, the context menu should not delegate such
tasks to functions like 'describe-symbol'.  As I mentioned before, I'd
even avoid using terms like 'symbol' there.  What I would prefer is that
when I right-click on 'setq' in a form like

(setq x 3)

the context menu proposes

Describe `setq'
Lookup `setq' in Manuals
Show Definition of `setq'
Show References for `setq'

and in addition, if the mouse is say on the 'e' of setq,

Describe character properties of `e'

to run `describe-char' on that `e' so that users are aware of the
granularity of the objects they deal with.

Clicking on "x" OTOH should reveal that the Lisp reader doesn't know
(yet) about "x" while clicking on "3" should reveal that the Lisp reader
considers it an integer.

BTW: Show/Hide in the Options menu should allow to toggle context menu
mode.

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]