From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.bugs Subject: bug#28870: 25.3; find-file-at-point with spaces in path Date: Thu, 07 Jan 2021 17:16:21 +0100 Message-ID: <86czygyb6y.fsf@duenenhof-wilhelm.de> References: <1bfdb618-94c0-c8cf-8c88-a1375a5805ad@bgc-jena.mpg.de> <83y3o9endd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2619"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Guido Kraemer , 28870@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 07 17:18:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxXzH-0000ZA-QK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jan 2021 17:18:11 +0100 Original-Received: from localhost ([::1]:56524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxXzG-0006xh-Sd for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jan 2021 11:18:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxXyB-0005nI-Iz for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2021 11:17:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxXyA-0004mn-Kp for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2021 11:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxXyA-0000ny-GQ for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2021 11:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "H. Dieter Wilhelm" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Jan 2021 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28870 X-GNU-PR-Package: emacs Original-Received: via spool by 28870-submit@debbugs.gnu.org id=B28870.16100361923047 (code B ref 28870); Thu, 07 Jan 2021 16:17:02 +0000 Original-Received: (at 28870) by debbugs.gnu.org; 7 Jan 2021 16:16:32 +0000 Original-Received: from localhost ([127.0.0.1]:48401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxXxg-0000n5-3y for submit@debbugs.gnu.org; Thu, 07 Jan 2021 11:16:32 -0500 Original-Received: from mout.kundenserver.de ([212.227.17.24]:46365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxXxe-0000mm-KP for 28870@debbugs.gnu.org; Thu, 07 Jan 2021 11:16:31 -0500 Original-Received: from ping ([92.116.168.59]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N1gWU-1k0KXn2NRI-011wxN; Thu, 07 Jan 2021 17:16:23 +0100 In-Reply-To: <83y3o9endd.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Oct 2017 19:43:26 +0300") X-Provags-ID: V03:K1:K40x1fyR9nM+DyfF2P6UoXg5gJV698sHlfEvtoU240mo4F3qvUw R8D+8Od1l3Ga7SkiNzxh+hl3Qb8psQeQNIQ1tkpsaDVimCNRd2NJki+i2IZRGWPFHNtYdEc j2Aw13cDlLwsb0Kd6fEBUgnF1SpvcHBbDziAWA06k87Ge8rqGco8hYA7KF5zWMU73+gtwzF tQ/C4UwADQBaQioiuJgjw== X-UI-Out-Filterresults: notjunk:1;V03:K0:vduVP7wY1Ic=:2TDiTD/Ms/LDFHpyL1YOYe FcIiqMowMg2+AlDIGDO4acCOGCxYuDDJNtLwZJ1rZJdu3je4IcY7y1VJZ9JO72yAXPQwPPga3 ZLEbf3YIWKiA4U+BooxXKE0U2a7azs4BBTyMd1lt17jDLhVXAEEBWvqjrCRpEAo6lp5x9rc6P 0lzizPR3jTnB0vbNFs+yvQ5uDP/oEBpMdkG5GjBbjvrh6X11E8rNbkg15i7+3ApWdLkwwCwQ5 p/7pGwwPVpsZ0hX7I23LvjmcYRJzFnbv/TLvXW3trlCi9J03F3xqw9c7ZU0cN+naq2cI6kprF TKHBfS4R4QyBMc5Xr2XdYQoubKLr8LyjRD4Cja0/3xfZSs3xUr3GHnv9arUHLrQZl0wnYWZEx cRMRSJ1oMifr56m/5IZnvk4cnASb/XDuN0UYbotfa53VVg9LOEgTWUgV3vl6loB+UGO95jngd Dsj47nazHA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197494 Archived-At: Hello=20 While working on a cheap solution for my own nuisances on Windows I found that for the upcoming Gnu Emacs-28 setting (setq ffap-file-name-with-spaces 1) is working quite fine! FYI: ffap is checking if the file or path exists. So ffap-string-at-point might work for test strings but then ffap is more reluctant... ;-) Dieter Eli Zaretskii writes: > tags 28870 wishlist > thanks > >> From: Guido Kraemer >> Date: Mon, 16 Oct 2017 21:35:58 +0200 >>=20 >> find-file-at-point does not work correctly if there are spaces in the=20 >> path, but also exists in emacs 26.0.90.1 to reproduce: >>=20 >> 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: >>=20 >> "~/new folder/New Folder/New Empty File" >> ".emacs.d/init.el" >>=20 >> 5) place point on each and run `find-file-at-point` >>=20 >> 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: `..', '..', "..", =E2=80=98..=E2=80=99, etc., because w= e are talking > about free text, where such file names could be quoted in many ways. > > Thanks. > > > > --=20 Best wishes H. Dieter Wilhelm Zwingenberg, Germany