unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Suggestions for mode-line-format changes
@ 2002-08-26 16:38 Stefan Monnier
  0 siblings, 0 replies; 61+ messages in thread
From: Stefan Monnier @ 2002-08-26 16:38 UTC (permalink / raw)



Am I the only one whose `which-func-mode' string is way too far
on the right so it most of the time can't be seen (because of the
major/minor mode string which says (Emacs-Lisp ElDoc CDoc Outl Fly).


	Stefan


BTW: There is redundancy between the menu-bar and the minor-mode list in the
     mode-line since both CheckDoc and Outline have their menu-bar entry.
     It really would be great if CheckDoc could easily add itself to the
     Emacs-Lisp menu instead of having its own menu.
     Sadly, keymap-merging for menus doesn't work, so it would have to
     add/remove itself from the emacs-lisp-mode-map rather than simply use
     a minor-mode-map as it currently does.

^ permalink raw reply	[flat|nested] 61+ messages in thread
* Suggestions for mode-line-format changes
@ 2002-08-20 15:32 Kim F. Storm
  2002-08-20 14:51 ` Romain FRANCOISE
                   ` (4 more replies)
  0 siblings, 5 replies; 61+ messages in thread
From: Kim F. Storm @ 2002-08-20 15:32 UTC (permalink / raw)



Now that the mode-line-position information has been moved
from the end of the mode line, and vc-mode is moved there too,
the space between the buffer name and the mode-line-modes
has become pretty crowded.

Now, if you enable display-time and display-battery,
which adds time and battery status, e.g. 15:57 [95%],
to that part of the mode line as well, it's a total mess.

My suggestion is to move the global-mode-string to the
end of the mode line; the cost is that the time and
battery status isn't always shown (especially in
partial width windows).


Also, I would like to suggest an alternative presentation
of the position, line number, and column number.

The current presentation is like

        L1 C0 Top
        L172 C23 43%
        L341 C0 Bot

which I find quite annoying to look at.

I've been using the following alternative for quite some
time, and I find it much easier on the eyes:

        Top (1,0)
        43% (172,23)
        Bot (341,0)

If only one of line-number-mode or column-number-mode is enabled,
this doesn't make much sense, so I use the following formats:

        Top L1
        43% C23
        Bot L341

To try the suggested format, just execute this (and toggle column and
line number mode as you like):

(let ((help-echo "mouse-1: select (drag to resize), mouse-2: delete others, mouse-3: delete"))
  (setq-default mode-line-position
    `((-3 . ,(propertize "%p" 'help-echo help-echo))
      (line-number-mode 
       ((column-number-mode
	 (,(propertize " (%l,%c)" 'help-echo help-echo))
	 (,(propertize " L%l" 'help-echo help-echo))))
       ((column-number-mode
	 (,(propertize " C%c" 'help-echo help-echo))))))))


What do you think?

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

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

end of thread, other threads:[~2002-09-02 10:18 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-26 16:38 Suggestions for mode-line-format changes Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2002-08-20 15:32 Kim F. Storm
2002-08-20 14:51 ` Romain FRANCOISE
2002-08-21  0:11 ` Richard Stallman
2002-08-21 13:11   ` Kim F. Storm
2002-08-22  3:44     ` Richard Stallman
2002-08-21  0:25 ` Kim F. Storm
2002-08-21  4:29 ` Kenichi Handa
2002-08-21  4:52   ` Miles Bader
2002-08-21  9:33     ` Kim F. Storm
2002-08-21 11:01       ` Miles Bader
2002-08-21 11:09         ` Kenichi Handa
     [not found]         ` <m2vg63ekjg.fsf@primate.xs4all.nl>
2002-08-22  2:38           ` Miles Bader
2002-08-24  2:33             ` Richard Stallman
2002-08-25 23:36               ` Kim F. Storm
2002-08-25 22:52                 ` Miles Bader
2002-08-26 21:16                   ` Michael Kifer
2002-08-27  1:52                     ` Miles Bader
2002-08-27  2:28                       ` Michael Kifer
2002-08-27  2:53                         ` Miles Bader
2002-08-27  3:38                           ` Michael Kifer
2002-08-27  4:10                             ` Miles Bader
2002-08-27  4:33                               ` Michael Kifer
2002-08-27  4:56                                 ` Miles Bader
2002-08-27  5:18                                   ` Michael Kifer
2002-08-27  5:37                                     ` Miles Bader
2002-08-27  5:51                                       ` Michael Kifer
2002-08-27  6:25                                         ` Miles Bader
2002-08-27  9:16                                           ` Kim F. Storm
2002-08-27  9:16                                   ` Kim F. Storm
2002-08-23 16:38       ` Alan Shutko
     [not found]         ` <m2hehasikt.fsf@primate.xs4all.nl>
2002-09-01  0:07           ` Alan Shutko
2002-09-01  0:32           ` Glenn Morris
2002-08-21  9:29   ` Kim F. Storm
2002-08-23 16:35   ` Alan Shutko
2002-08-24  0:42     ` Kenichi Handa
2002-08-25 18:23       ` Stefan Monnier
2002-08-26  7:01         ` Kenichi Handa
2002-08-26 16:05           ` Stefan Monnier
2002-08-23 16:33 ` Alan Shutko
2002-08-23 16:58   ` Bill White
2002-08-25 23:41     ` Kim F. Storm
2002-08-25 23:12       ` Alan Shutko
2002-08-26  4:42         ` Eli Zaretskii
2002-08-26  7:12           ` Miles Bader
     [not found]           ` <m265xqsfse.fsf@primate.xs4all.nl>
2002-09-02  1:10             ` Miles Bader
2002-09-02  2:38               ` Alan Shutko
2002-09-02 10:18                 ` Kim F. Storm
2002-08-26 10:20         ` Kim F. Storm
2002-08-26 15:51           ` Alan Shutko
2002-08-26 21:51           ` Richard Stallman
2002-08-27  9:20             ` Kim F. Storm
2002-08-27  8:26               ` Miles Bader
2002-08-27 10:34                 ` Kim F. Storm
2002-08-28  6:52               ` Richard Stallman
2002-08-26 10:25       ` Mario Lang
2002-08-26 15:01         ` Kim F. Storm
2002-08-26 21:51         ` Richard Stallman
2002-08-23 17:08   ` Kai Großjohann
2002-08-25  5:26     ` Richard Stallman
2002-08-25  5:26   ` Richard Stallman

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).