unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kj <socyl@987jk.com.invalid>
To: help-gnu-emacs@gnu.org
Subject: need help with cryptic error message
Date: Wed, 12 Nov 2008 15:21:24 +0000 (UTC)	[thread overview]
Message-ID: <gfes9k$e1n$1@reader1.panix.com> (raw)



I have Emacs 22.1, and I'm trying to turn on whitespace-mode.
Nothing I have tried works so far.  It would take a very lengthy
post for me to describe everything I've tried, so I'll just say
that the latest I've done is to put the following in my .emacs
file:

  (autoload 'whitespace-mode "whitespace" "Toggle whitespace visualization." t)

...per the documentation in http://www.emacswiki.org/emacs/WhiteSpace.
When I re-start emacs, visit some file, and try the command

  M-x whitespace-mode

...I get the error message

  Autoloading failed to define function whitespace-mode

...which is almost completely useless.  How can I get more information
on why this defintion failed?

(FWIW, emacs won't let me try the command "whitespace" by itself.
If I attempt it, Emacs simply adds a hyphen to the "whitespace" I
had typed in the minibuffer, and waits for some completion from
me, e.g.  "mode".)

The file whitespace.elc is perfectly accessible in
/usr/share/emacs/22.1/lisp/whitespace.elc.  How can I read the
documentation (and, in particular, the version number) in this file?

Any other words of wisdom would be much appreciated.

Thanks!

Kynn

-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.


             reply	other threads:[~2008-11-12 15:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12 15:21 kj [this message]
2008-11-12 16:15 ` need help with cryptic error message Lowell Gilbert

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='gfes9k$e1n$1@reader1.panix.com' \
    --to=socyl@987jk.com.invalid \
    --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).