From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: substitute-in-file-name is not distributive Date: Sat, 27 Oct 2012 12:08:32 -0400 Message-ID: References: <50750955.4020802@dancol.org> <5088B1F4.90302@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351354445 23442 80.91.229.3 (27 Oct 2012 16:14:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2012 16:14:05 +0000 (UTC) Cc: Emacs development discussions To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 27 18:14:14 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TS91X-0007mT-O6 for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2012 18:14:11 +0200 Original-Received: from localhost ([::1]:56037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS91P-0002Io-KU for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2012 12:14:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS8wG-0001Hb-6Q for emacs-devel@gnu.org; Sat, 27 Oct 2012 12:08:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TS8wF-00046o-8y for emacs-devel@gnu.org; Sat, 27 Oct 2012 12:08:44 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:53387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS8wF-00046d-5W for emacs-devel@gnu.org; Sat, 27 Oct 2012 12:08:43 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q9RG8Ztb027028; Sat, 27 Oct 2012 12:08:37 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id D8DF3AE4BC; Sat, 27 Oct 2012 12:08:32 -0400 (EDT) In-Reply-To: <5088B1F4.90302@dancol.org> (Daniel Colascione's message of "Wed, 24 Oct 2012 20:28:52 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4384=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4384> : streams <846559> : uri <1253851> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154541 Archived-At: > Here's what I threw together to try to get this working. I took > a look at minibuffer.el and other pieces of code seem to make the > same assumption. Thanks, I'll try and see what I can come up with. > Maybe the requote operation needs a file-name-handler? I hesitated to do that, and am still hesitating. It might be useful for the Tramp handler, but for your case I don't think it would help, because your unquote operation is a black box (at least, you'd rather treat it like that), so your requote operation should basically be "generic". Stefan