all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Hanchrow <offby1@blarg.net>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: 23.0.50; ffap fails to recognize files whose names use backslashes
Date: Tue, 08 Jan 2008 11:15:05 -0800	[thread overview]
Message-ID: <87prwc164m.fsf@offby1.atm01.sea.blarg.net> (raw)
In-Reply-To: <bjve64g21c.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue\, 08 Jan 2008 03\:22\:07 -0500")

>>>>> "GM" == Glenn Morris <rgm@gnu.org> 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.

-- 
Покажи мне твой .emacs, и я скажу, кто ты.
        -- Russian Proverb

  reply	other threads:[~2008-01-08 19:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05 20:38 23.0.50; ffap fails to recognize files whose names use backslashes Eric Hanchrow
2008-01-08  8:22 ` Glenn Morris
2008-01-08 19:15   ` Eric Hanchrow [this message]
2008-01-08 19:32     ` Eric Hanchrow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87prwc164m.fsf@offby1.atm01.sea.blarg.net \
    --to=offby1@blarg.net \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.