From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Luis O. Silva" Newsgroups: gmane.emacs.help Subject: trailing whitespace visible on some buffers Date: Sat, 14 Sep 2002 13:45:34 +0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <15747.1342.200552.59394@localhost.localdomain> Reply-To: "Luis O. Silva" NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1031996831 6997 127.0.0.1 (14 Sep 2002 09:47:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 14 Sep 2002 09:47:11 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17q9W9-0001oi-00 for ; Sat, 14 Sep 2002 11:47:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17q9WD-0002yw-00; Sat, 14 Sep 2002 05:47:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17q9VF-0002sV-00 for help-gnu-emacs@gnu.org; Sat, 14 Sep 2002 05:46:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17q9VD-0002s2-00 for help-gnu-emacs@gnu.org; Sat, 14 Sep 2002 05:46:12 -0400 Original-Received: from relay.wplus.net ([195.131.52.142]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17q9G1-0002PS-00 for help-gnu-emacs@gnu.org; Sat, 14 Sep 2002 05:30:29 -0400 X-Real-To: Original-Received: from emaile.wplus.net (email.wplus.net [195.131.52.155]) by relay.wplus.net (8.9.1/8.9.1/wplus.2) with ESMTP id NAA78823 for ; Sat, 14 Sep 2002 13:30:27 +0400 (MSD) Original-Received: by emaile.wplus.net with scanned-ok (WebPlus antispam mailer ) id 17q9Fy-000EZd-00 for help-gnu-emacs@gnu.org; Sat, 14 Sep 2002 13:30:26 +0400 Original-Received: from [195.131.51.49] (helo=localhost.localdomain) by emaile.wplus.net with esmtp (WebPlus antispam mailer ) id 17q9Fx-000EZU-00 for help-gnu-emacs@gnu.org; Sat, 14 Sep 2002 13:30:26 +0400 Original-To: help-gnu-emacs@gnu.org X-Mailer: VM 6.97 under Emacs 21.1.1 X-Virus-Scanned: by AVP (http://www.avp.ru/) X-IP: 195.131.51.49 X-From: silva@paloma.spbu.ru Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1463 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1463 Dear Emacs community, 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 except for *info*, *diary*, *calendar*, and *mail presentation*. In the emacs node of info I found how to set local variables to different _modes_ using "hooks", but I don't know how to set buffer-local variables to concrete buffers. Thank you very much in advance, luis -- Luis Octavio Silva P. St. Petersburg State University. 66/3 Botanicheskaya St., Apt.119/2 Stary Peterhof St. Petersburg, Russia.