From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Eichwalder Newsgroups: gmane.emacs.help Subject: Re: trailing whitespace visible on some buffers Date: Sat, 14 Sep 2002 20:56:23 +0200 Organization: The Moon On Earth Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032067890 21907 127.0.0.1 (15 Sep 2002 05:31:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 15 Sep 2002 05:31:30 +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 17qS0H-0005hD-00 for ; Sun, 15 Sep 2002 07:31:29 +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 17qS0H-000242-00; Sun, 15 Sep 2002 01:31:29 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-lei1.dfn.de!news-nue1.dfn.de!uni-erlangen.de!elvis.franken.de!chico.franken.de!news.franken.de!gnu.franken.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: tux.gnu.franken.de Original-X-Trace: tux.gnu.franken.de 1032029783 8359 192.168.1.3 (14 Sep 2002 18:56:23 GMT) Original-X-Complaints-To: newsadm@gnu.franken.de Original-NNTP-Posting-Date: Sat, 14 Sep 2002 18:56:23 +0000 (UTC) Mail-copies-to: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:Gvz1ymji8h3eztGVriW3Lnn7rVQ= Original-Xref: nntp.stanford.edu gnu.emacs.help:104916 Original-To: help-gnu-emacs@gnu.org 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:1471 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1471 "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). E.g., it's "Info-mode-hook" (note the upper case letter). I'm using this simple code: (add-hook 'Info-mode-hook (lambda () ;; (define-key Info-mode-map "=" 'delete-other-windows) ;; (define-key Info-mode-map "1" 'delete-other-windows) (setq show-trailing-whitespace nil))) I didn't check the other mode hook names. -- ke@suse.de (work) / keichwa@gmx.net (home): | http://www.suse.de/~ke/ | ,__o Free Translation Project: | _-\_<, http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)