[Top][All Lists]

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

Re: question about `tramp-file-name-handler'

From: Michael Albinus
Subject: Re: question about `tramp-file-name-handler'
Date: Tue, 29 Jan 2013 10:35:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> Hi Michael,

Hi Thierry,

>> This is meant for operations on files themselves, not for
>> `start-file-process'.
> Yes, but I am using something like:
> (let ((default-directory "/ssh:..."))
>   (start-file-process ...)
> So I think it is the `tramp-file-name-handler' which is in charge of
> handling `default-directory' no ?

It's always `tramp-file-name-handler' which is in charge. I meant that
the suppress-mechanism was intended for file operations like
`expand-file-name' etc. It was not meant for `start-file-process', which
is also a file name operation in the strict sense. The file name which
is checked here is not an argument but `default-directory'. This doesn't
make a difference for the mechanism itself.

> Thanks.

Best regards, Michael.

reply via email to

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