Article View: gnu.emacs.bug
Article #98603Poll: mode-line percentages
From: Jim Blandy
Date: Thu, 09 May 1991 03:07
Date: Thu, 09 May 1991 03:07
36 lines
2430 bytes
2430 bytes
I've received a couple hundred responses by now - thanks to each of you for your two cents! I'm going to the Bahamas tomorrow. :-) I would like to stop the deluge of messages, so please don't send me any more poll responses. If you're curious: The vast majority agreed that the mode line percentage should show the position of the last line of the window in the buffer. A significant minority suggested that we add another specifier that displays the bottom line's position; people could then use the existing and new specs together to get things like "%33 - %66" (viewing the middle third of the file). Two or three collusive eccentrics :-) suggested a scroll-bar type indicator which would show things like "[--####]" (viewing the last two thirds of the file). I think this is clever, but it feels a bit glitzy to be a primitive; maybe this can wait until we have specs that run arbitrary lisp code. A clever soul pointed out that bottom-line and top-line percentages are symmetrical (except for the fact that the mode line is at the bottom of the window), and thus share benefits and drawbacks. The same person (I think) also observed that people usually read files forwards, not backwards. So the significant decision is now: add a new specifier, or change the old one? The bottom-of-window percentage makes sense and is popular, and defense of the top-of-window percentage has been quite weak (mostly in the name of generality and familiarity). That makes me think that the top-of-window percentage was probably not quite the right feature all along, and is not a very interesting alternative. I am going to change the existing spec to show the bottom-of-window percentage.
Technical Details
Message-ID:
<9105090307.AA22177@wookumz.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,13f02b926fd373a2,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-05-08 20:07:17 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: jimb@GNU.AI.MIT.EDU (Jim Blandy) Newsgroups: gnu.emacs.bug Subject: Poll: mode-line percentages Message-ID: <9105090307.AA22177@wookumz.gnu.ai.mit.edu> Date: 9 May 91 03:07:17 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 36 Approved: bug-gnu-emacs@prep.ai.mit.edu