From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Customizing the mode line
Date: Fri, 30 Oct 2009 17:15:28 +0200 [thread overview]
Message-ID: <83pr84ewvj.fsf@gnu.org> (raw)
In-Reply-To: <jwvws2d9g58.fsf-monnier+emacs@gnu.org>
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org
> Date: Fri, 30 Oct 2009 09:38:16 -0400
>
> > Should I file a "wish-list" bug for this?
>
> Yes, please
Done.
> > the percentage of the file before the window start
>
> I indeed never look at it, but I'm uneasy removing it: basically I find
> it redundant when you have scrollbars, but in case you don't have
> scrollbars (e.g. in a non-GUI terminal) it's not redundant (but I got
> so used to using the scrollbars that it never occurs to me to look at
> the modeline for that info. Actually, I do look at the mode-line when
> I need to figure out "where am I" but then I look at the line number
> rather than the percentage).
Right, I also think that both percentage and the line number is
redundant, and we could remove one of them, at least by default,
leaving an option to restore it for those who want that.
And "C-x l" could be enhanced to show more of that information.
> I think the major-mode/minor mode display is important, but I agree that
> it often takes up a lot of space to display unchanging info. It would
> be good to come up with some way to make it more space efficient.
> Maybe we could replace "(Mail Fly Abbrev Fill)" with "(Mail..FAF)" and
> then expand the FAF to "Fly Abbrev Fill" in a tooltip.
We could simply display only the major mode by default, and show the
rest in a tooltip, or with some easily-typed command.
> Maybe we should also come up with a scheme to shrink the displayed
> buffer-name if it exceeds some number of chars.
It should probably be moved to the right edge, because if it does not
show in full, or even not at all, it's not a disaster: the user
generally knows what buffer she is in.
> Another thing we could consider is a generic "make the modeline fit"
> feature: after building the complete unshrunk modeline, we look at its
> length and if it exceeds the window's width, we shrink it
> "intelligently" (e.g. using shrink functions provided via
> text-properties on the various parts of the modeline).
We could also make the mode line take 2 lines, but I think this would
be a big job, because I think various places in the display engine
assume it's only one line.
next prev parent reply other threads:[~2009-10-30 15:15 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-30 11:18 Customizing the mode line Eli Zaretskii
2009-10-30 11:28 ` Juanma Barranquero
2009-10-30 13:38 ` Stefan Monnier
2009-10-30 15:15 ` Eli Zaretskii [this message]
2009-10-30 16:54 ` Drew Adams
2009-10-30 17:18 ` Eli Zaretskii
2009-10-30 19:12 ` Stefan Monnier
2009-10-30 20:39 ` Eli Zaretskii
2009-10-31 5:16 ` Miles Bader
2009-10-31 8:47 ` Eli Zaretskii
2009-10-31 10:00 ` Juanma Barranquero
2009-10-31 16:03 ` Drew Adams
2009-10-31 16:29 ` Eli Zaretskii
2009-10-31 17:03 ` Drew Adams
2009-10-31 6:09 ` Manoj Srivastava
2009-10-31 10:31 ` Štěpán Němec
2009-10-31 20:38 ` Scrollbar thumbs (was: Customizing the mode line) Stefan Monnier
2009-11-01 3:11 ` Scrollbar thumbs Miles Bader
2009-11-02 6:55 ` Stefan Monnier
2009-11-02 7:41 ` Jason Rumney
2009-11-02 14:10 ` Stefan Monnier
2009-11-04 16:36 ` Customizing the mode line Evil Boris
2009-10-30 15:01 ` joakim
2009-10-30 15:25 ` Eli Zaretskii
2009-10-30 21:55 ` Stephen Berman
2009-10-30 17:45 ` Chong Yidong
2009-10-30 20:41 ` Eli Zaretskii
2009-10-30 20:56 ` Lennart Borgman
2009-10-31 0:13 ` Stefan Monnier
2009-10-31 5:17 ` Justin Bogner
2009-10-31 5:19 ` Miles Bader
2009-10-31 11:07 ` Richard Stallman
2009-10-31 11:19 ` Juanma Barranquero
2009-11-01 9:28 ` Richard Stallman
2009-11-01 15:21 ` Juanma Barranquero
2009-10-31 11:27 ` Eli Zaretskii
2009-10-31 14:09 ` Robert J. Chassell
2009-10-31 14:30 ` Eli Zaretskii
2009-10-31 22:13 ` Robert J. Chassell
2009-10-31 22:40 ` Robert J. Chassell
2009-11-01 3:49 ` Eli Zaretskii
2009-10-31 18:55 ` Juanma Barranquero
2009-10-31 17:46 ` M Jared Finder
2009-10-31 18:30 ` Eli Zaretskii
2009-10-31 19:02 ` Juanma Barranquero
2009-10-31 14:33 ` Chong Yidong
2009-10-31 15:45 ` Eli Zaretskii
2009-10-31 18:07 ` Chong Yidong
2009-10-31 18:21 ` Eli Zaretskii
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=83pr84ewvj.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.