bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: that unfortunate "Top" (or "Bottom") in the mode-line


From: Eli Zaretskii
Subject: Re: that unfortunate "Top" (or "Bottom") in the mode-line
Date: Thu, 04 Jan 2001 22:33:19 +0200

> From: Dan Jacobson <jidanni@kimo.FiXcomTHiS.tw>
> Newsgroups: gnu.emacs.bug
> Date: 05 Jan 2001 01:40:02 +0800
> 
> All I know is that puny punk less(1) program can do it [at least on
> the first screen [it said 6% when I viewed a 400 line file] so there's
> no reason the almighty emacs shouldn't.

Less shows "END" on the last page, which you wanted to avoid.  Less
also cheats: when you see the first screenful of text, it computes the
percentage as if there were 1 line above the screen, whereas in
reality there's zero lines.

So Less is not such a good example to follow, unless you are willing
to settle for any random number instead of the current "Top" and
"Bot".

But let's leave Less alone: I wanted to know what would _you_ want to
see instead of "Top" and "Bot"?

> > > Note that the percentage shows how much of the file is above the
> > > first screen line,
> 
> I don't know the details. Show me percentage of days left till the
> Christmas shopping season and I'd probably be happy.

Then there's nothing to fix: I hereby declare that "Top" and "Bot" are
the percentage of days till Christmas, albeit in ancient Mayan units,
because percents are not appropriate for the first and the last
screenful.

[If you want to talk seriously about this, I'm ready.]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]