unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 27564@debbugs.gnu.org
Subject: bug#27564: FFAP on file:// URLs
Date: Mon, 03 Jul 2017 15:31:08 -0400	[thread overview]
Message-ID: <87podhiagz.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87tw2tl4hn.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Tue, 04 Jul 2017 03:12:04 +0800")

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> OK but
> ffap-url-regexp's docstring had better mention to see also
> ffap-url-unwrap-local, else nobody will know!

I think it fits better in find-file-at-point's docstring.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 1129 bytes --]

From c041229e95dee7fadfa3a05ed2dc1b4958207582 Mon Sep 17 00:00:00 2001
From: Noam Postavsky <npostavs@gmail.com>
Date: Mon, 3 Jul 2017 15:27:09 -0400
Subject: [PATCH] Mention `ffap-url-unwrap-local' in find-file-at-point's
 docstring (Bug#27564)

* lisp/ffap.el (find-file-at-point): Mention `ffap-url-unwrap-local'
and `ffap-url-unwrap-remote'.
---
 lisp/ffap.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/ffap.el b/lisp/ffap.el
index 87531110b8..8bcfbfcdff 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1536,7 +1536,8 @@ (defun find-file-at-point (&optional filename)
 With a prefix, this command behaves exactly like `ffap-file-finder'.
 If `ffap-require-prefix' is set, the prefix meaning is reversed.
 See also the variables `ffap-dired-wildcards', `ffap-newfile-prompt',
-and the functions `ffap-file-at-point' and `ffap-url-at-point'."
+`ffap-url-unwrap-local', `ffap-url-unwrap-remote', and the functions
+`ffap-file-at-point' and `ffap-url-at-point'."
   (interactive)
   (if (and (called-interactively-p 'interactive)
 	   (if ffap-require-prefix (not current-prefix-arg)
-- 
2.11.1


  reply	other threads:[~2017-07-03 19:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87lgo8cba2.fsf@jidanni.org>
2017-07-03 18:36 ` bug#27564: FFAP on file:// URLs 積丹尼 Dan Jacobson
2017-07-03 18:54   ` npostavs
2017-07-03 19:12   ` 積丹尼 Dan Jacobson
2017-07-03 19:31     ` npostavs [this message]
2017-07-04 12:40   ` 積丹尼 Dan Jacobson
2017-07-05  0:09     ` npostavs

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87podhiagz.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=27564@debbugs.gnu.org \
    --cc=jidanni@jidanni.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).