From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 12:35:58 2023 Received: (at submit) by debbugs.gnu.org; 30 Aug 2023 16:35:58 +0000 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 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 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 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 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) From: Troels Henriksen To: bug-gnu-emacs@gnu.org Subject: 28.2; erc-button-url-regexp does not recognise gophers:// User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Date: Wed, 30 Aug 2023 13:03:31 +0200 Message-ID: <87ttsgg5bw.fsf@sigkill.dk> MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 15:02:22 2023 Received: (at 65627-done) by debbugs.gnu.org; 30 Aug 2023 19:02:22 +0000 Received: from localhost ([127.0.0.1]:54023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbQSM-0002qv-E7 for submit@debbugs.gnu.org; Wed, 30 Aug 2023 15:02:22 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:44343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbQSI-0002qc-2d for 65627-done@debbugs.gnu.org; Wed, 30 Aug 2023 15:02:20 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bd0d19a304so2810571fa.1 for <65627-done@debbugs.gnu.org>; Wed, 30 Aug 2023 12:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693422124; x=1694026924; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hRedpvNvNBcrvzWkj01bRMya8uHevmYBCONw/zkYicA=; b=UE8nuPU9iJ+l8lJXvAseq4ANaAa6TOSwghbV+F1S5UQJU2pZU9cZSCGsI0SWQjHMkb QZtsef9Ky6nsujC9Q/1Cp2gGltaqhUNAglsvEv/exrGRK+84AIP9wzKCyOUx7I/JxjnP zmzodjkpWdG5jUM/muXUdGx2N9lK0CvdCUiG3kNcxiKlkxi/Eg+jatvcEIoq8NZeaDN/ OJxCoOomymr+EdsKqj99ol6WOooxmgOm7huyn0D0Rtue8JlSg8w87W+BdoZtaav8vcKa ltCH/CNYWh0YW57YdIT7AHkljuiQcQ9mev6LPjV62WAcJNf0FGnpzqrArhtHnnGY+VLO qSQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693422124; x=1694026924; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hRedpvNvNBcrvzWkj01bRMya8uHevmYBCONw/zkYicA=; b=Rq7+hOSeQrUN9pq6k9CwjV+RBB9DJGjh/JO5C6kgID3krkEucff0WbI2K0Te+a0wuP YYOQTsJbF8bwVcudwadQKb7qFePMIL3LTmFiGiGkOaetvUTt4gtmPpVD9d3G7JVPbCG8 b+CrRrQkFkNxwN6slu9GiP6ZySjU5BokkR/o3eqDhvYyki75Kixv9TOsoP0dfsGj3Wjq 9YiDQ3LMm7FceNr5+5kOJVJTzUxsaJPIA8Rcm6c99xsKrLq0TwBEZv9nahee+qLtK8IA nUrXiVxoRlUsFAWSvnTxAOYQljqcNLCtlI+Q9TZIbV7ZpP8YB6h3OI3dkCkE/UghAn9n 0w1A== X-Gm-Message-State: AOJu0YwYHsSD+ieczaytBr7tTJv3aGV7bXVD3lhePRugdZqCGUPFQj1Y k7bXTjzJ2gIb/o3Ub+xSs2ZEgKsTSVZWslIDx/Y= X-Google-Smtp-Source: AGHT+IH2r0/p0LRsmHswt7rdGR3Wx4SvqoVqZq1gVgq6HMkiR/oAodcBQnqUezQhEy/e6APuSvERMEkhdkzQ2lN+6b4= X-Received: by 2002:a2e:a306:0:b0:2b9:b4eb:c39c with SMTP id l6-20020a2ea306000000b002b9b4ebc39cmr2686583lje.8.1693422124020; Wed, 30 Aug 2023 12:02:04 -0700 (PDT) MIME-Version: 1.0 References: <87ttsgg5bw.fsf@sigkill.dk> In-Reply-To: <87ttsgg5bw.fsf@sigkill.dk> From: Stefan Kangas Date: Wed, 30 Aug 2023 21:01:52 +0200 Message-ID: Subject: Re: bug#65627: 28.2; erc-button-url-regexp does not recognise gophers:// To: Troels Henriksen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65627-done Cc: 65627-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From unknown Mon Jun 23 02:22:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 28 Sep 2023 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator