Kevin Ryde <[email protected]> writes:

> Actually "(list name)" seems doubtful in the tramp cases too.  If
> there's no matches I think the return should be nil, not the pattern.
> But I say that without trying it, and without knowing if it's a hack to
> keep the pattern for later action ...

Likely you are right, although sometimes returning nil is interpreted as
the file name itself.

So I've applied your patch, simplifying the defadvice. You can test it
yourself, setting (setq tramp-syntax 'sep) before loading Tramp. Then
you could instrument the advice for debug, and load /[ssh/].* (for
example).

Best regards, Michael.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to