[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 26 Jan 2009 08:28:15 -0800 (PST)
On Jan 26, 6:14 pm, Teemu Likonen <address@hidden> 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:
> > 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
> 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.
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: <!
This is my .emacs file content:
(add-to-list 'load-path "~/elisp")
(autoload 'whitespace-mode "whitespace" "Toggle whitespace
(autoload 'whitespace-toggle-options "whitespace" "Toggle local
`whitespace-mode' options." t)
Appreciate your help,