GNU bug report logs - #77260
30.1.50; Annotate goto-address-mode buttons with OSC-8 hyperlinks

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Spencer Baugh <sbaugh@HIDDEN>; dated Tue, 25 Mar 2025 19:38:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 77260 <at> debbugs.gnu.org:


Received: (at 77260) by debbugs.gnu.org; 16 Sep 2025 15:26:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 16 11:26:05 2025
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>
To: Spencer Baugh <sbaugh@HIDDEN>
Subject: Re: bug#77260: 30.1.50; Annotate goto-address-mode buttons with
 OSC-8 hyperlinks
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-Debbugs-Envelope-To: 77260
Cc: 77260 <at> debbugs.gnu.org
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'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77260; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Mar 2025 19:37:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 25 15:37:58 2025
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>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1.50; Annotate goto-address-mode buttons with OSC-8 hyperlinks
X-Debbugs-Cc: 
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-Debbugs-Envelope-To: submit
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.




Acknowledgement sent to Spencer Baugh <sbaugh@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77260; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 16 Sep 2025 15:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.