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: rfn-eshadow Date: Thu, 03 Jan 2008 21:51:37 -0500 Message-ID: References: <87k5mq60y8.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199415113 6838 80.91.229.12 (4 Jan 2008 02:51:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 02:51:53 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 04 03:52:11 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JAcfL-0005aV-Bb for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2008 03:52:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAcey-0005hk-Qz for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 21:51:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAcev-0005gF-2l for emacs-devel@gnu.org; Thu, 03 Jan 2008 21:51:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAces-0005dp-Sm for emacs-devel@gnu.org; Thu, 03 Jan 2008 21:51:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAces-0005de-P5 for emacs-devel@gnu.org; Thu, 03 Jan 2008 21:51:42 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAcep-0001i1-Bl; Thu, 03 Jan 2008 21:51:39 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAJYufUfO+K+E/2dsb2JhbACqag X-IronPort-AV: E=Sophos;i="4.24,241,1196658000"; d="scan'208";a="12264271" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 03 Jan 2008 21:51:37 -0500 Original-Received: from pastel.home ([206.248.175.132]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id KDD92937; Thu, 03 Jan 2008 21:51:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 859777F5E; Thu, 3 Jan 2008 21:51:37 -0500 (EST) In-Reply-To: <87k5mq60y8.fsf@jurta.org> (Juri Linkov's message of "Thu, 03 Jan 2008 23:42:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86033 Archived-At: > ffap.el mentions FSF as a maintainer, but actually this bug has nothing > to do with ffap. On the contrary it has everything to do with ffap. > The problem is that even if ffap is disabled, when typing an URL in the > minibuffer, rfn-eshadow.el threats it as a file name, and puts a shadow > over the `http:' part because it contains double slashes //. No, it is perfectly right for rfn-eshadow to treat it as a file name, since that's what rfn-eshadow is all about: to improve file-name entry. If you want your user to enter something else than a file-name, then don't set minibuffer-completing-file-name. > I think the right way to fix this problem is the following patch that > prevents handling of URLs by file-name-shadow-mode: No, the right way is for ffap to either not set minibuffer-completing-file-name (which probably requires more changes in order to recover the desired completion behavior) or to explain to rfn-eshadow what kind of file-names are accepted via a file-name-handler (which can be added only temporarily). For the record, URL entry works just fine with rfn-eshadow if you enable url-handler-mode. Stefan