[Top][All Lists]

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

Unify native and foreign methods handling?

From: Kai Großjohann
Subject: Unify native and foreign methods handling?
Date: Fri, 18 Apr 2003 12:03:11 +0200
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux)

After some time to digest Michael's excellent work on the foreign
methods handling, it has occurred to me that it might be good to
generalize it even further.

Right now, tramp-file-name-handler treats foreign methods differently
than native methods: if it's a native method, then the corresponding
file operation gets invoked directly; but if it's a foreign method,
then there is an additional indirection.

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.
file-error; Data: (Opening input file no such file or directory ~/.signature)

reply via email to

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