From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no>
Subject: Re: modeline doesn't divulge buffer will go bye bye
Date: 01 Jul 2002 12:28:39 +0200 [thread overview]
Message-ID: <HBF.20020701wnpw@bombur.uio.no> (raw)
In-Reply-To: 87wuswht8q.fsf@jidanni.org
Dan Jacobson writes:
> After using this ~20 years it dawns on me: The modeline of a buffer
> with an associated file and that with no associated file look the
> same. Bad.
I have this in .emacs:
;; Minor mode alist
(or (assq 'buffer-auto-save-file-name minor-mode-alist)
(setq minor-mode-alist (append minor-mode-alist
'((buffer-auto-save-file-name
(buffer-file-name " :" " :S")
(buffer-file-name " :nS" " :nF")))
'((buffer-backed-up "~")
(case-fold-search "" "nC")
(truncate-lines "$")))))
(variable true-item nil-item) displays true-item if variable is non-nil,
and nil-item (which can be omitted) if it is nil. Item can be a string
or another such list.
--
Hallvard
prev parent reply other threads:[~2002-07-01 10:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-19 2:55 modeline doesn't divulge buffer will go bye bye Dan Jacobson
2002-06-19 17:22 ` Kevin Rodgers
2002-07-01 10:28 ` Hallvard B Furuseth [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=HBF.20020701wnpw@bombur.uio.no \
--to=h.b.furuseth@usit.uio.no \
/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 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).