emacs-devel
[Top][All Lists]
Advanced

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

Re: rfn-eshadow.el and remote filenames


From: Michael Albinus
Subject: Re: rfn-eshadow.el and remote filenames
Date: Thu, 13 Sep 2007 17:47:46 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux)

Stefan Monnier <address@hidden> writes:

> Current rfn-eshadow.el does not assume anything about the behavior of
> substitute-in-file-name and I think we should keep it that way.  Obviously,
> it does have some preconceived notion about how substitute-in-file-name
> *might* work, but it works safely in "all" cases.
>
> Currently, rfn-eshadow.el only recognizes when substitute-in-file-name drops
> a prefix of the current file name, so we need to extend it to recognize
> cases where substitute-in-file-name drops some internal part instead.
> How to do that efficiently?  I'm not sure.
>
> I'd prefer we find a more general way to do it, but if not, maybe your code
> can be kept mostly, but then it should check its result against the return
> value of substitute-in-file-name.

A more general approach could be when Tramp hooks into
`insert-behind-hooks' of `rfn-eshadow-overlay'. rfn-eshadow.el would
stay unchanged then, likely.

I'll play a little bit with, checking also the performance.

>         Stefan

Best regards, Michael.





reply via email to

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