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: Sun, 28 Oct 2012 15:09:46 -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 1351451393 19326 80.91.229.3 (28 Oct 2012 19:09:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2012 19:09:53 +0000 (UTC) Cc: Emacs development discussions To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 28 20:10:02 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 1TSYFE-0001oB-1x for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2012 20:10:00 +0100 Original-Received: from localhost ([::1]:54754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSYF5-0002ss-Tz for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2012 15:09:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSYF3-0002sk-Fb for emacs-devel@gnu.org; Sun, 28 Oct 2012 15:09:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSYF2-0001dO-Li for emacs-devel@gnu.org; Sun, 28 Oct 2012 15:09:49 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:31632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSYF2-0001dJ-HM for emacs-devel@gnu.org; Sun, 28 Oct 2012 15:09:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+LET/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLDiYSFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="203029983" Original-Received: from 206-248-177-19.dsl.teksavvy.com (HELO pastel.home) ([206.248.177.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 Oct 2012 15:09:46 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8CCC059415; Sun, 28 Oct 2012 15:09:46 -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-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:154563 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. Maybe the requote operation needs a a file-name-handler? I installed a new implementation of the requote, which should handle your case better. It still tripped up some later assertions, but I think those assertions are too strict in this case, so I commented them out and it seemed to work in my test. If you still find bogus behavior, please file a bug-report. Stefan