From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#38940: \x1b]8; ; OSC character displayed on hyperlinks shown after calls to `guix describe` or `guix show` on mate-terminal 1.12.1 (Trisquel 8) Date: Thu, 09 Jan 2020 22:23:48 +0100 Message-ID: <87woa0tjbv.fsf@gnu.org> References: <1578206891.2605.33.camel@gmail.com> <1578342380.2215.13.camel@gmail.com> <1578475589.2665.55.camel@gmail.com> <877e21eiy9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42248) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipfHf-0002PL-3z for bug-guix@gnu.org; Thu, 09 Jan 2020 16:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipfHe-0000N8-2c for bug-guix@gnu.org; Thu, 09 Jan 2020 16:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipfHd-0000Lm-Si for bug-guix@gnu.org; Thu, 09 Jan 2020 16:24:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ipfHd-0000ww-Ll for bug-guix@gnu.org; Thu, 09 Jan 2020 16:24:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (zimoun's message of "Thu, 9 Jan 2020 13:17:33 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: zimoun Cc: Calvin Heim , 38940@debbugs.gnu.org Hi! zimoun skribis: > On Wed, 8 Jan 2020 at 22:28, Ludovic Court=C3=A8s wrote: > >> The theory is that terminals should ignore OSC codes that they do not >> support. Good=E2=80=99ol xterm, for instance, silently ignores those hy= perlink >> codes, whereas GNOME Terminal interprets them nicely. > > H=C3=A9h=C3=A9! It is what the comment you wrote in `supports-hyperlinks?= ' says. :-) > > 1. Instead of INSIDE_EMACS, the variable name NO_SUPPORT_HYPERLINK or > other seems more meaningful. Maybe? Actually the goal was to remove =E2=80=98INSIDE_EMACS=E2=80=99 from there o= nce a widespread-enough Emacs version supports it, which could be within a year. And since other terminals are supposed to ignore it altogether, I would rather not add a special environment variable. WDYT? > 2. The comment should go in the docstring. I tend to write =E2=80=9Cimplementation details=E2=80=9D as comments, while= keeping pure descriptions of the interface as docstrings; I think it=E2=80=99s OK. :-) Ludo=E2=80=99.