all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: PJ Weisberg <pj@irregularexpressions.net>
To: help-gnu-emacs@gnu.org, jidanni@jidanni.org
Subject: Re: shortest amount of keystrokes to see URL in an external browser
Date: Fri, 24 Jun 2011 16:34:24 -0700	[thread overview]
Message-ID: <BANLkTimYBx0ad7hOZJZwZMgftQcyu4Wx5g@mail.gmail.com> (raw)
In-Reply-To: <8762nuakkx.fsf@jidanni.org>

On Fri, Jun 24, 2011 at 4:14 PM,  <jidanni@jidanni.org> wrote:
> It turns out I need to re-engineer the entire
>
> (defun find-file-at-point (&optional filename)
>  "Find FILENAME, guessing a default from text around point.
> If `ffap-url-regexp' is not nil, the FILENAME may also be an URL.
> 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'."
>  (interactive)
>
> to make the prefix to now mean "use and external browser", to achieve
> what I want.
>
> Oh woe is me.
>
> There is
>
> no way
>
> old
>
> me
>
> is going to get involved in that.

If you got as far as looking at the code for `find-file-at-point',
perhaps it occurred to you to customize `ffap-url-fetcher' to
`browse-url-firefox'?  :-)

-PJ



  reply	other threads:[~2011-06-24 23:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.102.1308507902.785.help-gnu-emacs@gnu.org>
2011-06-24 23:14 ` shortest amount of keystrokes to see URL in an external browser jidanni
2011-06-24 23:34   ` PJ Weisberg [this message]
2011-06-25  0:01     ` jidanni
2011-06-25  1:15       ` PJ Weisberg
2011-06-25  2:44         ` jidanni
2011-06-24 23:15 ` jidanni
2011-06-24 23:36   ` Richard Riley
2011-06-19 11:12 jidanni
2011-06-19 18:24 ` Eric Abrahamsen

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=BANLkTimYBx0ad7hOZJZwZMgftQcyu4Wx5g@mail.gmail.com \
    --to=pj@irregularexpressions.net \
    --cc=help-gnu-emacs@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 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.