🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99056

Amount of file beyond bottom of window

#99056
From: Michael Ernst
Date: Wed, 05 Dec 1990 05:05
20 lines
1589 bytes
Often one would like to know how much of a file is below the bottom of the
screen as well (as well as what percent is above the top, which is easy to
display in the mode line).

For one thing, this is a good indicator of how large the file is,
particularly when the top or bottom is currently being displayed.  It also
tells how close to the end of the file one is; this is especially hard to
guess if the size of the file isn't known.  I also don't know how to tell
how much of the file is above the top of the window when the bottom of the
file is being displayed.

Thus, I'd like to propose a new %-operator, %P, for the mode line.  It
returns the percent of the file beyond the window.  %p would no longer
return "Bottom".  I don't particularly care whether, when the entire file
is displayed, %p returns "Top" or "All".

Or is there another way to do what I want?

					-Michael Ernst
					 mernst@theory.lcs.mit.edu 
Technical Details
Message-ID: <MERNST.90Dec5000525@emu.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!THEORY.LCS.MIT.EDU!mernst

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,3f7097830d0009f,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-12-04 21:05:25 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!THEORY.LCS.MIT.EDU!mernst
From: mernst@THEORY.LCS.MIT.EDU (Michael Ernst)
Newsgroups: gnu.emacs.bug
Subject: Amount of file beyond bottom of window
Message-ID: <MERNST.90Dec5000525@emu.lcs.mit.edu>
Date: 5 Dec 90 05:05:25 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: MIT Lab for Computer Science
Lines: 20
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Wed Dec  5 06:05:25 1990