* How to customize the mode line ?
@ 2003-12-17 20:17 Apokrif
2003-12-18 17:31 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: Apokrif @ 2003-12-17 20:17 UTC (permalink / raw)
I'd like to add a simple message to my mode line. Of course, I can
type for instance:
(setq mode-name (concat mode-name "foo-bar"))
but as mode-name is a variable and not a function, this works only for
the current buffer. How can I modify this line so that the message
keeps being displayed in all buffers when I stay in a particular mode
(and change the message from time to time )?
--
Signature spirituelle.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to customize the mode line ?
2003-12-17 20:17 How to customize the mode line ? Apokrif
@ 2003-12-18 17:31 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-12-18 17:31 UTC (permalink / raw)
Apokrif wrote:
> I'd like to add a simple message to my mode line. Of course, I can
> type for instance:
>
> (setq mode-name (concat mode-name "foo-bar"))
>
> but as mode-name is a variable and not a function, this works only for
> the current buffer. How can I modify this line so that the message
> keeps being displayed in all buffers when I stay in a particular mode
> (and change the message from time to time )?
Look for `(:eval FORM)' in the Mode Line Data node of the Emacs Lisp manual.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-18 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-17 20:17 How to customize the mode line ? Apokrif
2003-12-18 17:31 ` Kevin Rodgers
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).