all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tramp error in custom-set-variables in ~/.emacs
@ 2006-05-11 16:01 ken
  2006-05-11 20:36 ` Kevin Rodgers
       [not found] ` <mailman.1700.1147379855.9609.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: ken @ 2006-05-11 16:01 UTC (permalink / raw)



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:

 '(tramp-methods (quote (("rcp" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "rsh") (tramp-rcp-program
"rcp") (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
nil) (tramp-rcp-keep-date-arg "-p") (tramp-su-program nil)
(tramp-su-args nil) (tramp-encoding-command nil) (tramp-decoding-command
nil) (tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("scp"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh") (tramp-rcp-program "scp") (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("scp1"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh1") (tramp-rcp-program "scp1") (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("scp2"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh2") (tramp-rcp-program "scp2") (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("rsync"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh") (tramp-rcp-program "rsync") (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args ("-e" "ssh"))
(tramp-rcp-keep-date-arg "-t") (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("ru"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"rsh") (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh")
(tramp-rsh-args nil) (tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
(tramp-su-program nil) (tramp-su-args nil) (tramp-encoding-command
"uuencode xxx") (tramp-decoding-command "( uudecode -o - 2>/dev/null ||
uudecode -p 2>/dev/null )") (tramp-encoding-function nil)
(tramp-decoding-function uudecode-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("su" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "ssh") (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args ("-e" "none"))
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program
nil) (tramp-su-args nil) (tramp-encoding-command "uuencode xxx")
(tramp-decoding-command "( uudecode -o - 2>/dev/null || uudecode -p
2>/dev/null )") (tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("su1" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "ssh1") (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("su2" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "ssh2") (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("rm" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "rsh") (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("sm" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "ssh") (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args ("-e" "none"))
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program
nil) (tramp-su-args nil) (tramp-encoding-command "mimencode -b")
(tramp-decoding-command "mimencode -u -b") (tramp-encoding-function
base64-encode-region) (tramp-decoding-function base64-decode-region)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("smp"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh") (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "tramp_mimencode") (tramp-decoding-command
"tramp_mimedecode") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil)) ("sm1" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "ssh1") (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("sm2" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "ssh2") (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args ("-e" "none"))
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program
nil) (tramp-su-args nil) (tramp-encoding-command "mimencode -b")
(tramp-decoding-command "mimencode -u -b") (tramp-encoding-function
base64-encode-region) (tramp-decoding-function base64-decode-region)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("tm"
(tramp-connection-function tramp-open-connection-telnet)
(tramp-rsh-program nil) (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
"telnet") (tramp-telnet-args nil)) ("tu" (tramp-connection-function
tramp-open-connection-telnet) (tramp-rsh-program nil) (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program "telnet")
(tramp-telnet-args nil)) ("sum" (tramp-connection-function
tramp-open-connection-su) (tramp-rsh-program nil) (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program "su")
(tramp-su-args ("-" "%u")) (tramp-encoding-command "mimencode -b")
(tramp-decoding-command "mimencode -u -b") (tramp-encoding-function
base64-encode-region) (tramp-decoding-function base64-decode-region)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("suu"
(tramp-connection-function tramp-open-connection-su) (tramp-rsh-program
nil) (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args
nil) (tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
(tramp-su-program "su") (tramp-su-args ("-" "%u"))
(tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("sudm" (tramp-connection-function tramp-open-connection-su)
(tramp-rsh-program nil) (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program "sudo") (tramp-su-args
("-u" "%u" "-s")) (tramp-encoding-command "mimencode -b")
(tramp-decoding-command "mimencode -u -b") (tramp-encoding-function
base64-encode-region) (tramp-decoding-function base64-decode-region)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("sudu"
(tramp-connection-function tramp-open-connection-su) (tramp-rsh-program
nil) (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args
nil) (tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
(tramp-su-program "sudo") (tramp-su-args ("-u" "%u" "-s"))
(tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("multi" (tramp-connection-function tramp-open-connection-multi)
(tramp-rsh-program nil) (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("multiu" (tramp-connection-function
tramp-open-connection-multi) (tramp-rsh-program nil) (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("scpx" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "ssh") (tramp-rcp-program "scp") (tramp-remote-sh
"/bin/sh") (tramp-rsh-args ("-e" "none" "-t" "-t" "/bin/sh"))
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg "-p")
(tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("smx"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh") (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none" "-t" "-t" "/bin/sh")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("km" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "krlogin")
(tramp-rcp-program nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args
("-x")) (tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
(tramp-su-program nil) (tramp-su-args nil) (tramp-encoding-command
"mimencode -b") (tramp-decoding-command "mimencode -u -b")
(tramp-encoding-function base64-encode-region) (tramp-decoding-function
base64-decode-region) (tramp-telnet-program nil) (tramp-telnet-args nil)))))

 '(tramp-wrong-passwd-regexp "^.*\\(Permission denied.\\|Login
[Ii]ncorrect\\|Received signal [0-9]+\\|Connection
\\(refused\\|closed\\)\\|Sorry, try again.\\|Name or service not
known\\|Bad passphrase\\).*$")


(For readability, because the first (very long) line wraps around, I've
inserted a blank line between these two lines just in this email.)

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?  Or should I instead move the tramp lines to some other
file?

Thanks for your wise recommendations.


-- 
As a statistic, the US Unemployment Rate is like saying that no one is
drowning because the flood waters have risen only five inches today.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tramp error in custom-set-variables in ~/.emacs
  2006-05-11 16:01 tramp error in custom-set-variables in ~/.emacs ken
@ 2006-05-11 20:36 ` Kevin Rodgers
       [not found] ` <mailman.1700.1147379855.9609.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2006-05-11 20:36 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tramp error in custom-set-variables in ~/.emacs
       [not found] ` <mailman.1700.1147379855.9609.help-gnu-emacs@gnu.org>
@ 2006-05-12  0:35   ` B. T. Raven
  2006-05-12  8:13   ` Michael Albinus
  1 sibling, 0 replies; 4+ messages in thread
From: B. T. Raven @ 2006-05-12  0:35 UTC (permalink / raw)



"Kevin Rodgers" <ihs_4664@yahoo.com> wrote in message
news:mailman.1700.1147379855.9609.help-gnu-emacs@gnu.org...
> 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.

This sounds like a variant of "Assembler is for wusses (more politically
correct); real men use soldering irons."

Ed.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tramp error in custom-set-variables in ~/.emacs
       [not found] ` <mailman.1700.1147379855.9609.help-gnu-emacs@gnu.org>
  2006-05-12  0:35   ` B. T. Raven
@ 2006-05-12  8:13   ` Michael Albinus
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2006-05-12  8:13 UTC (permalink / raw)
  Cc: help-gnu-emacs

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> 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!
>>
>> 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?

You can remove all these custom lines from your .emacs, if you haven't
changed the default values.

>> Thanks for your wise recommendations.
>
> Customize is for pussies.  Real men use setq.

s/setq/set/

Best regards, Michael.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-12  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-11 16:01 tramp error in custom-set-variables in ~/.emacs ken
2006-05-11 20:36 ` Kevin Rodgers
     [not found] ` <mailman.1700.1147379855.9609.help-gnu-emacs@gnu.org>
2006-05-12  0:35   ` B. T. Raven
2006-05-12  8:13   ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.