From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Troels Henriksen Newsgroups: gmane.emacs.bugs Subject: bug#65627: 28.2; erc-button-url-regexp does not recognise gophers:// Date: Wed, 30 Aug 2023 13:03:31 +0200 Message-ID: <87ttsgg5bw.fsf@sigkill.dk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17694"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: 65627@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 30 18:36:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qbOB0-0004Oi-N9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Aug 2023 18:36:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbOAe-0007Ct-VI; Wed, 30 Aug 2023 12:35:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbOAd-0007BE-1h for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 12:35:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbOAc-0000aY-PZ for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 12:35:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbOAk-0007Mt-DA for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 12:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Troels Henriksen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2023 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65627 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169341335828304 (code B ref -1); Wed, 30 Aug 2023 16:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2023 16:35:58 +0000 Original-Received: from localhost ([127.0.0.1]:53838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbOAd-0007MO-73 for submit@debbugs.gnu.org; Wed, 30 Aug 2023 12:35:58 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:36478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbIzP-0004Jf-E7 for submit@debbugs.gnu.org; Wed, 30 Aug 2023 07:04:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbIz4-0005ji-Ij for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 07:03:45 -0400 Original-Received: from sigkill.dk ([149.210.169.107] helo=sigkill.sigkill.dk) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbIz1-0001Pi-TJ for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 07:03:38 -0400 Original-Received: from balmung (localhost [127.0.0.1]) by sigkill.sigkill.dk (OpenSMTPD) with ESMTP id 7cf8b57d for ; Wed, 30 Aug 2023 13:03:31 +0200 (CEST) Received-SPF: pass client-ip=149.210.169.107; envelope-from=athas@sigkill.dk; helo=sigkill.sigkill.dk X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 30 Aug 2023 12:35:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268727 Archived-At: 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.