From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Turning on file-name-shadow-mode by default Date: Tue, 15 Nov 2005 12:08:08 +0900 Message-ID: References: <20051112104720.GK11234@boetes.org> <200511122117.jACLH8J27479@raven.dms.auburn.edu> <87zmo8ntnn.fsf-monnier+emacs@gnu.org> <200511142323.jAENNss08468@raven.dms.auburn.edu> <877jba4sxo.fsf@jurta.org> <200511150212.jAF2CrY08697@raven.dms.auburn.edu> <87oe4mwsc5.fsf@jurta.org> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1132024191 16969 80.91.229.2 (15 Nov 2005 03:09:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2005 03:09:51 +0000 (UTC) Cc: Luc Teirlinck , rms@gnu.org, reiner.steib@gmx.de, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 15 04:09:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EbrBE-0007UC-JM for ged-emacs-devel@m.gmane.org; Tue, 15 Nov 2005 04:08:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbrBE-0000Z0-0N for ged-emacs-devel@m.gmane.org; Mon, 14 Nov 2005 22:08:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EbrB5-0000Yk-3j for emacs-devel@gnu.org; Mon, 14 Nov 2005 22:08:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EbrB3-0000YM-Ks for emacs-devel@gnu.org; Mon, 14 Nov 2005 22:08:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbrB3-0000YJ-GR for emacs-devel@gnu.org; Mon, 14 Nov 2005 22:08:09 -0500 Original-Received: from [64.233.184.196] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EbrB3-00038E-C4 for emacs-devel@gnu.org; Mon, 14 Nov 2005 22:08:09 -0500 Original-Received: by wproxy.gmail.com with SMTP id 69so2255465wri for ; Mon, 14 Nov 2005 19:08:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mq1xSJ7s/+Q0Dl2V1pPR7HvOtmgp5AY7g5BtUYmox+t6vi7z/sG4G9aUHjLwIIHnCKfaY7xxqZXTkeTYLcUuJeyO3fY/Y17/gNuEXXJE7cZWjjysYVxB13dFvfZ3eyaOxc3KQoxWxn2ErLnydCHELYcVcaRBw1CW6sCjtdd6wvY= Original-Received: by 10.54.157.8 with SMTP id f8mr3286908wre; Mon, 14 Nov 2005 19:08:08 -0800 (PST) Original-Received: by 10.54.158.8 with HTTP; Mon, 14 Nov 2005 19:08:08 -0800 (PST) Original-To: Juri Linkov In-Reply-To: <87oe4mwsc5.fsf@jurta.org> Content-Disposition: inline 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:45992 Archived-At: 2005/11/15, Juri Linkov : > > Does it handle the "http://" prefix correctly? > > > > I believe so. After "http://", "http:/" is shadowed and "/" not, and > > indeed, you visit "/". After "/:http://" nothing is shadowed. > > What is wrong with that? > > Some packages like FFAP can read both a file name and URL in the same > minibuffer. With leading "http://" highlighting of URL is wrong. Um, do they use `read-file-name' to read them?!? If so, and if they haven't somehow made substitute-in-file-name work correctly for URLs, then they'll get screwed by completion anyway. If they _have_ made substitute-in-file-name work correctly for URLs, then Stefan's code will (er, should) do the right thing. -Miles -- Do not taunt Happy Fun Ball.