[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tramp /NT-Emacs problems
From: |
Patrik Jonsson |
Subject: |
tramp /NT-Emacs problems |
Date: |
Mon, 13 Jan 2003 17:26:40 -0800 |
Hi again,
I figured out what the problem was. If I change the tramp-md5-function from
(defvar tramp-md5-function
(cond ((fboundp 'md5) 'md5)
( (and (require 'md5) (fboundp 'md5-encode)) 'md5-encode)
(t (error "Coulnd't find an `md5' function")))
"Function to call for running the MD5 algorithm.")
to
(defvar tramp-md5-function
(cond ((and (require 'md5)(fboundp 'md5)) 'md5)
( (fboundp 'md5-encode) 'md5-encode)
(t (error "Coulnd't find an `md5' function")))
"Function to call for running the MD5 algorithm.")
it works. While the function md5 generates a printable string, md5-encode
generates a vector of bytes that I guess gets interpreted as a string
containing non printable characters... is there any reason md5 isn't
"require' d" before checking if md5 is bound?
Regards,
/Patrik
============================================================
Patrik Jonsson (831) 459-3809
Department of Astronomy & Astrophysics
University of California, Santa Cruz, CA 95064
This message has been written using a voice recognition system.
Words that don't make sense or not the fault of the author...