[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: directory-files-and-attributes
From: |
Michael Albinus |
Subject: |
Re: directory-files-and-attributes |
Date: |
15 Oct 2002 08:49:19 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Tim Connors <address@hidden> writes:
> This now causes problems for me, with directory-files-and-attributes not
> having a function definition. I just searched the web, and found that may
> be a depreciated function call under emacs, and probably never existed
> under xemacs.
I've seen it as well, but I didn't want to change it because I'm not
sure what was intended by Kai. I guess he will fix it soon.
> Not knowing much (well, emacs) lisp, what would be a quick workaround?
Apply (temporarily!) the following patch:
cd ~/src/tramp/lisp/
diff -c /home/albinus/src/tramp/lisp/tramp.el.\~1\~
/home/albinus/src/tramp/lisp/tramp.el
*** /home/albinus/src/tramp/lisp/tramp.el.~1~ Tue Oct 15 08:44:50 2002
--- /home/albinus/src/tramp/lisp/tramp.el Tue Oct 15 08:45:53 2002
***************
*** 1243,1255 ****
the visited file modtime.")
(make-variable-buffer-local 'tramp-buffer-file-attributes)
! (defvar tramp-end-of-output
! (concat "///" (md5 (concat (prin1-to-string process-environment)
! (current-time-string)
! (prin1-to-string
! (directory-files-and-attributes
! (or (getenv "HOME")
! (tramp-temporary-file-directory)))))))
"String used to recognize end of output.")
(defvar tramp-connection-function nil
--- 1243,1249 ----
the visited file modtime.")
(make-variable-buffer-local 'tramp-buffer-file-attributes)
! (defvar tramp-end-of-output "/////"
"String used to recognize end of output.")
(defvar tramp-connection-function nil
Diff finished at Tue Oct 15 08:46:24
Best regards, Michael.