[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: describe-mode should mention the .el file of the mode
From: |
Kevin Rodgers |
Subject: |
Re: describe-mode should mention the .el file of the mode |
Date: |
Tue, 31 Aug 2004 13:56:15 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
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