From: Stefan Kangas <stefankangas@gmail.com>
To: Troels Henriksen <athas@sigkill.dk>
Cc: 65627-done@debbugs.gnu.org
Subject: bug#65627: 28.2; erc-button-url-regexp does not recognise gophers://
Date: Wed, 30 Aug 2023 21:01:52 +0200 [thread overview]
Message-ID: <CADwFkmmhb0tWMVqibroSFUzZv9rvLWZ=cZ-nYY6pEfj4z0V_Rg@mail.gmail.com> (raw)
In-Reply-To: <87ttsgg5bw.fsf@sigkill.dk>
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.
prev parent reply other threads:[~2023-08-30 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-30 11:03 bug#65627: 28.2; erc-button-url-regexp does not recognise gophers:// Troels Henriksen
2023-08-30 19:01 ` Stefan Kangas [this message]
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='CADwFkmmhb0tWMVqibroSFUzZv9rvLWZ=cZ-nYY6pEfj4z0V_Rg@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=65627-done@debbugs.gnu.org \
--cc=athas@sigkill.dk \
/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.