emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#65627: closed (28.2; erc-button-url-regexp does not recognise gopher


From: GNU bug Tracking System
Subject: bug#65627: closed (28.2; erc-button-url-regexp does not recognise gophers://)
Date: Wed, 30 Aug 2023 19:03:02 +0000

Your message dated Wed, 30 Aug 2023 21:01:52 +0200
with message-id 
<CADwFkmmhb0tWMVqibroSFUzZv9rvLWZ=cZ-nYY6pEfj4z0V_Rg@mail.gmail.com>
and subject line Re: bug#65627: 28.2; erc-button-url-regexp does not recognise 
gophers://
has caused the debbugs.gnu.org bug report #65627,
regarding 28.2; erc-button-url-regexp does not recognise gophers://
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
65627: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65627
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.2; erc-button-url-regexp does not recognise gophers:// Date: Wed, 30 Aug 2023 13:03:31 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
The regex in

  browse-url-button-regexp

does not recognise the gophers:// protocol.  Similarly to https://,
gophers:// is an encrypted variant of the venerable Gopher protocol.
The gophers protocol is supported in curl and other programs that build
on libcurl, and while I can customize `browse-url-button-regexp` myself,
I think it would be useful for all Emacs users if Emacs recognised
gophers:// directly.

A fix is simple: just add 's?' after 'gopher' in the regexp.



--- End Message ---
--- Begin Message --- Subject: Re: bug#65627: 28.2; erc-button-url-regexp does not recognise gophers:// Date: Wed, 30 Aug 2023 21:01:52 +0200
Version: 29.2

> The regex in
>
>   browse-url-button-regexp
>
> does not recognise the gophers:// protocol.  Similarly to https://,
> gophers:// is an encrypted variant of the venerable Gopher protocol.
> The gophers protocol is supported in curl and other programs that build
> on libcurl, and while I can customize `browse-url-button-regexp` myself,
> I think it would be useful for all Emacs users if Emacs recognised
> gophers:// directly.
>
> A fix is simple: just add 's?' after 'gopher' in the regexp.

Thanks for the bug report.

I see that it is supported by libcurl, here: https://curl.se/libcurl/
There is also FTPS, which we don't have in our regexp.

So I've now fixed this on the master branch (commit 9e2d5a013c9), and
I'm closing this bug.


--- End Message ---

reply via email to

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