From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#6695: bug#8439: [PATCH] ffap.el -- detect paths with spaces (v4) Date: Sat, 23 Nov 2019 14:31:47 +0100 Message-ID: <87mucmn2gs.fsf@gnus.org> References: <87pqoyaxu0.fsf@blue.sea.net> <87zk3i7tbu.fsf@picasso.cante.net> <20121020075601.GD29154@picasso.cante.net> <20121020084551.GE29154@picasso.cante.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="143821"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 8439@debbugs.gnu.org, 6695@debbugs.gnu.org To: jari Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 23 14:33:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iYVXF-000bDH-5b for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Nov 2019 14:33:13 +0100 Original-Received: from localhost ([::1]:58920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYVXD-0007Bq-Po for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Nov 2019 08:33:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41947) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYVX6-0007BH-Ug for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 08:33:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYVX5-0002Rk-R2 for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 08:33:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYVX5-0002Rg-Nn for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 08:33:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iYVX5-0004aC-Ki for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 08:33:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2019 13:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6695 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 6695-submit@debbugs.gnu.org id=B6695.157451592315465 (code B ref 6695); Sat, 23 Nov 2019 13:33:03 +0000 Original-Received: (at 6695) by debbugs.gnu.org; 23 Nov 2019 13:32:03 +0000 Original-Received: from localhost ([127.0.0.1]:55981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYVW4-0003yg-Dl for submit@debbugs.gnu.org; Sat, 23 Nov 2019 08:32:00 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:36150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYVW2-0003tF-9G; Sat, 23 Nov 2019 08:31:58 -0500 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iYVVs-0005hy-GE; Sat, 23 Nov 2019 14:31:50 +0100 In-Reply-To: <20121020084551.GE29154@picasso.cante.net> (jari's message of "Sat, 20 Oct 2012 11:45:51 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:172295 Archived-At: jari writes: > In this patch (compared to previous v3): > > - remove functions related to Cygwin and use cygwin-convert-path-from-windows > > - obey END parameter in ffap-search-backward-file-end as originally > intended > > - correct "path-separator" term into "dir-separator" everywhere This was seven years ago, and not surprisingly, the patch doesn't apply any more. But I think the approach here seemed good -- going back in the buffer and check whether you find something that matches a file on the file system (if I understood the patch correctly). Is there still interest in making this work, or has everybody given up on using ffap with file names with spaces? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no