[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How about a non-nil and non-t value of show-trailing-whitespace?
From: |
Sam Steingold |
Subject: |
Re: How about a non-nil and non-t value of show-trailing-whitespace? |
Date: |
01 Aug 2001 21:01:00 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 |
> * In message <address@hidden>
> * On the subject of "How about a non-nil and non-t value of
> show-trailing-whitespace?"
> * Sent on Mon, 30 Jul 2001 12:23:50 +0100
> * Honorable "Marshall, Simon" <address@hidden> writes:
>
> But then I thought---maybe a more general solution is for
> show-trailing-whitespace to have some extra semantics.
>
> So, I suggest that redisplay is changed so that if
> show-trailing-whitespace is non-nil and non-t, Emacs should highlight
> trailing whitespace only if buffer-read-only is t.
an addendum: when `show-trailing-whitespace' is a function, it is called
in the current buffer and the return value is used to decide whether to
highlight trailing whitespace.
ps. may I suggest adding `delete-trailing-whitespace' to
`write-file-hooks'?
--
Sam Steingold (http://www.podval.org/~sds)
Support Israel's right to defend herself! <http://www.i-charity.com/go/israel>
Read what the Arab leaders say to their people on <http://www.memri.org/>
main(a){a="main(a){a=%c%s%c;printf(a,34,a,34);}";printf(a,34,a,34);}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: How about a non-nil and non-t value of show-trailing-whitespace?,
Sam Steingold <=