From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#7040: 24.0.50; tramp-handle-directory-files is not loaded Date: Thu, 16 Sep 2010 12:14:11 +0200 Message-ID: References: <878w32xb4k.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284633651 27432 80.91.229.12 (16 Sep 2010 10:40:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2010 10:40:51 +0000 (UTC) Cc: "7040@debbugs.gnu.org" <7040@debbugs.gnu.org> To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 16 12:40:49 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OwBtX-0004kO-IV for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Sep 2010 12:40:48 +0200 Original-Received: from localhost ([127.0.0.1]:58944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwBtW-0002Ev-Rs for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Sep 2010 06:40:46 -0400 Original-Received: from [140.186.70.92] (port=33917 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwBtP-0002E1-3W for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 06:40:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwBtN-00060P-KU for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 06:40:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49690) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwBtN-00060L-Iw for bug-gnu-emacs@gnu.org; Thu, 16 Sep 2010 06:40:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OwBRi-0003Gu-F1; Thu, 16 Sep 2010 06:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Sep 2010 10:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7040 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7040-submit@debbugs.gnu.org id=B7040.128463191612566 (code B ref 7040); Thu, 16 Sep 2010 10:12:02 +0000 Original-Received: (at 7040) by debbugs.gnu.org; 16 Sep 2010 10:11:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwBRb-0003Gd-TU for submit@debbugs.gnu.org; Thu, 16 Sep 2010 06:11:56 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwBRZ-0003GU-LS for 7040@debbugs.gnu.org; Thu, 16 Sep 2010 06:11:54 -0400 Original-Received: from destgsu0048.de.alcatel-lucent.com (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.14.3/8.14.3/ICT) with ESMTP id o8GAEBwO021737; Thu, 16 Sep 2010 12:14:11 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.de.alcatel-lucent.com (8.12.3/8.12.3) with ESMTP id o8GAEBRZ024698; Thu, 16 Sep 2010 12:14:11 +0200 (MEST) In-Reply-To: <878w32xb4k.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Thu, 16 Sep 2010 11:59:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Alcanet-virus-scanned: o8GAEBRZ024698 at destgsu0048.de.alcatel-lucent.com X-Scanned-By: MIMEDefang 2.64 on 149.204.45.73 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 16 Sep 2010 06:12:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40206 Archived-At: Thierry Volpiatto 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.