tramp-devel
[Top][All Lists]
Advanced

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

Re: Unify native and foreign methods handling?


From: Michael Albinus
Subject: Re: Unify native and foreign methods handling?
Date: 22 Apr 2003 14:27:22 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

address@hidden (Kai Großjohann) writes:

> I wonder if it may be useful to treat native and foreign handlers in
> a uniform way?
> 
> Then Tramp would be divided into a dispatch module which takes
> filenames and invokes the right handler, and several file handlers
> which do the actual operations.

Nice idea. Would be something like an internal handler per method,
which is called from the dispatcher.

Advantage: special treatment for some methods could be divided from
the functions, which would make the code more clean (and robust).

Finally, Tramp would be a file-handler-in-the-file-handler. Hmm. Maybe
the dispatching can be given to file-name-handler-alist, which
contains a file handler per method plus a handler for syntactical
structures assuming default method.

Hard with the todays syntax. But maybe your URL-based approach,
discussed recently in emacs-devel, would be better suited.

Best regards, Michael.





reply via email to

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