* mode-line now has WAY fewer items on it! eg follow-mode
@ 2013-10-09 9:26 David Combs
2013-10-09 16:28 ` jpkotta
2013-10-09 19:55 ` Emanuel Berg
0 siblings, 2 replies; 3+ messages in thread
From: David Combs @ 2013-10-09 9:26 UTC (permalink / raw)
To: help-gnu-emacs
I've noticed that version 24.2.1 of emacs no longer
puts useful things like follow-mode on the mode line.
Even an abbreviation would be better than nothing: follow
rather than follow-mode, say. Of foll.
Work-arounds?
Thanks,
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mode-line now has WAY fewer items on it! eg follow-mode
2013-10-09 9:26 mode-line now has WAY fewer items on it! eg follow-mode David Combs
@ 2013-10-09 16:28 ` jpkotta
2013-10-09 19:55 ` Emanuel Berg
1 sibling, 0 replies; 3+ messages in thread
From: jpkotta @ 2013-10-09 16:28 UTC (permalink / raw)
To: help-gnu-emacs
On Wednesday, October 9, 2013 4:26:22 AM UTC-5, David Combs wrote:
> I've noticed that version 24.2.1 of emacs no longer
>
> puts useful things like follow-mode on the mode line.
>
>
>
>
>
> Even an abbreviation would be better than nothing: follow
>
> rather than follow-mode, say. Of foll.
>
>
>
> Work-arounds?
>
>
>
> Thanks,
>
>
>
> David
Follow-mode is defined without a "lighter". You can add one yourself with (add-to-list 'minor-mode-alist '(follow-mode " follow")).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mode-line now has WAY fewer items on it! eg follow-mode
2013-10-09 9:26 mode-line now has WAY fewer items on it! eg follow-mode David Combs
2013-10-09 16:28 ` jpkotta
@ 2013-10-09 19:55 ` Emanuel Berg
1 sibling, 0 replies; 3+ messages in thread
From: Emanuel Berg @ 2013-10-09 19:55 UTC (permalink / raw)
To: help-gnu-emacs
dkcombs@panix.com (David Combs) writes:
> Even an abbreviation would be better than nothing:
> follow rather than follow-mode, say. Of foll.
I don't know exactly what you are after but I managed to
fix the mode-line issue in my early Emacs days with the
below material [1]. I you (or anyone else) know how to
improve it do tell.
Here is a dump [2] that shows that, at the surface at
least, it works. But I wonder if those functions get
called an unnecessary amount of times?
Yes, how *do* you setup the mode line, on a mode-basis,
the standard way?
[1]
;; mode line / mode bar color and face
(defun set-mode-bar-colors (f b)
(interactive "s Background (bar) color: \ns Foreground (face) color: ")
(set-face-attribute 'modeline nil
:reverse-video nil
:background f :foreground b) )
(set-mode-bar-colors "blue" "white")
;; minibuffer
(set-face-foreground 'minibuffer-prompt "green")
;; mode line: what to show
(defvar *show-mode-line-caption*)
(setq *show-mode-line-caption* nil)
(defvar *mode-line-caption*)
(defvar *show-mode-line-modified*)
(setq *show-mode-line-modified* t)
(defvar *show-default-directory*)
(setq *show-default-directory* t)
(defvar *show-mode-line-buffer-identification*)
(setq *show-mode-line-buffer-identification* t)
(defvar *show-mode-line-modes*)
(setq *show-mode-line-modes* nil)
(setq column-number-mode nil)
(setq line-number-mode nil)
(defun set-mode-line ()
(interactive)
(setq-default mode-line-format
`(" "
(*silly-projector* " ")
(*show-mode-line-modified* mode-line-modified)
(*show-mode-line-modified* " ")
(*show-mode-line-caption* *mode-line-caption*)
(*show-mode-line-caption* " ")
(*show-default-directory* default-directory)
(*show-mode-line-buffer-identification* mode-line-buffer-identification)
(*show-mode-line-buffer-identification* " ")
(line-number-mode "[%l] ")
(column-number-mode "{%c} ")
(*show-mode-line-modes* mode-line-modes) )))
(set-mode-line)
;; example for local mode
(defun set-buffer-menu-mode-line ()
"Mode line: Set the mode line for Buffer Menu mode."
(set-variable '*mode-line-caption* "" t)
(set-variable '*show-mode-line-caption* nil t)
(set-variable '*show-mode-line-modified* nil t)
(set-variable '*show-default-directory* nil t)
(set-variable '*show-mode-line-buffer-identification* t t)
(set-variable '*show-mode-line-modes* nil t)
(set-variable 'column-number-mode nil t)
(set-variable 'line-number-mode nil t) )
(add-hook 'buffer-menu-mode-hook 'set-buffer-menu-mode-line)
[2] http://user.it.uu.se/~embe8573/pics/usenet.png
--
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united: http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-09 19:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09 9:26 mode-line now has WAY fewer items on it! eg follow-mode David Combs
2013-10-09 16:28 ` jpkotta
2013-10-09 19:55 ` Emanuel Berg
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.