[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: even more(1) tells you how big the file is on the first screen
From: |
Dan Jacobson |
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 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
>>>>> "A" == Alan Mackenzie <none@example.invalid> 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 )