From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Adding size-indication-mode to Options -> Show/Hide. Date: Wed, 20 Apr 2005 13:18:11 +0200 Message-ID: <87zmvtvgr0.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113995713 31644 80.91.229.2 (20 Apr 2005 11:15:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Apr 2005 11:15:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 20 13:15:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DODAJ-0000Pk-5o for ged-emacs-devel@m.gmane.org; Wed, 20 Apr 2005 13:14:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DODEo-0004a6-61 for ged-emacs-devel@m.gmane.org; Wed, 20 Apr 2005 07:19:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DODEe-0004Zr-TM for emacs-devel@gnu.org; Wed, 20 Apr 2005 07:19:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DODEd-0004Zf-B9 for emacs-devel@gnu.org; Wed, 20 Apr 2005 07:19:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DODEd-0003Qr-6a for emacs-devel@gnu.org; Wed, 20 Apr 2005 07:19:11 -0400 Original-Received: from [194.109.24.30] (helo=smtp-vbr10.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DODFx-0002Ia-HT for emacs-devel@gnu.org; Wed, 20 Apr 2005 07:20:33 -0400 Original-Received: from pijl (a80-127-67-124.adsl.xs4all.nl [80.127.67.124]) by smtp-vbr10.xs4all.nl (8.12.11/8.12.11) with ESMTP id j3KBICgo021045 for ; Wed, 20 Apr 2005 13:18:17 +0200 (CEST) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by pijl with local (Exim 3.36 #1 (Debian)) id 1DODDf-0002xq-00 for ; Wed, 20 Apr 2005 13:18:11 +0200 Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 26 X-Virus-Scanned: by XS4ALL Virus Scanner 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:36152 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36152 Ok to add size-indication-mode to the Options -> Show/Hide submenu? Lute. Index: lisp/menu-bar.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/menu-bar.el,v retrieving revision 1.256 diff -c -r1.256 menu-bar.el *** lisp/menu-bar.el 28 Mar 2005 01:16:44 -0000 1.256 --- lisp/menu-bar.el 20 Apr 2005 11:12:09 -0000 *************** *** 691,696 **** --- 691,701 ---- "Line Numbers" "Show the current line number in the mode line")) + (define-key menu-bar-showhide-menu [size-indication-mode] + (menu-bar-make-mm-toggle size-indication-mode + "Size Indication" + "Show the size of the buffer in the mode line")) + (define-key menu-bar-showhide-menu [linecolumn-separator] '("--"))