From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Nicolas Richard" Newsgroups: gmane.emacs.bugs Subject: bug#8439: [PATCH] ffap.el -- detect paths with spaces (v2) Date: Fri, 19 Oct 2012 14:15:20 +0200 Message-ID: <87pq4eiron.fsf@yahoo.fr> References: <87pqoyaxu0.fsf@blue.sea.net> <874nlq9ah3.fsf@picasso.cante.net> <83a9vi23mi.fsf@gnu.org> <20121019100556.GT19374@picasso.cante.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350649007 18095 80.91.229.3 (19 Oct 2012 12:16:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2012 12:16:47 +0000 (UTC) To: 8439@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 19 14:16:54 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TPBVV-0005qV-2Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2012 14:16:53 +0200 Original-Received: from localhost ([::1]:53744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPBVN-0006A3-Ne for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2012 08:16:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPBVG-00069t-CP for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 08:16:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPBVA-0007eZ-CH for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 08:16:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPBVA-0007eU-98 for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 08:16:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TPBWb-0003Xw-HC for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 08:18:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87pqoyaxu0.fsf@blue.sea.net> Resent-From: "Nicolas Richard" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Oct 2012 12:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8439 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135064905513577 (code B ref -1); Fri, 19 Oct 2012 12:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Oct 2012 12:17:35 +0000 Original-Received: from localhost ([127.0.0.1]:51210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPBWA-0003Wu-Ek for submit@debbugs.gnu.org; Fri, 19 Oct 2012 08:17:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40771) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPBW7-0003Wb-Vt for submit@debbugs.gnu.org; Fri, 19 Oct 2012 08:17:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPBUV-0007QQ-G9 for submit@debbugs.gnu.org; Fri, 19 Oct 2012 08:15:57 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:35050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPBUV-0007QH-CI for submit@debbugs.gnu.org; Fri, 19 Oct 2012 08:15:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPBUR-0005yC-3u for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 08:15:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPBUH-0007Gu-Rn for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 08:15:47 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPBUH-0007GB-LO for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 08:15:37 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TPBUI-0004l3-Gs for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 14:15:38 +0200 Original-Received: from geodiff-mac3.ulb.ac.be ([164.15.131.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Oct 2012 14:15:38 +0200 Original-Received: from theonewiththeevillook by geodiff-mac3.ulb.ac.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Oct 2012 14:15:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: geodiff-mac3.ulb.ac.be User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:T6JPVXj3fNVqKPUqOgljslVwQLg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65732 Archived-At: jari writes: > On 2012-10-19 11:49, Eli Zaretskii wrote: > | C:\emacs\bin\prog1.exe on Windows or /usr/bin/prog1 on Unix. > If you have strategiy to make it better, please suggest. >From the example, I'd suggest that if there is a period followed by up to three letters and then a space, the filename ends before that space. >From what I see, most filenames which have an extension don't have more text after the extension (with the exception of another extension, which is why I suggest that there must be a final space). Would that fit ? -- Nico.