help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shortest amount of keystrokes to see URL in an external browser


From: PJ Weisberg
Subject: Re: shortest amount of keystrokes to see URL in an external browser
Date: Fri, 24 Jun 2011 16:34:24 -0700

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 via email to

[Prev in Thread] Current Thread [Next in Thread]