X-Loop: help-debbugs@HIDDEN
Subject: bug#77260: 30.1.50; Annotate goto-address-mode buttons with OSC-8 hyperlinks
Resent-From: Spencer Baugh <sbaugh@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Mar 2025 19:38:01 +0000
Resent-Message-ID: <handler.77260.B.174293147923701 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 77260
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 77260 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174293147923701
(code B ref -1); Tue, 25 Mar 2025 19:38:01 +0000
Received: (at submit) by debbugs.gnu.org; 25 Mar 2025 19:37:59 +0000
Received: from localhost ([127.0.0.1]:40083 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1txA62-0006AD-Bu
for submit <at> debbugs.gnu.org; Tue, 25 Mar 2025 15:37:58 -0400
Received: from lists.gnu.org ([2001:470:142::17]:58964)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <sbaugh@HIDDEN>)
id 1txA5z-00069O-FW
for submit <at> debbugs.gnu.org; Tue, 25 Mar 2025 15:37:56 -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 <sbaugh@HIDDEN>)
id 1txA5Q-0004kf-Fa
for bug-gnu-emacs@HIDDEN; Tue, 25 Mar 2025 15:37:29 -0400
Received: from mxout5.mail.janestreet.com ([64.215.233.18])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <sbaugh@HIDDEN>)
id 1txA5O-0008CO-Qq
for bug-gnu-emacs@HIDDEN; Tue, 25 Mar 2025 15:37:20 -0400
From: Spencer Baugh <sbaugh@HIDDEN>
Date: Tue, 25 Mar 2025 15:37:16 -0400
Message-ID: <ierldsssxzn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com;
s=waixah; t=1742931436;
bh=diRsEryVALvjGEDm8XrKD+TK5VyoRGBmuN2HuTEB2U4=;
h=From:To:Subject:Date;
b=xA9LZjmxCL8TwLWe2ggAYmthQwqEg0nYzpA4gzVKIBL1FHLZzP8m/SFibRRHQe5eN
UsRR7UCE+yuvSKOKoOga4JRuhvBR3E9OlC9xDt231IOfEYBZUmZmifhbJn4p3Qk6OF
44581em6Dng78IybDEl+B6T17bY0KP1hYh3YfNo+BREzUpVb+a5zI7T/eh/UX+JVfi
/Qwpk2r/SbZQKQ76+89U/Fkw5ww02Ivm0kd/WB68fGc0UC/RKq69yPagtivF9xTyvd
ikiWIfNG23bGL80cCyqwCMA3etnjccy3+DBM969oSy2yTl0LLIUeGUqUQkhxFBt0WP
KjpBDdLlu62LQ==
Received-SPF: pass client-ip=64.215.233.18; envelope-from=sbaugh@HIDDEN;
helo=mxout5.mail.janestreet.com
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)
In the last few years many terminal emulators have added support for an
escape sequence to indicate hyperlinks, OSC 8. See
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda for
documentation of it.
Other GNU projects such as coreutils have added OSC 8 support; e.g. ls
has --hyperlink.
goto-address-mode, and other kinds of URLs in Emacs, should probably
also support OSC 8, at least optionally.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Spencer Baugh <sbaugh@HIDDEN> Subject: bug#77260: Acknowledgement (30.1.50; Annotate goto-address-mode buttons with OSC-8 hyperlinks) Message-ID: <handler.77260.B.174293147923701.ack <at> debbugs.gnu.org> References: <ierldsssxzn.fsf@HIDDEN> X-Gnu-PR-Message: ack 77260 X-Gnu-PR-Package: emacs Reply-To: 77260 <at> debbugs.gnu.org Date: Tue, 25 Mar 2025 19:38:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 77260 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 77260: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77260 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#77260: 30.1.50; Annotate goto-address-mode buttons with OSC-8 hyperlinks
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 16 Sep 2025 15:27:02 +0000
Resent-Message-ID: <handler.77260.B77260.175803636518815 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77260
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Spencer Baugh <sbaugh@HIDDEN>
Cc: 77260 <at> debbugs.gnu.org
Received: via spool by 77260-submit <at> debbugs.gnu.org id=B77260.175803636518815
(code B ref 77260); Tue, 16 Sep 2025 15:27:02 +0000
Received: (at 77260) by debbugs.gnu.org; 16 Sep 2025 15:26:05 +0000
Received: from localhost ([127.0.0.1]:49370 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uyXZE-0004tO-LB
for submit <at> debbugs.gnu.org; Tue, 16 Sep 2025 11:26:04 -0400
Received: from mout-p-202.mailbox.org ([80.241.56.172]:51738)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uyXZ7-0004rs-VB
for 77260 <at> debbugs.gnu.org; Tue, 16 Sep 2025 11:25:58 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
(No client certificate requested)
by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4cR5MJ16hlz9tSP;
Tue, 16 Sep 2025 17:25:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001;
t=1758036348;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=JY0xZe8u2ZaRo79lzu79/fIEXY+bdaFX883M5Wtt1DI=;
b=m3PGxgrwJT0QRQJn7Wd61jpkiGdx9m7vJuvO/rH8jZ4eO8tynv/S+q7uPI3+IJJieFyPhH
nQb65SyHI+XtadI3cIdxMEY9YqxTlORwFLprRBztGkxAcG7lnwURfIqPKtSl/xeSq3uxgp
4MDB8tc1/aXOt052nQbQEbw1HKGLhJrA3Zxb36r6ggnWfo+557p4WfunmQ914e2TEtVfDj
zQNBueCg3zB0t8k/MehkpUPajTKCLH28xPxrytnQZwq67tijS7T8r9HW+crYfqpdOyrNP6
jUlrMbWssaCxA4/wnAh1Uari6KGUMyLy2xvjH2kcTueXf6vLYBQfVvNxWXMu/Q==
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <ierldsssxzn.fsf@HIDDEN>
Organization: LINKOV.NET
References: <ierldsssxzn.fsf@HIDDEN>
Date: Tue, 16 Sep 2025 18:12:08 +0300
Message-ID: <87y0qefvfr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
> In the last few years many terminal emulators have added support for an
> escape sequence to indicate hyperlinks, OSC 8. See
> https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda for
> documentation of it.
>
> Other GNU projects such as coreutils have added OSC 8 support; e.g. ls
> has --hyperlink.
>
> goto-address-mode, and other kinds of URLs in Emacs, should probably
> also support OSC 8, at least optionally.
OSC-8 hyperlinks are already supported after such customization:
(add-hook 'comint-output-filter-functions 'comint-osc-process-output)
Maybe this should be added to the default value?
Then with bug#74792 you can type 'RET' on these hyperlinks
instead of 'C-c RET'.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.