unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.rodgers@ihs.com>
Subject: Re: Init error message
Date: Tue, 11 Mar 2003 19:19:18 -0700	[thread overview]
Message-ID: <3E6E9926.2080607@ihs.com> (raw)
In-Reply-To: BTuba.52827$sf5.34923@rwcrnsc52.ops.asp.att.net

Kevin Reeder wrote:

>>>Please direct me to a _searchable_ archive of usenet
>>
>>groups.google.com
> 
> Went there and that's better than what I'd come up with on my own.
> However, I need to get grounded in working with this .emacs file. The
> syntax is a mystery and I just want to use the editor! Probably a common
> whine. Is the only option to learn enough of LISP to hack it profitably
> without having to cry for help over every little init error msg?


Have you browsed the Emacs manual?  It's available in emacs via `C-h i'.
If you're not familiar with Info, type `m Info RET' to learn how to browse
the GNU manuals.  Then you can read the Customization node in the Emacs manual,
and its Key Bindings and Init File subnodes in particular.


> BTW, here's the new error:
> 
> 	File error: "Cannot open load file", "auto-save"
> 
> I've located the line with the offending code; interesting it uses the
> apostrophe instead of brackets (require 'auto-save) but when I switch I
> get a different error on the same function which seems to be telling me
> that it doesn't like the brackets. Like I said I'm in the woods here (but
> willing to work).


[up] is a vector constant; keys (i.e. event sequences) are represented as
vectors.

'auto-save evaluates to a symbol; feature names are represented by symbols.

"auto-save" is a string constant; file names are represented as strings.

`C-h f global-set-key RET' explains that it is a function that binds a KEY
to a COMMAND (an interactive function, usually represented by a symbol).

`C-h f require RET' explains that it loads the "FEATURE" file in order to
provide the FEATURE feature.  `C-h f load RET' explains that the directories
in `load-path' are searched for the "FILE" to load.  `C-h v load-path RET'
will show you what directories are being searched for the "auto-save.elc" and
"auto-save.el" files.

The real question is: Why are you trying to load the auto-save library?


> Finally, I should confess to previously using an alternative to GNU Emacs
> because I had found these configuration issues more solvable under the
> alternative. Now I'm abandoning that program for GNU Emacs. Is it possible
> that the .emacs coding varies between the two emacsen?

Of course it is possible, and it's almost certain that the installations are
different (e.g. the load-path directories' contents).  But you are wise to
migrate to the One True Editor.

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  reply	other threads:[~2003-03-12  2:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-11  7:29 Init error message Kevin Reeder
2003-03-11  8:44 ` John Paul Wallington
2003-03-12  0:08   ` Kevin Reeder
2003-03-12  2:19     ` Kevin Rodgers [this message]
2003-03-12 14:36     ` Kai Großjohann
2003-03-13 14:21     ` kgold
2003-03-11 14:27 ` LLeweLLyn
2003-03-12 21:58 ` Kevin Reeder
2003-03-13  2:14   ` Unknown
2003-03-13  7:53     ` Kevin Reeder
2003-03-13 12:06       ` Unknown
2003-03-13 12:44         ` David Kastrup
2003-03-13 13:00         ` John Paul Wallington
2003-03-13 14:03           ` David Kastrup

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=3E6E9926.2080607@ihs.com \
    --to=kevin.rodgers@ihs.com \
    /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).