* Re: report-emacs-bug could also list current modes [not found] <mailman.443.1064004252.21628.bug-gnu-emacs@gnu.org> @ 2003-09-22 15:29 ` Kevin Rodgers 2003-09-24 21:46 ` stop rewriting Message-IDs Dan Jacobson ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: Kevin Rodgers @ 2003-09-22 15:29 UTC (permalink / raw) Dan Jacobson wrote: > report-emacs-bug in its report could also list the current major and minor modes in > effect... > > By the way, aside from blabberous describe-mode, and staring at the > mode line, where is a concise list of the current modes in effect? > There is no list-modes, show-modes, etc. C-x C-b (list-buffers) shows each buffer's major mode. > I do apropos modes, and see things like "minor-modes" with no > explanation of what they are doing there on a separate line: > (apropos "modes" nil) Try: C-h a -mode\' (The minor-modes line is telling you that the symbol is interned in the standard obarray, but it has no value or function binding.) -- Kevin Rodgers ^ permalink raw reply [flat|nested] 8+ messages in thread
* stop rewriting Message-IDs 2003-09-22 15:29 ` report-emacs-bug could also list current modes Kevin Rodgers @ 2003-09-24 21:46 ` Dan Jacobson 2003-09-24 21:50 ` report-emacs-bug could also list current modes Dan Jacobson [not found] ` <mailman.677.1064447066.21628.bug-gnu-emacs@gnu.org> 2 siblings, 0 replies; 8+ messages in thread From: Dan Jacobson @ 2003-09-24 21:46 UTC (permalink / raw) Cc: md Dear bug-gnu-emacs: again: for RFC compliant Message-IDs, there is no reason for bug-gnu-emacs's mailman to rewrite them. For instance, here reading from gmane.org NNTP, my message has References: <mailman.443.1064004252.21628.bug-gnu-emacs@gnu.org> <3F6F155C.4010606@yahoo.com> however mailman.443.1064004252.21628.bug-gnu-emacs@gnu.org is how my article looks to Kevin, but that article can't be found on gmane. The article's original rightful Message-ID is what is on gmane. There is no justification for rewriting Message-IDs other than being too lazy to use a regexp to see if the Message-IDs is RFC compliant. And it's creating a big mess. I sent a message to the maintainers last year. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: report-emacs-bug could also list current modes 2003-09-22 15:29 ` report-emacs-bug could also list current modes Kevin Rodgers 2003-09-24 21:46 ` stop rewriting Message-IDs Dan Jacobson @ 2003-09-24 21:50 ` Dan Jacobson [not found] ` <mailman.677.1064447066.21628.bug-gnu-emacs@gnu.org> 2 siblings, 0 replies; 8+ messages in thread From: Dan Jacobson @ 2003-09-24 21:50 UTC (permalink / raw) >> By the way, aside from blabberous describe-mode, and staring at the >> mode line, where is a concise list of the current modes in effect? >> There is no list-modes, show-modes, etc. K> C-x C-b (list-buffers) shows each buffer's major mode. I meant a list of all the modes in effect for this buffer. Yes, there they are mostly in the modeline, but how about a lisp list? >> I do apropos modes, and see things like "minor-modes" with no >> explanation of what they are doing there on a separate line: >> (apropos "modes" nil) K> Try: C-h a -mode\' OK, C-h a -mode$ looks simpler for me. ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.677.1064447066.21628.bug-gnu-emacs@gnu.org>]
* Re: report-emacs-bug could also list current modes [not found] ` <mailman.677.1064447066.21628.bug-gnu-emacs@gnu.org> @ 2003-09-25 14:55 ` Kevin Rodgers 2003-09-25 16:16 ` Andreas Schwab ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: Kevin Rodgers @ 2003-09-25 14:55 UTC (permalink / raw) Dan Jacobson wrote: >>>By the way, aside from blabberous describe-mode, and staring at the >>>mode line, where is a concise list of the current modes in effect? >>>There is no list-modes, show-modes, etc. > > K> C-x C-b (list-buffers) shows each buffer's major mode. > > I meant a list of all the modes in effect for this buffer. Yes, there > they are mostly in the modeline, but how about a lisp list? If you need it, you could write it yourself: (defun buffer-mode-list () "Return a list of the current buffer's major mode and minor modes." (interactive) (let ((modes (cons major-mode (apply 'nconc (mapcar (lambda (key-value) (let ((variable (car key-value))) (if (and (boundp variable) (symbol-value variable)) (list (symbol-name variable))))) minor-mode-alist))))) (if (interactive-p) (message "%s" modes) modes))) >>>I do apropos modes, and see things like "minor-modes" with no >>>explanation of what they are doing there on a separate line: >>>(apropos "modes" nil) >>> > > K> Try: C-h a -mode\' > > OK, C-h a -mode$ > looks simpler for me. But won't return symbols with a newline in their name. :-) -- Kevin Rodgers ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: report-emacs-bug could also list current modes 2003-09-25 14:55 ` Kevin Rodgers @ 2003-09-25 16:16 ` Andreas Schwab 2003-09-27 4:59 ` describe-mode should first summarize all modes in effect Dan Jacobson [not found] ` <mailman.819.1064714879.21628.bug-gnu-emacs@gnu.org> 2 siblings, 0 replies; 8+ messages in thread From: Andreas Schwab @ 2003-09-25 16:16 UTC (permalink / raw) Cc: gnu-emacs-bug Kevin Rodgers <ihs_4664@yahoo.com> writes: > Dan Jacobson wrote: > >> K> Try: C-h a -mode\' >> OK, C-h a -mode$ >> looks simpler for me. > > But won't return symbols with a newline in their name. :-) It will, and it may match even more than the first. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ^ permalink raw reply [flat|nested] 8+ messages in thread
* describe-mode should first summarize all modes in effect 2003-09-25 14:55 ` Kevin Rodgers 2003-09-25 16:16 ` Andreas Schwab @ 2003-09-27 4:59 ` Dan Jacobson [not found] ` <mailman.819.1064714879.21628.bug-gnu-emacs@gnu.org> 2 siblings, 0 replies; 8+ messages in thread From: Dan Jacobson @ 2003-09-27 4:59 UTC (permalink / raw) Indeed, emacs lacks a command to show concisely what all those mode abbreviations crammed in the modeline stand for. There should be a function explain-modeline-modes, that puts them in the minibuffer. Kevin's function below could be enhanced to do that. Better yet, have describe-mode output Kevin's list at the top of its output, before getting mired in detail. K> Dan Jacobson wrote: >>>> By the way, aside from blabberous describe-mode, and staring at the >>>> mode line, where is a concise list of the current modes in effect? >>>> There is no list-modes, show-modes, etc. K> C-x C-b (list-buffers) shows each buffer's major mode. >> I meant a list of all the modes in effect for this buffer. Yes, >> there >> they are mostly in the modeline, but how about a lisp list? K> If you need it, you could write it yourself: K> (defun buffer-mode-list () K> "Return a list of the current buffer's major mode and minor modes." K> (interactive) K> (let ((modes (cons major-mode K> (apply 'nconc K> (mapcar (lambda (key-value) K> (let ((variable (car key-value))) K> (if (and (boundp variable) K> (symbol-value variable)) K> (list (symbol-name variable))))) K> minor-mode-alist))))) K> (if (interactive-p) K> (message "%s" modes) K> modes))) ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.819.1064714879.21628.bug-gnu-emacs@gnu.org>]
* Re: describe-mode should first summarize all modes in effect [not found] ` <mailman.819.1064714879.21628.bug-gnu-emacs@gnu.org> @ 2003-09-29 17:10 ` Kevin Rodgers 2003-10-02 22:27 ` Dan Jacobson 0 siblings, 1 reply; 8+ messages in thread From: Kevin Rodgers @ 2003-09-29 17:10 UTC (permalink / raw) Dan Jacobson wrote: > Indeed, emacs lacks a command to show concisely what all those mode > abbreviations crammed in the modeline stand for. There should be a > function explain-modeline-modes, that puts them in the minibuffer. > Kevin's function below could be enhanced to do that. > > Better yet, have describe-mode output Kevin's list at the top of its > output, before getting mired in detail. I don't think that's necessary. Everything is explained in the "Mode Line" and "Minor Modes" sections of the Emacs manual. And `C-h m' already lists each minor mode indicator: | The major mode is described first. | For minor modes, see following pages. | | Emacs-Lisp mode: | Major mode for editing Lisp code to run in Emacs. ... | \f | Eldoc minor mode (indicator ElDoc): | *Enable or disable eldoc mode. ... -- Kevin Rodgers ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: describe-mode should first summarize all modes in effect 2003-09-29 17:10 ` Kevin Rodgers @ 2003-10-02 22:27 ` Dan Jacobson 0 siblings, 0 replies; 8+ messages in thread From: Dan Jacobson @ 2003-10-02 22:27 UTC (permalink / raw) >> Better yet, have describe-mode output Kevin's list at the top of its >> output, before getting mired in detail. K> I don't think that's necessary. Everything is explained in the "Mode K> Line" and "Minor Modes" sections of the Emacs manual. dusty manual can tell one what SC MML MC-w Fly ... expand to? K> And `C-h m' already lists each minor mode indicator: K> | The major mode is described first. K> | For minor modes, see following pages. _pages_... scattered miles and miles later, ^L or no ^L. Why not summarize first? RMS sent a probable improvement, but not to this list. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-10-02 22:27 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <mailman.443.1064004252.21628.bug-gnu-emacs@gnu.org> 2003-09-22 15:29 ` report-emacs-bug could also list current modes Kevin Rodgers 2003-09-24 21:46 ` stop rewriting Message-IDs Dan Jacobson 2003-09-24 21:50 ` report-emacs-bug could also list current modes Dan Jacobson [not found] ` <mailman.677.1064447066.21628.bug-gnu-emacs@gnu.org> 2003-09-25 14:55 ` Kevin Rodgers 2003-09-25 16:16 ` Andreas Schwab 2003-09-27 4:59 ` describe-mode should first summarize all modes in effect Dan Jacobson [not found] ` <mailman.819.1064714879.21628.bug-gnu-emacs@gnu.org> 2003-09-29 17:10 ` Kevin Rodgers 2003-10-02 22:27 ` Dan Jacobson
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).