[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] Re: NTEmacs: Changing mode line color based on line separator
From: |
Martin Fischer |
Subject: |
[h-e-w] Re: NTEmacs: Changing mode line color based on line separator |
Date: |
Fri, 25 Oct 2002 20:02:16 +0200 |
User-agent: |
Emacs Gnus |
"LE" == Longmire, Ernie <address@hidden> writes:
LE> Date: Thu, 24 Oct 2002 14:29:28 -0700
LE> Newsgroups: gmane.emacs.windows
LE>
LE> I'm sure there's a way to do this, but I haven't got enough experience to
LE> know how: I'd like to change the mode-line face when a buffer is using
LE> something other than the newline as a line separator. Have it go
LE> white-on-red when I'm in a DOS-format file, for example. How would I
LE> implement this?
hi,
i guess the variable buffer-file-coding-system contains the required
information (?).
martin
LE>
LE> --
LE> Ernie Longmire
LE> Charles Schwab & Co.
LE>
LE> WARNING: All e-mail sent to this address will be received by the Charles
LE> Schwab & Co., Inc. corporate e-mail system and is subject to archival and
LE> review by someone other than the recipient.
LE>
LE>
LE>