[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Manipulating the modeline
From: |
Chris McMahan |
Subject: |
Re: Manipulating the modeline |
Date: |
Thu, 19 Oct 2006 10:48:15 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
As far as I know, the variable you change is
mode-line-buffer-identification
Here's how I set it for path and file name in the modeline
(setq-default mode-line-buffer-identification
'("%S:"(buffer-file-name "%f")))
This has the unwanted side effect of forcing a file name even for
modes that do not involve a specific file (like gnus). It might be a
good place to start looking, however.
- Chris
"Joakim Hove" <joakim.hove@gmail.com> writes:
> Hello,
>
> my modeline currently displays the name of the buffer I am
> editing/viewing. Is it possibly to change this to include the full path
> to the file (if the buffer is bound to a file)?
>
> Regards
>
> Joakim
>
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================