* describe-mode should mention the .el file of the mode
@ 2004-08-28 18:53 Dan Jacobson
0 siblings, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2004-08-28 18:53 UTC (permalink / raw)
We hit C-h m, describe-mode, on your average mode:
The major mode is described first.
For minor modes, see following pages.
[average] mode:
bla bla bla
Well, aren't you going to tell us what .el file this mode is defined
in, and make it a clickable link so one can go straight to see the
file?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: describe-mode should mention the .el file of the mode
[not found] <mailman.559.1093742942.1998.bug-gnu-emacs@gnu.org>
@ 2004-08-30 18:41 ` Kevin Rodgers
2004-08-31 17:37 ` Dan Jacobson
[not found] ` <mailman.887.1093976083.1998.bug-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Kevin Rodgers @ 2004-08-30 18:41 UTC (permalink / raw)
Dan Jacobson wrote:
> We hit C-h m, describe-mode, on your average mode:
> The major mode is described first.
> For minor modes, see following pages.
>
> [average] mode:
> bla bla bla
>
> Well, aren't you going to tell us what .el file this mode is defined
> in, and make it a clickable link so one can go straight to see the
> file?
No, that would be overkill. If you want to see the source code of the
major mode function, type `C-h v major-mode', click on the function
name, then click on the file name. You suggestion would only save the
user 1 mouse click, hardly worth it.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: describe-mode should mention the .el file of the mode
2004-08-30 18:41 ` describe-mode should mention the .el file of the mode Kevin Rodgers
@ 2004-08-31 17:37 ` Dan Jacobson
[not found] ` <mailman.887.1093976083.1998.bug-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2004-08-31 17:37 UTC (permalink / raw)
K> No, that would be overkill. If you want to see the source code of the
K> major mode function, type `C-h v major-mode', click on the function
K> name, then click on the file name. You suggestion would only save the
K> user 1 mouse click, hardly worth it.
We examine the differences,
< text-mode is an interactive compiled Lisp function in `textmodes/text-mode'.
< (text-mode)
---
> The major mode is described first.
> For minor modes, see following pages.
> Text mode:
< makefile-mode is an interactive compiled Lisp function in `make-mode'.
< (makefile-mode)
---
> The major mode is described first.
> For minor modes, see following pages.
> Makefile mode:
As we see, with the present C-h m, we are denied the juicy link.
Instead Mr. Rodgers proposes the user translate "Makefile" into
"makefile-mode", "Text" into "text-mode", and hit some more keys, for
fear of overkill.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: describe-mode should mention the .el file of the mode
[not found] ` <mailman.887.1093976083.1998.bug-gnu-emacs@gnu.org>
@ 2004-08-31 19:56 ` Kevin Rodgers
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2004-08-31 19:56 UTC (permalink / raw)
Dan Jacobson wrote:
> K> No, that would be overkill. If you want to see the source code of the
> K> major mode function, type `C-h v major-mode', click on the function
> K> name, then click on the file name. You suggestion would only save the
> K> user 1 mouse click, hardly worth it.
>
> We examine the differences,
Between the output of `C-h m' in Text mode and in Makefile mode --
why?
...
> As we see, with the present C-h m, we are denied the juicy link.
> Instead Mr. Rodgers proposes the user translate "Makefile" into
> "makefile-mode", "Text" into "text-mode", and hit some more keys, for
> fear of overkill.
No, I propose that the user let Emacs translate `major-mode' into
`text-mode' or `makefile-mode' for him/her. But my claim that the
difference between your request and this approach was only 1 mouse
failed to consider the 10 characters in "major-mode". Like this:
(defun describe-major-mode-function ()
"*Display the full documentation of the `major-mode' function."
(interactive)
(describe-function major-mode))
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-31 19:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.559.1093742942.1998.bug-gnu-emacs@gnu.org>
2004-08-30 18:41 ` describe-mode should mention the .el file of the mode Kevin Rodgers
2004-08-31 17:37 ` Dan Jacobson
[not found] ` <mailman.887.1093976083.1998.bug-gnu-emacs@gnu.org>
2004-08-31 19:56 ` Kevin Rodgers
2004-08-28 18:53 Dan Jacobson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.