* bug#7696: 24.0.50; Elisp manual, doc of `mode-name' and `major-mode'
@ 2010-12-21 4:27 Drew Adams
2012-01-28 4:33 ` Chong Yidong
2012-01-29 5:21 ` Drew Adams
0 siblings, 2 replies; 3+ messages in thread
From: Drew Adams @ 2010-12-21 4:27 UTC (permalink / raw
To: 7696
(elisp) Auto Major Mode documents variable `major-mode'.
(elisp) Major Mode Conventions documents variable `mode-name'.
1. `major-mode' doesn't really have much to do with How Emacs Chooses a
Major Mode. Or, rather, it has to do with that and many other things
equally. So I don't think this is a great place to document this var.
2. More importantly, users sometimes look for the pretty name of the
major mode, which is the value of var `mode-name'. They won't find it
by looking for anything associated with "major", since the name doesn't
reflect that (unfortunately).
At the very least, we should have an index entry that reflects the
search for such a variable using "major": `major-mode name'. (It might
not even be a bad idea to create an alias, `major-mode-name', for
`mode-name'.)
Most importantly in this regard, there should be a cross-ref from the
description of `major-mode' to the node that describes `mode-name'.
Better would be to also mention `mode-name' at that location.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-12-20 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#7696: 24.0.50; Elisp manual, doc of `mode-name' and `major-mode'
2010-12-21 4:27 bug#7696: 24.0.50; Elisp manual, doc of `mode-name' and `major-mode' Drew Adams
@ 2012-01-28 4:33 ` Chong Yidong
2012-01-29 5:21 ` Drew Adams
1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2012-01-28 4:33 UTC (permalink / raw
To: 7696-done
> `major-mode' doesn't really have much to do with How Emacs Chooses a
> Major Mode. Or, rather, it has to do with that and many other things
> equally. So I don't think this is a great place to document this var.
The Major Modes node in the Lisp manual has been revamped, making this
bug report out of date. Closing.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#7696: 24.0.50; Elisp manual, doc of `mode-name' and `major-mode'
2010-12-21 4:27 bug#7696: 24.0.50; Elisp manual, doc of `mode-name' and `major-mode' Drew Adams
2012-01-28 4:33 ` Chong Yidong
@ 2012-01-29 5:21 ` Drew Adams
1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2012-01-29 5:21 UTC (permalink / raw
To: 7696
> > `major-mode' doesn't really have much to do with How Emacs Chooses a
> > Major Mode. Or, rather, it has to do with that and many
> > other things equally. So I don't think this is a great place to
> > document this var.
>
> The Major Modes node in the Lisp manual has been revamped, making this
> bug report out of date. Closing.
Good to hear. I guess I should assume that this revamping addressed the details
in the bug report?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-29 5:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 4:27 bug#7696: 24.0.50; Elisp manual, doc of `mode-name' and `major-mode' Drew Adams
2012-01-28 4:33 ` Chong Yidong
2012-01-29 5:21 ` Drew Adams
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.