From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: Re: even more(1) tells you how big the file is on the first screen Date: Wed, 16 Apr 2003 12:09:27 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <871y039j7s.fsf@jidanni.org> References: <878yufxgz9.fsf@jidanni.org> <98ph7b.r5.ln@acm.acm> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050480236 2140 80.91.224.249 (16 Apr 2003 08:03:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 08:03:56 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 10:03:54 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195hta-0000YO-00 for ; Wed, 16 Apr 2003 10:03:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195hsH-0006iY-00 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2003 04:02:33 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195hro-0006cf-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:02:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195hqu-0004XG-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:01:40 -0400 Original-Received: from tx.symonds.net ([64.246.28.87]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195hqs-0004S6-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:01:06 -0400 Original-Received: from tc218-187-77-171.2-4.pl.apol.com.tw ([218.187.77.171] helo=jidanni.org) by tx.symonds.net with asmtp (Exim 4.04) id 195hqp-00024w-00 for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2003 04:01:04 -0400 Original-Received: from jidanni by jidanni.org with local (Exim 3.36 #1 (Debian)) id 195eEh-0001p7-00 for ; Wed, 16 Apr 2003 12:09:27 +0800 Original-To: bug-gnu-emacs@gnu.org In-Reply-To: <98ph7b.r5.ln@acm.acm> (Alan Mackenzie's message of "15 Apr 2003 22:59:17 +0200") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4808 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4808 >>>>> "A" == Alan Mackenzie writes: A> '((:eval (format "--P%s/%s" (point) A> (save-restriction (widen) A> (point-max))))) OK, but it seems to make too much excitement in the mode line for my tastes. Wait, I see in *Help* %p -- print percent of buffer above top of window, or Top, Bot or All. %P -- print percent of buffer above bottom of window, perhaps plus Top, or print Bottom or All. Apparently emacs is using one of them and I want to try the other, instead. But long browsing in Info doesn't tell how to switch this part of the mode line. OK, back in *Help* mode-line-format's value is shown below...You can customize this variable. But maybe it is default-mode-line-format that i want to customize, not this. Plus I want to just add a couple lines to .emacs and not mess with the customization Automatic Teller interface. So how do I use the other %P/p? If I were to just paste the whole default-mode-line-format into my .emacs just to change one char, my .emacs would grow by 50 lines. A> Email: aacm@muuc.dee; to decode, wherever there is a repeated letter A> (like "aa"), remove half of them (leaving, say, "a"). I was going to send you email, but I refuse to take the decoding exam (Which I was inflicting on others too, only last year :-) See the heartwarming story of how I came to grips with spam, and restored honour to my email address, in http://jidanni.org/comp/config_en.html#spam )