From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tomer Newsgroups: gmane.emacs.help Subject: Re: whitespace Date: Mon, 26 Jan 2009 08:28:15 -0800 (PST) Organization: http://groups.google.com Message-ID: <2fe08717-ce9c-4345-8c97-7c7bc7dbcc8d@w24g2000prd.googlegroups.com> References: <81f8a67e-18a7-4103-9320-0818a2f84fdd@p36g2000prp.googlegroups.com> <871vuqujsj.fsf@iki.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1232994827 17157 80.91.229.12 (26 Jan 2009 18:33:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 18:33:47 +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:35:00 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 1LRWHg-0002FO-8a for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 19:34:15 +0100 Original-Received: from localhost ([127.0.0.1]:46477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRWGN-0008Tw-2u for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 13:32:47 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!w24g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 53 Original-NNTP-Posting-Host: 194.90.221.101 Original-X-Trace: posting.google.com 1232987295 3177 127.0.0.1 (26 Jan 2009 16:28:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 26 Jan 2009 16:28:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w24g2000prd.googlegroups.com; posting-host=194.90.221.101; posting-account=GUU4aAoAAADDW-1QNJvzJkNSBV9h7BAT User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121622 Fedora/3.0.5-1.fc10 Firefox/3.0.5, gzip(gfe), gzip(gfe) X-HTTP-Via: 1.1 meteor:8080 (IWSS) Original-Xref: news.stanford.edu gnu.emacs.help:166335 X-Mailman-Approved-At: Mon, 26 Jan 2009 13:13:05 -0500 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:61659 Archived-At: On Jan 26, 6:14=A0pm, Teemu Likonen wrote: > 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: > > =A01. Put the file to some directory where you want to keep your local > =A0 =A0 elisp extensions. It can be anywhere but in this example I'll use > =A0 =A0 the location ~/my-lisp/whitespace.el > > =A02. Add the directory to "load-path" variable. That is, put this line i= n > =A0 =A0 your ~/.emacs file: > > =A0 =A0 =A0 =A0 (add-to-list 'load-path "~/my-lisp") > > =A03. Add autoload definitions to your ~/.emacs file: > > =A0 =A0 =A0 =A0 (autoload 'whitespace-mode "whitespace" > =A0 =A0 =A0 =A0 =A0 "Toggle whitespace visualization." t) > =A0 =A0 =A0 =A0 (autoload 'whitespace-toggle-options "whitespace" > =A0 =A0 =A0 =A0 =A0 "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. Hi Teemu, and thanks for your reply. I followed your steps, but still to no avail. After I type "M-x whitespace-mode", I get the following error: Loading /home/tomer/elisp/whitespace.el (source)... load-with-code-conversion: Symbol's value as variable is void: