unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: "7040@debbugs.gnu.org" <7040@debbugs.gnu.org>
Subject: bug#7040: 24.0.50; tramp-handle-directory-files is not loaded
Date: Thu, 16 Sep 2010 12:14:11 +0200	[thread overview]
Message-ID: <nqd3sem1vw.fsf@alcatel-lucent.com> (raw)
In-Reply-To: <878w32xb4k.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Thu, 16 Sep 2010 11:59:07 +0200")

Thierry Volpiatto <thierry.volpiatto@gmail.com> 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	other threads:[~2010-09-16 10:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16  6:32 bug#7040: 24.0.50; tramp-handle-directory-files is not loaded Thierry Volpiatto
2010-09-16  8:35 ` Michael Albinus
2010-09-16  9:59   ` Thierry Volpiatto
2010-09-16 10:14     ` Michael Albinus [this message]
2010-09-16 17:06 ` Thierry Volpiatto
2010-09-16 21:08   ` Michael Albinus
2010-09-16 21:19     ` Thierry Volpiatto
2010-09-17 20:53       ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nqd3sem1vw.fsf@alcatel-lucent.com \
    --to=michael.albinus@gmx.de \
    --cc=7040@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).