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: Re: trailing whitespace visible on some buffers Date: Sun, 15 Sep 2002 13:55:15 +0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <15748.22787.267250.956498@localhost.localdomain> References: 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 1032082877 8357 127.0.0.1 (15 Sep 2002 09:41:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 15 Sep 2002 09:41:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org 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 17qVtz-0002Af-00 for ; Sun, 15 Sep 2002 11:41:15 +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 17qVtc-00056Q-00; Sun, 15 Sep 2002 05:40:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17qVse-0004kx-00 for help-gnu-emacs@gnu.org; Sun, 15 Sep 2002 05:39:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17qVsc-0004kj-00 for help-gnu-emacs@gnu.org; Sun, 15 Sep 2002 05:39:52 -0400 Original-Received: from relay.wplus.net ([195.131.52.142]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17qVsc-0004kf-00 for help-gnu-emacs@gnu.org; Sun, 15 Sep 2002 05:39:50 -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 NAA12533 for ; Sun, 15 Sep 2002 13:39:48 +0400 (MSD) Original-Received: by emaile.wplus.net with scanned-ok (WebPlus antispam mailer ) id 17qVsU-000JMk-00 for help-gnu-emacs@gnu.org; Sun, 15 Sep 2002 13:39:42 +0400 Original-Received: from [195.131.51.49] (helo=localhost.localdomain) by emaile.wplus.net with esmtp (WebPlus antispam mailer ) id 17qVsT-000JMX-00; Sun, 15 Sep 2002 13:39:42 +0400 Original-To: Karl Eichwalder Original-Newsgroups: gnu.emacs.help In-Reply-To: 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:1476 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1476 Dear Karl, Thank you for your message (Sat, 14 Sep 2002 20:56:23 +0200), in which, among other things, you wrote: Karl> "Luis O. Silva" writes: 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). Karl> E.g., it's "Info-mode-hook" (note the upper case letter)... Yes, after testing Edward's suggestion I found that the problem was that I was using incorrect mode hook names. Karl> (add-hook 'Info-mode-hook Karl> (lambda () Karl> ;; (define-key Info-mode-map "=" 'delete-other-windows) Karl> ;; (define-key Info-mode-map "1" 'delete-other-windows) Karl> (setq show-trailing-whitespace nil))) Thanks to you I've solved my problem with *info* (thanks to Edward I solved it for *diary*). It remains the *calendar*. I've probed some mode hook names (including calendar-load-hook) without success. Are there some suggestions on this? Thank you very much luis -- Luis Octavio Silva P. St. Petersburg State University. 66/3 Botanicheskaya St., Apt.119/2 Stary Peterhof St. Petersburg, Russia.