From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: whitespace Date: Mon, 26 Jan 2009 16:14:05 GMT Organization: Sonera Customer Message-ID: <871vuqujsj.fsf@iki.fi> References: <81f8a67e-18a7-4103-9320-0818a2f84fdd@p36g2000prp.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232993590 12388 80.91.229.12 (26 Jan 2009 18:13:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 18:13:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 19:14:20 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRVyT-0003nM-1P for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 19:14:17 +0100 Original-Received: from localhost ([127.0.0.1]:50697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRVxA-0001EK-T8 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 13:12:56 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!uio.no!newsfeed1.funet.fi!newsfeeds.funet.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read4.inet.fi.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:wYVLN/8OyhdmM5MIDFqe1eNfGjE= Original-Lines: 34 Original-NNTP-Posting-Host: 80.220.180.181 Original-X-Complaints-To: abuse@inet.fi Original-X-Trace: read4.inet.fi 1232986445 80.220.180.181 (Mon, 26 Jan 2009 18:14:05 EET) Original-NNTP-Posting-Date: Mon, 26 Jan 2009 18:14:05 EET Original-Xref: news.stanford.edu gnu.emacs.help:166334 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61653 Archived-At: Tomer (2009-01-26 07:45 -0800) wrote: > I'm trying to get emacs (22.2.1, fedora) to show whitespaces (space, > tab, eol). I've followed the instructions - several times, I must say > - here: > http://www.emacswiki.org/emacs/WhiteSpace > But I still can't get emacs to display those characters. > > Does anybody know of a problem with this feature? Here it works nicely with this general form of configuring external features: 1. Put the file to some directory where you want to keep your local elisp extensions. It can be anywhere but in this example I'll use the location ~/my-lisp/whitespace.el 2. Add the directory to "load-path" variable. That is, put this line in your ~/.emacs file: (add-to-list 'load-path "~/my-lisp") 3. Add autoload definitions to your ~/.emacs file: (autoload 'whitespace-mode "whitespace" "Toggle whitespace visualization." t) (autoload 'whitespace-toggle-options "whitespace" "Toggle local `whitespace-mode' options." t) After evaluating the previous elisp expressions (or after restarting Emacs) you have the new mode ready to use: "M-x whitespace-mode". This mode is distributed with Emacs 23 so when/if you later upgrade your Emacs you can just forget about all these.