From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74792: 29.2.50; goto-address-mode should support RET in special-mode buffers Date: Wed, 11 Dec 2024 20:55:41 +0200 Message-ID: <86ed2e2gnm.fsf@gnu.org> References: <86ldwm2lko.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19097"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 74792@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 19:59:23 2024 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 1tLRve-0004oo-Ne for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 19:59:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLRvN-0000Ne-Da; Wed, 11 Dec 2024 13:59:05 -0500 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 1tLRvK-0000NV-Rf for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 13:59:02 -0500 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 1tLRvK-00038M-Fo for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 13:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=Yb86CThAEF06j/kYNrUeCgfZAeRGwww5udJKjYk6k6c=; b=fFWGP8maxjsVQl+M8Ac/dRHxSYfWlH/z2Y3dHmz2MU1+JUVIliPJwHot+4HOCmunJD1v/CYHAHCUM1iJUQevQ0KJRmWm15i3dNmxRG935Gbcqjd5b6lAvRb/73VvZzYV0qzflkQZWqfECPyTsD3WwLqVNYe6ADSTQKLoDihZ2MWoksWMOoucuQoUXR8zQ8w6t5x7RaZALw7n/7msQD3wWdf0N3YCeBthAahelT3GwKGl2NZOUMuY/5S23ECeyxcIlRi0Zgt68dcNmkoL2DNi94JeDZt+hreOPtkyhkRJMyTgJDPJ7Tan654UjZI1wFIk91QivOCqcDha/SvyTyW6Qg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLRvK-0006lJ-AE for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 13:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74792 X-GNU-PR-Package: emacs Original-Received: via spool by 74792-submit@debbugs.gnu.org id=B74792.173394351725899 (code B ref 74792); Wed, 11 Dec 2024 18:59:02 +0000 Original-Received: (at 74792) by debbugs.gnu.org; 11 Dec 2024 18:58:37 +0000 Original-Received: from localhost ([127.0.0.1]:36258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLRuu-0006je-Mz for submit@debbugs.gnu.org; Wed, 11 Dec 2024 13:58:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLRus-0006jJ-82 for 74792@debbugs.gnu.org; Wed, 11 Dec 2024 13:58:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLRsf-00031h-IE; Wed, 11 Dec 2024 13:56:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Yb86CThAEF06j/kYNrUeCgfZAeRGwww5udJKjYk6k6c=; b=Pz8SlyHpsh5Z0l3rPHpe N1Mmvz7Vm6m67wWk+xTn3I9CklEEjCNnhVsOLkOmbv8ZZfSUvY/+NFD1Rb9jFS0cbek2svgD3dGG+ unUNK7SuuuB2MgAqp8PvIbPTZu9AIRHlwMfnIBZBh1can2xB5teQG0XMqhKkuo/rLjllvbyglyWWH GZfoUGdCelsiq1tolPsui/cXiCvZcU0dpppDcf+KQ8Hf3u9k7OGXT5c6rTm1C+7JGDCauFnPnbHxY h1/A3feMtfxuFQvW6swvsxDPC1mfV9YCXNizuTOcFQ3SB2T1nLqQg4kBrPIUFQ0bk3Y8831AZogbF oqzP1AGiesp+7w==; In-Reply-To: (message from Spencer Baugh on Wed, 11 Dec 2024 12:39:59 -0500) 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:296861 Archived-At: > From: Spencer Baugh > Date: Wed, 11 Dec 2024 12:39:59 -0500 > Cc: 74792@debbugs.gnu.org, Dmitry Gutov > > On Wed, Dec 11, 2024, 12:09 PM Eli Zaretskii wrote: > > > Cc: dmitry@gutov.dev > > Date: Wed, 11 Dec 2024 11:10:53 -0500 > > From: Spencer Baugh via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > > > goto-address-mode binds C-c RET to goto-address-at-point when point is > > on a URL or email address. In special-mode buffers (or maybe any > > read-only buffer?) it should also bind RET while point is on the URL or > > email address. > > I don't think it's a good idea, since many special-mode descendants > bind RET to useful commands. For goto-address-at-point to override > that would be a nuisance, I think. > > True, but when I've specifically moved point to a URL it is usually because I want to follow the URL, not do > whatever is bound to RET in the mode. You cannot know that. E.g., point could be on a URL by chance, for example, if a buffer starts with a URL. > But this sounds like something that may differ between users, so perhaps we could add this controlled by a > defcustom? Let's first hear that enough people here think that it might sometimes be a good thing. If so, then yes, a user option, by default off, could be a way to introduce such behavior.