all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Why was the global-mode-string moved?
Date: 02 Nov 2002 01:04:50 +0100	[thread overview]
Message-ID: <5xpttox2e5.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <87n0ott31a.fsf@alice.dynodns.net>

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

  reply	other threads:[~2002-11-02  0:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-01 21:04 Why was the global-mode-string moved? John Wiegley
2002-11-02  0:04 ` Kim F. Storm [this message]
2002-11-02  9:38   ` John Wiegley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5xpttox2e5.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.