From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Customizing the mode line Date: Fri, 30 Oct 2009 22:55:35 +0100 Message-ID: <87ocnopmw8.fsf@escher.local.home> References: <83skd1dta0.fsf@gnu.org> <83ocnoewew.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1256939783 3006 80.91.229.12 (30 Oct 2009 21:56:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Oct 2009 21:56:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 30 22:56:16 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N3zSA-0003n2-FX for ged-emacs-devel@m.gmane.org; Fri, 30 Oct 2009 22:56:14 +0100 Original-Received: from localhost ([127.0.0.1]:51475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3zS9-0006ci-I6 for ged-emacs-devel@m.gmane.org; Fri, 30 Oct 2009 17:56:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3zS1-0006b5-O2 for emacs-devel@gnu.org; Fri, 30 Oct 2009 17:56:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3zRx-0006Tr-3B for emacs-devel@gnu.org; Fri, 30 Oct 2009 17:56:05 -0400 Original-Received: from [199.232.76.173] (port=34778 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3zRw-0006Td-Vv for emacs-devel@gnu.org; Fri, 30 Oct 2009 17:56:01 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:41509) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N3zRw-00063a-JY for emacs-devel@gnu.org; Fri, 30 Oct 2009 17:56:00 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1N3zRu-0003gC-Jt for emacs-devel@gnu.org; Fri, 30 Oct 2009 22:55:58 +0100 Original-Received: from i59f55ccb.versanet.de ([89.245.92.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Oct 2009 22:55:58 +0100 Original-Received: from stephen.berman by i59f55ccb.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Oct 2009 22:55:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i59f55ccb.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116481 Archived-At: On Fri, 30 Oct 2009 17:25:27 +0200 Eli Zaretskii wrote: > Perhaps we should have a command to show the entire mode-line string > in the echo area. The echo area is not limited to a single line, so > it will show everything. FWIW, I use this: (defun srb-display-mode-line-string (&optional arg) "Display the unpropertized mode-line string in the echo area. With prefix argument ARG, insert it at point in the current buffer." (interactive "P") (let ((mode-line-string (eval-expression '(format-mode-line mode-line-format 0)))) (and arg (insert mode-line-string)))) (global-set-key "\C-cf" 'srb-display-mode-line-string) Steve Berman