[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any way to tell Emacs how to open specific URIs?
From: |
Tassilo Horn |
Subject: |
Re: Any way to tell Emacs how to open specific URIs? |
Date: |
Fri, 27 Nov 2020 21:56:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis <bugs@gnu.support> writes:
> I am using goto-browse-mode to highlight URLs and goto-browse-mode
> uses in turn thing-at-point-uri-schemes and that is great.
>
> But what I miss is how to define how to activate those URLs, as I
> would like to activate those URLs in those buffers where
> goto-browse-mode is is activated.
>
> I strongly need a way to define how to open specific URIs as shown
> here and to define some of my own. This will expand the program
> capabilities I am making.
>
> Is there any current way to define how to open these URIs?
I'm not exactly sure if I understand the question, but maybe
`browse-url-handlers' (Emacs 28 only) is what you are looking for
(assuming that clicking on an URL with goto-browse-mode does calls
`browse-url').
Bye,
Tassilo