all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: rfn-eshadow.el and remote filenames
Date: Thu, 13 Sep 2007 17:47:46 +0200	[thread overview]
Message-ID: <nqsl5i1s9p.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <jwv7imvux3q.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 12 Sep 2007 22:28:55 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> 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	other threads:[~2007-09-13 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-12 21:43 rfn-eshadow.el and remote filenames Michael Albinus
2007-09-13  2:28 ` Stefan Monnier
2007-09-13 15:47   ` Michael Albinus [this message]
2007-09-14  6:41     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nqsl5i1s9p.fsf@alcatel-lucent.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.