From: Edward O'Connor <ted@oconnor.cx>
Subject: Re: trailing whitespace visible on some buffers
Date: Sat, 14 Sep 2002 09:57:12 GMT [thread overview]
Message-ID: <ufzwcao6f.fsf@oconnor.cx> (raw)
In-Reply-To: mailman.1031996832.11463.help-gnu-emacs@gnu.org
> This is an elementary question, but I haven't found the solution
> of my problem.
>
> I want to set the buffer-local variable
> `show-trailing-whitespace' to `t' for all buffers
(setq-default show-trailing-whitespace t)
> except for *info*, *diary*, *calendar*, and *mail presentation*.
(let ((hook (lambda () (setq show-trailing-whitespace nil))))
(mapc (lambda (var)
(add-hook var hook))
'(info-mode-hook calendar-mode-hook diary-hook)))
Untested.
Sorry, I don't know what the *mail presentation* buffer is.
HTH
--
Edward O'Connor
ted@oconnor.cx
next parent reply other threads:[~2002-09-14 9:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1031996832.11463.help-gnu-emacs@gnu.org>
2002-09-14 9:57 ` Edward O'Connor [this message]
2002-09-14 12:46 ` trailing whitespace visible on some buffers Luis O. Silva
[not found] ` <mailman.1032006733.12614.help-gnu-emacs@gnu.org>
2002-09-14 18:56 ` Karl Eichwalder
2002-09-15 9:55 ` Luis O. Silva
2002-09-16 17:39 ` Michael J Downes
2002-09-17 7:00 ` Luis O. Silva
2002-09-14 9:45 Luis O. Silva
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=ufzwcao6f.fsf@oconnor.cx \
--to=ted@oconnor.cx \
/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.
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).