From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yigal Hochberg Newsgroups: gmane.emacs.bugs Subject: bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2) Date: Fri, 19 Oct 2012 18:36:48 -0400 (EDT) Message-ID: <20121019223649.0699B538@courageux.cnchost.com> References: <87pqoyaxu0.fsf@blue.sea.net> Reply-To: Yigal Hochberg NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1350686259 24562 80.91.229.3 (19 Oct 2012 22:37:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2012 22:37:39 +0000 (UTC) Cc: hochberg@dmhsoftware.com, 8439@debbugs.gnu.org, jari.aalto@cante.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 20 00:37:46 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TPLCJ-00012X-GC for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Oct 2012 00:37:43 +0200 Original-Received: from localhost ([::1]:48311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPLCC-0004Pu-5H for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2012 18:37:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPLC8-0004O8-Tw for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 18:37:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPLC7-0006vI-Qw for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 18:37:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPLC7-0006vD-O6 for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 18:37:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TPLDa-0002eh-Sj for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 18:39:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yigal Hochberg Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Oct 2012 22:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8439 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 8439-submit@debbugs.gnu.org id=B8439.135068630610067 (code B ref 8439); Fri, 19 Oct 2012 22:39:02 +0000 Original-Received: (at 8439) by debbugs.gnu.org; 19 Oct 2012 22:38:26 +0000 Original-Received: from localhost ([127.0.0.1]:52297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPLCy-0002cJ-SQ for submit@debbugs.gnu.org; Fri, 19 Oct 2012 18:38:25 -0400 Original-Received: from courageux.cnchost.com ([207.155.248.120]:47379) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPLCv-0002cB-VJ for 8439@debbugs.gnu.org; Fri, 19 Oct 2012 18:38:23 -0400 Original-Received: (ConcentricHost relay 1.2); with ESMTP id 0699B538; Fri, 19 Oct 2012 18:36:49 -0400 (EDT) Original-Received: by courageux.cnchost.com (ConcentricHost(2.70) Relay, from userid 500) id 0699B538; Fri, 19 Oct 2012 18:36:48 -0400 (EDT) Original-Received: from 168.159.213.57 (as hochberg@dmhsoftware.com) by register.cnchost.com (207.155.248.120) with Concentric Web Mail; Fri, 19 Oct 2012 18:36:48 -0400 (EDT) In-Reply-To: <87pqoyaxu0.fsf@blue.sea.net> <874nlq9ah3.fsf@picasso.cante.net> <83a9vi23mi.fsf@gnu.org> Content-Disposition: inline X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65764 Archived-At: Eli, Andrew:=0A=0AWhat Jari did is an excellent solution (increment cheekin= g if file exists).=0AFrom a user point of view it is very powerful and usef= ul.=0A=0AMarking a region is trivial but way too costly for me. I want to b= e one keystroke =0Aaway from getting this file. On Windows I use these type= of paths:=0A=0Ac:/Program Files/Open Text Evaluation Media/Open Text Excee= d 14 x86/Program Files/Hummingbird/Connectivity/14.00/Default User/PerUser = Settings.ini=0Ac:\Program Files\Open Text Evaluation Media\Open Text Exceed= 14 x86\Program Files\Hummingbird\Connectivity\14.00\Default User\PerUser S= ettings.ini=0A=0Ac:/Program Files/Open Text Evaluation Media/Open Text Exce= ed 14 x86/Program Files/Hummingbird/=0Ac:\Program Files\Open Text Evaluatio= n Media\Open Text Exceed 14 x86\Program Files\Hummingbird\=0A=0AWith Jari s= olution I can get to the file/dir in one keystroke.=0AI think that this is = the power of emacs. No?=0A=0AThanks,=0A=0AYigal=0A=0A=0AOn Fri, Oct 19, 201= 2 at 6:23 PM, Eli Zaretskii wrote:=0A>> Date: Sat, 20 Oct 20= 12 00:47:55 +0300=0A>> From: "Andrew W. Nosenko" =0A>> Cc: Jari Aalto , hochberg@dmhsoftware.com, 84= 39@debbugs.gnu.org=0A>> =0A>> >> 2. The "path skipping" is based on findi= ng longest distance:=0A>> >>=0A>> >> - from first "drive letter", "/" = or "\"=0A>> >> - until last "/", "\" followed by last non-matching-cha= r-not-usually-found-in-file-names=0A>> >=0A>> > What will this do to text s= uch as the one below?=0A>> >=0A>> > C:\emacs\bin\prog1.exe on Windows or /= usr/bin/prog1 on Unix.=0A>> =0A>> Eli, excuse me very much, but you cheatin= g.=0A>=0A>Actually, I had this weird idea that maybe the suggested heuristi= cs=0A>could be improved. Now I'm sorry that I have spoken.=0A>