emacs-devel
[Top][All Lists]
Advanced

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

Re: bug-reference.el: Allow custom handlers for opening URLs


From: Stefan Monnier
Subject: Re: bug-reference.el: Allow custom handlers for opening URLs
Date: Sun, 03 May 2020 16:39:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Yes, that's probably even better/more generic.  But again, I wouldn't
> want to hard-code that, so I guess we'd want some `browse-url-handlers'
> in browse-url.el doing basically the same as the
> `bug-reference-url-handlers' I proposed, right?

Yes.  Hopefully that can be used for other purposes such as redirecting
some URLs to EWW?

> Looking at it, there're already some special handlers for mailto: and
> man: page URLs.  Should I convert those to default entries of the new
> `browse-url-handlers' alist?  (IMHO, yes.)

I think that would make sense, yes.

> And should the presence of `debbugs-gnu-bugs' create an entry in the
> alist, i.e., should having debbugs installed be enough to open bug links
> with debbugs or should we still be using the browser?

You mean, should the debbugs package come with autoloads that add
themselves to this new variable?  That's up to the debbugs package
maintainers, I'd say ;-)


        Stefan




reply via email to

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