From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 12:39:59 -0500 Message-ID: References: <86ldwm2lko.fsf@gnu.org> Reply-To: Spencer Baugh Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000bd25eb062902164a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17230"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , 74792@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 18:41:24 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 1tLQiA-0004D8-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 18:41:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLQhu-0001nb-HE; Wed, 11 Dec 2024 12:41:06 -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 1tLQhr-0001kZ-GT for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 12:41:03 -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 1tLQhq-0002iP-Mh for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 12:41:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=DTBRTbEnX3hkSgUS4crfPn9QwxWwQhQq9eA14mV50Uc=; b=HYsWtGDkGeVKvqeSWHR6FbbSHLiY1VSDjMQr/3QTrNu0KgM54vHv0B5bjjDwL/F1gBtr0Xm0s6tUIcsF1lGGfjdKMpTRYlBm/6UmirerkzHFD74TN17JhKTht7jBTYxuX2o2BIz2kxmZ9kFiriPmUlBc+PuJ02YiLrMmUkuaXs7Qg2PWT9yf7eutNMNJrYzL2T3q1QpoEZWDTodCobhXhJu7WmyGYB0XzYs+XcFLtGoh1fFB4kG/BzZ/a/PZcvO7F0NBdP48Pa8K1gflkUHdcy8ljRHOBC6jXbZ8tFXcn27G7Pi4m6nC1FLRlrMzrhzda5sCvYB5wbq2OvFgGdATsw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLQhq-0000iW-7e for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 12:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 17:41: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.17339388202681 (code B ref 74792); Wed, 11 Dec 2024 17:41:02 +0000 Original-Received: (at 74792) by debbugs.gnu.org; 11 Dec 2024 17:40:20 +0000 Original-Received: from localhost ([127.0.0.1]:36147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLQh9-0000h9-RX for submit@debbugs.gnu.org; Wed, 11 Dec 2024 12:40:20 -0500 Original-Received: from mxout1.mail.janestreet.com ([38.105.200.78]:39343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLQh5-0000g7-B8 for 74792@debbugs.gnu.org; Wed, 11 Dec 2024 12:40:17 -0500 Original-Received: from mail-ej1-f69.google.com ([209.85.218.69]) by mxgoog2.mail.janestreet.com with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.98) id 1tLQgz-00000009n71-1ccz for 74792@debbugs.gnu.org; Wed, 11 Dec 2024 12:40:09 -0500 Original-Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-aa6a1595fdaso203951066b.0 for <74792@debbugs.gnu.org>; Wed, 11 Dec 2024 09:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; t=1733938809; x=1734543609; 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=DTBRTbEnX3hkSgUS4crfPn9QwxWwQhQq9eA14mV50Uc=; b=Ao14rwK6wfMOBvC8BRFXSfA9lUKE+S5oNvLk9NnaIhJZVNSPbqD7B63mQzvu232ndx i8sg4DsXwu6L2NV314YuYFV9BYg9nxp46sV6JCGLIsq4zBGTTMKmCuTsuPC8Dppod3y1 GHnUZ3GezatueWtxHlShga+eozOhY9+sl1nNk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1733938809; bh=DTBRTbEnX3hkSgUS4crfPn9QwxWwQhQq9eA14mV50Uc=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=G1+bpD+1iTaRRCrfk6zYyO1mfFO291T83Ffj8PGon8M68p+E5ydkzKxAuPOyKNwJH dOnoDc+nQiSCXW+WsoFdu4fMFDuNl58IgmjTnE3BJujqG8yN+rnjJ4NBjqN5CJgfdt BM8k92/baE2h/X3tzXP5IrjU4VB/qPpRc9zejHA7IfxMbx1NVJIqJy2QFhAru5Uvvy YjbqvnkK9+gWtR63wCEvuBAJfBH7QT9T+LTeRefJnMpTPuJXW4dpRvvtyANUoyCQft FYyiGh628uW+nnqyI2ikUXVuRJ905nYMPrRFSVr59f3SV10M2djhbuif6MpD1Pm3ln 2x6QGgG8P4p1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733938809; x=1734543609; 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=DTBRTbEnX3hkSgUS4crfPn9QwxWwQhQq9eA14mV50Uc=; b=do/M3FJxMypjJCQnHaMqT/Ed7gOxKQ+8XkQrxtE6IpsD+7A5wCi3vAdbzBKQG2qEV/ fZnxvZ5iaD41Y2m9xknvsNi//pOfrZhKcK8PV3LkaPVZR1arsqVpMBF5DgF7siozpX3v U1fOIQ8sb9B7Ws6rSv9WO3MfbLtRGA3ulOlKv3fQaVkUjjL73VzGJaAVWSUE/V/Fllu6 xoXx1H9XAuQ4Kv1ByvdJG74uqZ3Q2NXITD+vbmgXcrIWadWBHA2iTnDX+ZLNMj2spwGS j+Vw0rI3sHpwvf3gCS8G4bqCDNSp8eyiLQFEM08VEb7Knf/EcmYJdD6fZM4zpdMeVJYA bwNw== X-Gm-Message-State: AOJu0YwOpdDVzNcOeWCn4EPCPJOB+vQ1KTlNdfI1f155W6EuaA3GjJYf g3bpw3sLwMY93bJMkt7+dLOodWUSTsRQlbht5RNV56RKCDQxQCuvHAog4B/RAzQkfHRV7VjGqMu CrT5anS5NlTO+8Cm5/zx/qmmCWFa8SWvotSDhFU6YGbnrPZhdiyuYSzKCmYyPvbgdZPlbr1XCxz brThV/ZxP4kj7qg/reKmJEYtXXrLBiTQAETQ== X-Gm-Gg: ASbGnct8jOnYho/Y3jrJoH5wDja7+RI5rv1OCk57mXF1ZBRmvGIQMCzk2ePslldw0Bd cajFVRrkidpiNUopY+yUxyHYplVKaOTLhQpA= X-Received: by 2002:a17:906:2922:b0:aa6:aa89:6d5e with SMTP id a640c23a62f3a-aa6b115ecbdmr373367066b.18.1733938808809; Wed, 11 Dec 2024 09:40:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXR+lOGVWl07Asv8/ZrLce5AOHvLuLXSkf2HHXsonBCshLr770Qt9j2yTRgpgCvpZpuc8JqpJgxqIDk2QgUmc= X-Received: by 2002:a17:906:2922:b0:aa6:aa89:6d5e with SMTP id a640c23a62f3a-aa6b115ecbdmr373364566b.18.1733938808418; Wed, 11 Dec 2024 09:40:08 -0800 (PST) In-Reply-To: <86ldwm2lko.fsf@gnu.org> 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:296858 Archived-At: --000000000000bd25eb062902164a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 11, 2024, 12:09=E2=80=AFPM 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. But this sounds like something that may differ between users, so perhaps we could add this controlled by a defcustom? > --000000000000bd25eb062902164a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Dec 11, 2024, 12:09=E2=80=AFPM E= li Zaretskii <eliz@gnu.org> wrote= :
> Cc: dmitry@gutov.dev
> Date: Wed, 11 Dec 2024 11:10:53 -0500
> From:=C2=A0 Spencer Baugh via "Bug reports for GNU Emacs,
>=C2=A0 the Swiss army knife of text editors" <bug-gnu-emacs@= gnu.org>
>
>
> goto-address-mode binds C-c RET to goto-address-at-point when point is=
> on a URL or email address.=C2=A0 In special-mode buffers (or maybe any=
> read-only buffer?) it should also bind RET while point is on the URL o= r
> email address.

I don't think it's a good idea, since many special-mode descendants=
bind RET to useful commands.=C2=A0 For goto-address-at-point to override that would be a nuisance, I think.

True, but when I've specifically move= d point to a URL it is usually because I want to follow the URL, not do wha= tever is bound to RET in the mode.

But this sounds like something that may differ between users, so= perhaps we could add this controlled by a defcustom?
--000000000000bd25eb062902164a--