Hi Michael, Michael Albinus <[email protected]> writes:
> Thierry Volpiatto <[email protected]> writes: > >> Hi Michael, > > Hi Thierry, > >> I see that in `tramp-file-name-handler' you fall back to >> `tramp-run-real-handler' when 'suppress is thrown by >> `tramp-sh-file-name-handler'. > > 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 ? >> Here the problem I have with this: >> The process I run on remote host is "find" shell command. >> >> I run quickly on remote: >> >> "find process" => "kill this process" => "find process" >> (less than 5s delay) >> >> The second "find process" is running now locally (It fallback to >> `tramp-run-real-handler') >> >> So my question is why running `tramp-run-real-handler' when 'suppress is >> thrown ? >> Isn't there a better solution ? (possibly with delaying the next call to >> process?) > > I've committed a fix to the repositories. In > `tramp-sh-handle-start-file-process' > the `suppress' event is catched. This shall serve your needs. Maybe, I will have a look, thanks. > Let's see, whether there are unexpected side effects. Ok I will try it as soon as possible. Thanks. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
