[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28870: 25.3; find-file-at-point with spaces in path
From: |
Eli Zaretskii |
Subject: |
bug#28870: 25.3; find-file-at-point with spaces in path |
Date: |
Tue, 17 Oct 2017 19:43:26 +0300 |
tags 28870 wishlist
thanks
> From: Guido Kraemer <gkraemer@bgc-jena.mpg.de>
> Date: Mon, 16 Oct 2017 21:35:58 +0200
>
> find-file-at-point does not work correctly if there are spaces in the
> path, but also exists in emacs 26.0.90.1 to reproduce:
>
> 1) create the file "~/new folder/New Folder/New Empty File"
> 2) emacs -q
> 3) go to *scratch* buffer
> 4) put the following in the scratch buffer:
>
> "~/new folder/New Folder/New Empty File"
> ".emacs.d/init.el"
>
> 5) place point on each and run `find-file-at-point`
>
> Observed bevior: the second line works fine, the first line does not
> complete correctly, see also here:
find-file-at-point doesn't currently support file names with spaces,
it's a missing feature. Patches to add that are welcome.
FWIW, I think if such a feature is added, it should support several
kinds of quoting: `..', '..', "..", ‘..’, etc., because we are talking
about free text, where such file names could be quoted in many ways.
Thanks.