unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tomer <barletz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: whitespace
Date: Mon, 26 Jan 2009 08:28:15 -0800 (PST)	[thread overview]
Message-ID: <2fe08717-ce9c-4345-8c97-7c7bc7dbcc8d@w24g2000prd.googlegroups.com> (raw)
In-Reply-To: 871vuqujsj.fsf@iki.fi

On Jan 26, 6:14 pm, Teemu Likonen <tliko...@iki.fi> 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:
>
>  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: <!
DOCTYPE

This is my .emacs file content:
(add-to-list 'load-path "~/elisp")
(autoload 'whitespace-mode           "whitespace" "Toggle whitespace
visualization."        t)
(autoload 'whitespace-toggle-options "whitespace" "Toggle local
`whitespace-mode' options." t)

Appreciate your help,
Tomer


  reply	other threads:[~2009-01-26 16:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 15:45 whitespace Tomer
2009-01-26 16:14 ` whitespace Teemu Likonen
2009-01-26 16:28   ` Tomer [this message]
2009-01-26 16:44     ` whitespace Teemu Likonen
2009-01-26 16:55       ` whitespace Tomer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2fe08717-ce9c-4345-8c97-7c7bc7dbcc8d@w24g2000prd.googlegroups.com \
    --to=barletz@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).