unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Why was the global-mode-string moved?
@ 2002-11-01 21:04 John Wiegley
  2002-11-02  0:04 ` Kim F. Storm
  0 siblings, 1 reply; 3+ messages in thread
From: John Wiegley @ 2002-11-01 21:04 UTC (permalink / raw)


I found this entry:

2002-08-21  Kim F. Storm  <storm@cua.dk>

	* bindings.el (mode-line-format): Moved global-mode-string last.
	(mode-line-position): Moved %p first.  Added padding to %l/%c to
	eliminate jumpyness in modeline.  Use (%l,%c) format if both
	line-number-mode and column-number-mode are enabled.

Why was this done?  I liked having the time of day, my current
battery level, etc., *before* the minor-mode-alist.  Since the
minor-mode-alist has a tendency to be large, it now pushes
everything so far off to the right that the mode-line is nearly
useless.

I can fix this for myself, but can anyone tell me why it shouldn't
be moved back?  I think the minor-mode-alist should be close to the
end, since the information it conveys is less often reference than
the other details on the mode-line.

John

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why was the global-mode-string moved?
  2002-11-01 21:04 Why was the global-mode-string moved? John Wiegley
@ 2002-11-02  0:04 ` Kim F. Storm
  2002-11-02  9:38   ` John Wiegley
  0 siblings, 1 reply; 3+ messages in thread
From: Kim F. Storm @ 2002-11-02  0:04 UTC (permalink / raw)
  Cc: emacs-devel

John Wiegley <johnw@gnu.org> writes:

> I found this entry:
> 
> 2002-08-21  Kim F. Storm  <storm@cua.dk>
> 
> 	* bindings.el (mode-line-format): Moved global-mode-string last.
> 	(mode-line-position): Moved %p first.  Added padding to %l/%c to
> 	eliminate jumpyness in modeline.  Use (%l,%c) format if both
> 	line-number-mode and column-number-mode are enabled.
> 
> Why was this done?  I liked having the time of day, my current
> battery level, etc., *before* the minor-mode-alist.  Since the
> minor-mode-alist has a tendency to be large, it now pushes
> everything so far off to the right that the mode-line is nearly
> useless.

You mean ... the only information in the mode line of interest to
you is the time of day and the battery level?

The main rationale for moving the global mode string to the end was
that other things had suddenly been moved from the end of the mode
line to before the (...) part, making that area pretty cluttered.

But seriously, we had a lengthy discussion on this topic back in
August (search the emacs-devel archives), and other raised the
same concerns.  But in reality, the problem is that the mode-line
is simply too short to contain all the information we want to put into it.

We agreed to pursue a solution where we would put the
global-mode-string at the right side of the echo area (when it is not
used for anything else); that way it would practically always be
visible, and not take precious space from the mode-line.

Unfortunately, I haven't had time to look into implementing that yet.

> 
> I can fix this for myself, but can anyone tell me why it shouldn't
> be moved back?  I think the minor-mode-alist should be close to the
> end, since the information it conveys is less often reference than
> the other details on the mode-line.

That's a matter of taste.  The minor mode alist may not be used very
often, but IMO it's important to be able to see it when I actually
need it.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why was the global-mode-string moved?
  2002-11-02  0:04 ` Kim F. Storm
@ 2002-11-02  9:38   ` John Wiegley
  0 siblings, 0 replies; 3+ messages in thread
From: John Wiegley @ 2002-11-02  9:38 UTC (permalink / raw)


>>>>> On Fri Nov  1, Kim writes:

> You mean ... the only information in the mode line of interest to
> you is the time of day and the battery level?

Both taken together let me know when I can stop working.  ;)

> We agreed to pursue a solution where we would put the
> global-mode-string at the right side of the echo area (when it is
> not used for anything else); that way it would practically always
> be visible, and not take precious space from the mode-line.

> Unfortunately, I haven't had time to look into implementing that
> yet.

That sounds reasonable.

> That's a matter of taste.  The minor mode alist may not be used
> very often, but IMO it's important to be able to see it when I
> actually need it.

Sometimes I look to see if Flyspell is enabled, or the major mode,
but when it's 20+ characters long in some buffers, it just whisks
all the remaining information beyond visibility (I use 80 column
wide Emacs windows).  That leaves me with just the current buffer
name and offset.  Not too helpful.

John

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-02  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 21:04 Why was the global-mode-string moved? John Wiegley
2002-11-02  0:04 ` Kim F. Storm
2002-11-02  9:38   ` John Wiegley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).