help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp error in custom-set-variables in ~/.emacs


From: Kevin Rodgers
Subject: Re: tramp error in custom-set-variables in ~/.emacs
Date: Thu, 11 May 2006 14:36:16 -0600
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

ken wrote:
> Doing "load-file ~/.emacs", I got an error which said (approximately)
> "end of file reached before finished parsing".  So I went through
> ~/.emac and found at the end, under
>
> (custom-set-variables
> ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
>
> a really long line and a shorter line after it:
...
> Putting the cursor/point on the first open parenthesis above, the first
> one in " '(tramp-methods (quote...", and running "M-x
> blink-matching-open", the minibuffer says "Mismatched parentheses".  The
> end of "'(tramp-wrong-passwd-regexp ..." is also the end of the file.
> I.e., this is the origin of the first-mentioned error.
>
> What should I do?  (I'm really hoping that my only option is not
> "Upgrade.")  If I simply delete these two lines, replacing them with the
> needed closing parenthesis to "(custom-set-variables ...", would that
> fix the problem?

Yes.

> Or should I instead move the tramp lines to some other
> file?

It depends.  Do you need to change the value of
tramp-wrong-passwd-regexp from its default?

> Thanks for your wise recommendations.

Customize is for pussies.  Real men use setq.

--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]