From: "B. T. Raven" <ecinmn@alcisp.com>
Subject: Re: Problem with .emacs
Date: Thu, 2 Nov 2006 23:21:31 -0600 [thread overview]
Message-ID: <bb3c8$454acff1$49f20d2$28613@DIALUPUSA.NET> (raw)
In-Reply-To: 4qvvupFol4vsU2@individual.net
"Hendrik Bilges" <VZQNVPETFXMY@spammotel.com> wrote in message
news:4qvvupFol4vsU2@individual.net...
> Hi,
>
> after solving the problem with .emacs not being read (thanks to the
> community :-) ) I am now confronted with an error in .emacs. I'm not
good
> yet at understanding what's going on in this file, most of the stuff I
> simply copied from some examples on the net. Can somebody please have a
> look and point out the mistake(s)?
> Emacs tells me:
>
> An error has occurred while loading `/home/billy/.emacs':
> Symbol's value as variable is void: setq
>
> I posted my .emacs here: http://phpfi.com/170452
>
> Hendrik
It's almost certainly bad syntax somewhere in your .emacs. Invoke emacs
with the switch --debug-init and then evaluate (setq show-paren-mode t )
in *scratch with C-j after closing parenthesis. This highlighting of
matching parentheses can also be turned on via Custom and it writes
'(show-paren-mode t nil (paren)) into the (custom-set-variables .....
list) in your .emacs. I don't understand this syntax but I guess I don't
need to. There are both a variable and a function called show-paren-mode.
This will help you to find the syntax error in the vicinity of one or more
instances of the "setq" token.
A cursory look at your .emacs shows that this certainly looks suspicious:
....
setq TeX-auto-save t
setq TeX-parse-self t
setq-default TeX-master nil
....
Ed.
next prev parent reply other threads:[~2006-11-03 5:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-03 4:47 Problem with .emacs Hendrik Bilges
2006-11-03 5:21 ` B. T. Raven [this message]
2006-11-03 5:39 ` Harold Lee
2006-11-03 6:01 ` Hendrik Bilges
2006-11-03 15:35 ` Kevin Rodgers
2006-11-03 21:47 ` Harold Lee
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='bb3c8$454acff1$49f20d2$28613@DIALUPUSA.NET' \
--to=ecinmn@alcisp.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).