unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Luis O. Silva" <silva@paloma.spbu.ru>
Cc: help-gnu-emacs@gnu.org
Subject: Re: trailing whitespace visible on some buffers
Date: Sat, 14 Sep 2002 16:46:41 +0400	[thread overview]
Message-ID: <15747.12209.45457.329894@localhost.localdomain> (raw)
In-Reply-To: <ufzwcao6f.fsf@oconnor.cx>

Edward,

Thank you for your message (Sat, 14 Sep 2002 09:57:12 GMT), in
which, among other things, you wrote:

   >> 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

   Edward> (setq-default show-trailing-whitespace t)

   >> except for *info*, *diary*, *calendar*, and *mail
   >> presentation*.

   Edward> (let ((hook (lambda () (setq
   Edward> show-trailing-whitespace nil)))) (mapc (lambda
   Edward> (var) (add-hook var hook)) '(info-mode-hook
   Edward> calendar-mode-hook diary-hook)))

   Edward> Untested.

Well, I've tested it and, unfortunately, it doesn't work for
me. I don't understand why it doesn't work, since your
suggestion seems to be appropriate (given my limited knowledge
of lisp).

   Edward> Sorry, I don't know what the *mail presentation*
   Edward> buffer is.

I mean the presentation of my mail folders in VM (View Mail).

   Edward> HTH

On the basis of your suggestion I made some tests without
success. I always have to do `M-x set variable RET
show-trailing-whitespace RET nil RET' once per buffer to do
the trick. May be there are other suggestions?

Thank you
luis


-- 
Luis Octavio Silva P.
St. Petersburg State University.
66/3 Botanicheskaya St., Apt.119/2
Stary Peterhof
St. Petersburg, Russia.

  reply	other threads:[~2002-09-14 12:46 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 ` trailing whitespace visible on some buffers Edward O'Connor
2002-09-14 12:46   ` Luis O. Silva [this message]
     [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=15747.12209.45457.329894@localhost.localdomain \
    --to=silva@paloma.spbu.ru \
    --cc=help-gnu-emacs@gnu.org \
    /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).