From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: describe-mode should first summarize all modes in effect Date: Mon, 29 Sep 2003 11:10:46 -0600 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F786796.4060103@yahoo.com> References: <3F6F155C.4010606@yahoo.com> <3F7301EF.5030701@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064855902 32620 80.91.224.253 (29 Sep 2003 17:18:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Sep 2003 17:18:22 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 29 19:18:19 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A41f9-0002fS-00 for ; Mon, 29 Sep 2003 19:18:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A41eR-0004b2-6h for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Sep 2003 13:17:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A41eK-0004Zl-6p for bug-gnu-emacs@prep.ai.mit.edu; Mon, 29 Sep 2003 13:17:28 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A41dn-0004SH-0U for bug-gnu-emacs@prep.ai.mit.edu; Mon, 29 Sep 2003 13:17:27 -0400 Original-Received: from [216.168.1.22] (helo=trinity.supernews.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 1A41bL-00045c-Pu for bug-gnu-emacs@prep.ai.mit.edu; Mon, 29 Sep 2003 13:14:23 -0400 Original-Received: from mail.fu-berlin.de ([160.45.11.165]:22298 ident=root) by trinity.supernews.net with esmtp (Exim 4.20) id 1A41bE-0000O2-Fd for gnu-emacs-bug@moderators.isc.org; Mon, 29 Sep 2003 17:14:16 +0000 Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Mon, 29 Sep 2003 19:10:46 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Mon, 29 Sep 2003 19:10:45 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 28 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: news.uni-berlin.de 1064855444 10513276 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5881 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5881 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. ... | | Eldoc minor mode (indicator ElDoc): | *Enable or disable eldoc mode. ... -- Kevin Rodgers