GNU bug report logs -
#8439
[PATCH] ffap.el -- detect paths with spaces
Previous Next
Reported by: Jari Aalto <jari.aalto <at> cante.net>
Date: Thu, 7 Apr 2011 15:25:02 UTC
Severity: minor
Tags: fixed, patch
Merged with 6695,
13087
Found in versions 23.2+1-7, 24.0.50, 24.3.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli, Andrew:
What Jari did is an excellent solution (increment cheeking if file exists).
From a user point of view it is very powerful and useful.
Marking a region is trivial but way too costly for me. I want to be one keystroke
away from getting this file. On Windows I use these type of paths:
c:/Program Files/Open Text Evaluation Media/Open Text Exceed 14 x86/Program Files/Hummingbird/Connectivity/14.00/Default User/PerUser Settings.ini
c:\Program Files\Open Text Evaluation Media\Open Text Exceed 14 x86\Program Files\Hummingbird\Connectivity\14.00\Default User\PerUser Settings.ini
c:/Program Files/Open Text Evaluation Media/Open Text Exceed 14 x86/Program Files/Hummingbird/
c:\Program Files\Open Text Evaluation Media\Open Text Exceed 14 x86\Program Files\Hummingbird\
With Jari solution I can get to the file/dir in one keystroke.
I think that this is the power of emacs. No?
Thanks,
Yigal
On Fri, Oct 19, 2012 at 6:23 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> Date: Sat, 20 Oct 2012 00:47:55 +0300
>> From: "Andrew W. Nosenko" <andrew.w.nosenko <at> gmail.com>
>> Cc: Jari Aalto <jari.aalto <at> cante.net>, hochberg <at> dmhsoftware.com, 8439 <at> debbugs.gnu.org
>>
>> >> 2. The "path skipping" is based on finding longest distance:
>> >>
>> >> - from first "drive letter", "/" or "\"
>> >> - until last "/", "\" followed by last non-matching-char-not-usually-found-in-file-names
>> >
>> > What will this do to text such as the one below?
>> >
>> > C:\emacs\bin\prog1.exe on Windows or /usr/bin/prog1 on Unix.
>>
>> Eli, excuse me very much, but you cheating.
>
>Actually, I had this weird idea that maybe the suggested heuristics
>could be improved. Now I'm sorry that I have spoken.
>
This bug report was last modified 4 years and 285 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.