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
Message #70 received at 8439 <at> debbugs.gnu.org (full text, mbox):
> Even under Unix (where spaces inside filenames are very unusual)
They are unusual for Unix native files but not rare when files
created on Windows reach Unix file systems. So this problem
is not unique to Windows (only the drive letter part of the problem
is Windows-specific).
> But, if there no way to make false positives amount small enough, I
> would to propose an idea for extension: find-file-at-region(). You
> just select a region of text, and Emacs tries to interprets it as
> default value for find-file().
ffap used to fetch the selected region until Stefan removed this feature
with the following comment:
(let ((mark-active nil))
;; Don't use the region here, since it can be something
;; completely unwieldy. If the user wants that, she could
;; use M-w before and then C-y. --Stef
I have no problem with this change because ffap still can successfully fetch
filenames with spaces due to `ffap-completable' that works surprisingly well
in most cases (it incorrectly highlights the filename part until the first
space, but correctly fetches the complete filename with spaces).
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.