From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.devel Subject: Re: 23.0.50; ffap fails to recognize files whose names use backslashes Date: Tue, 08 Jan 2008 11:15:05 -0800 Message-ID: <87prwc164m.fsf@offby1.atm01.sea.blarg.net> References: <878x343t4r.fsf@offby1.atm01.sea.blarg.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1199819775 23348 80.91.229.12 (8 Jan 2008 19:16:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 19:16:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 08 20:16:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCJw5-0007ck-Oz for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 20:16:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCJvi-0003da-FO for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 14:16:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCJv5-0002tf-CO for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:15:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCJv3-0002qf-QT for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:15:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCJv3-0002qX-HJ for emacs-devel@gnu.org; Tue, 08 Jan 2008 14:15:25 -0500 Original-Received: from smtp61.avvanta.com ([206.124.128.61] helo=mail.avvanta.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JCJuz-00041c-Ig; Tue, 08 Jan 2008 14:15:21 -0500 Original-Received: from mail.avvanta.com (pops.p.blarg.net [127.0.0.1]) by mail.avvanta.com (Postfix) with ESMTP id 966CF276EC3; Tue, 8 Jan 2008 11:15:09 -0800 (PST) Original-Received: from offby1.atm01.sea.blarg.net (q-static-138-125.avvanta.com [206.124.138.125]) by mail.avvanta.com (Postfix) with ESMTP id 6F576276EAF; Tue, 8 Jan 2008 11:15:09 -0800 (PST) Original-Received: from erich by offby1.atm01.sea.blarg.net with local (Exim 4.60) (envelope-from ) id 1JCJuj-0005yg-Iw; Tue, 08 Jan 2008 11:15:05 -0800 In-Reply-To: (Glenn Morris's message of "Tue\, 08 Jan 2008 03\:22\:07 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-BlargAV-Status: No viruses detected, BlargAV v1.1 on localhost.pops.p.blarg.net X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86578 Archived-At: >>>>> "GM" =3D=3D Glenn Morris writes: GM> Eric Hanchrow wrote: >> * I started emacs with "runemacs -Q" * In the *scratch* buffer, >> I typed c:\autoexec.bat * I then typed M-x ffap RET I expected >> to see a minibuffer prompt that looked like >> >> Find file or URL: c:\autoexec.bat GM> It's hard for me to comment since I don't use Windows, but GM> what happens if you add "\" to the `file' element of GM> ffap-string-at-point-mode-alist? Eg: GM> (file "--:\\\\$+<>@-Z_[:lower:]~*?" "<@" "@>;.,!:") It appears to work perfectly, is what happens. << /me slaps forehead >> I will explain why I didn't try that: mostly because I didn't see a _forward_ slash in that list, and I was thinking "I've got to find out how to make backslashes work like forward slashes". I still don't understand how ffap-string-at-point works, despite tracing through it a number of times. --=20 =D0=9F=D0=BE=D0=BA=D0=B0=D0=B6=D0=B8 =D0=BC=D0=BD=D0=B5 =D1=82=D0=B2=D0=BE= =D0=B9 .emacs, =D0=B8 =D1=8F =D1=81=D0=BA=D0=B0=D0=B6=D1=83, =D0=BA=D1=82= =D0=BE =D1=82=D1=8B. -- Russian Proverb