From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Guix search, colors and INSIDE_EMACS Date: Mon, 24 Feb 2020 17:50:29 +0100 Message-ID: References: <87blqeml4w.fsf@ambrevar.xyz> <87tv46qqlf.fsf@elephly.net> <878slamdzp.fsf@ambrevar.xyz> <87r1z13ap2.fsf@ambrevar.xyz> <87v9od2oyw.fsf@gnu.org> <87ftfhkxzt.fsf@ambrevar.xyz> <87blpoj6vn.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]:44535) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6GwO-0003sC-OB for guix-devel@gnu.org; Mon, 24 Feb 2020 11:50:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6GwN-0006R7-I6 for guix-devel@gnu.org; Mon, 24 Feb 2020 11:50:44 -0500 In-Reply-To: <87blpoj6vn.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Guix Devel Hi, On Mon, 24 Feb 2020 at 17:19, Ludovic Court=C3=A8s wrote: > Jack Hill skribis: > > I've been trying to follow this discussion as I have observed problems > > with the linking characters in eshell. However, it seems I am having > > seeing different behavior than others. In both Emacs 26.3 and > > Emacs-next 27.0.50, running as `emacs -q`, INSIDE_EMACS is not being > > set in eshell so, guix describe looks like > > > > guix describe > > ]8;;file://lib-its13/var/guix/profiles/per-user/install/current-guix-66= -link\Generation 66 Feb 07 2020 10:38:56]8;;\ (current) > > That looks like a bug in eshell. See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39596 > In general, when facing such a situation, I think we should check if > there=E2=80=99s an easy workaround to avoid gratuitously annoying users (= like > the =E2=80=98INSIDE_EMACS=E2=80=99 hack for shell-mode), and if not, we s= hould bug > upstream to fix their software. :-) But some terminal emulator are not doing the correct thing [1]. And an option to turn off/on the hyperlink seems useful. I mean even for terminal emulators correctly supporting the OSC, I would find useful to display the hyperlink; it eases the copy/paste. For example, I am using xterm, and I would like to turn on/off the Generation file hyperlink and commit url. (well, so my tiny patch in sent to this thread ;-). [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38940#23 All the best, simon