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

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

bug#7040: 24.0.50; tramp-handle-directory-files is not loaded


From: Michael Albinus
Subject: bug#7040: 24.0.50; tramp-handle-directory-files is not loaded
Date: Thu, 16 Sep 2010 12:14:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> Hi Michael,

Hi Thierry,

>> Works for me. Maybe, tramp-loaddefs.el is not regenerated? 
> Don't know, is the makefile aware of this file? 

It should, I have committed the patch at once, including Makefile.in
changes. However, a simple "make" does NOT generate autoloads (not only
for Tramp).

>> Try # cd lisp; make autoloads
> Sorry, i can't do that yet as the emacs24 i have is installed by gentoo
> from bzr, but the makefiles are removed in directory.
> Maybe i can try to load the file itself? (need to switch i am on 23 now)

Do you use Tramp outside the Emacs distribution? Have you downloaded
from the Tramp repo?

> It's just a problem of loading the definition of
> tramp-handle-directory-files, what i do here in anything-config.el
> because i need this definition for compatibility with emacs versions < 23.2.
> So it is working fine with this definition loaded.

Oops, it is not recommended to call `tramp-handle-*' functions directly
(you would bypass locking mechanisms). With recent Tramp 2.2, those
functions have been moved to another package. Likely, that's why you
don't see them. Instead of, call

(tramp-file-name-handler 'directory-files ...)

This shall also work with Emacs 23.

Best regards, Michael.





reply via email to

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