From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: `size-indication-mode' tweak Date: Sun, 17 Sep 2006 22:27:18 +0300 Organization: JURTA Message-ID: <87venme1k9.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158527973 15004 80.91.229.2 (17 Sep 2006 21:19:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2006 21:19:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 17 23:19:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GP42k-0005Pk-KH for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2006 23:19:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP42k-00060D-37 for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2006 17:19:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GP42Z-000600-Ut for emacs-devel@gnu.org; Sun, 17 Sep 2006 17:19:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GP42Z-0005zk-FH for emacs-devel@gnu.org; Sun, 17 Sep 2006 17:19:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GP42Z-0005zg-9o for emacs-devel@gnu.org; Sun, 17 Sep 2006 17:19:03 -0400 Original-Received: from [212.109.32.24] (helo=gnome.kiev.sovam.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GP45G-0007b3-GW for emacs-devel@gnu.org; Sun, 17 Sep 2006 17:21:50 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]) by gnome.kiev.sovam.com with esmtp (Exim 4.60) (envelope-from ) id 1GP3P8-0009mw-VG for emacs-devel@gnu.org; Sun, 17 Sep 2006 23:38:18 +0300 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.60) (envelope-from ) id 1GP2Lm-000O5u-Ks; Sun, 17 Sep 2006 22:30:47 +0300 Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Thu, 14 Sep 2006 10:09:35 -0700") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Scanner-Signature: 5389b9e13478507b5d7b23e4ed053241 X-DrWeb-checked: yes X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 257 [September 15 2006] X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0242], KAS30/Release X-Delayed: more then 1h on relay02.kiev.sovam.com 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:59947 Archived-At: > After the release: > > How about considering this minor tweak to `size-indication-mode'? > The doc string would also need to be updated accordingly. > > The idea is this: Whenever the region is active in transient-mark mode, the > size indication shows the size of the region, not the size of the buffer. BTW, sometimes I need to see the number of bytes in the region in addition to the number of characters after typing M-= `count-lines-region'. This way I can see how many bytes this region will occupy when saved on disk. The same information could be displayed in the mode line using some new customization for `size-indication-mode' after the release. -- Juri Linkov http://www.jurta.org/emacs/