From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sKCxJWh2fWE+VQEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 18:44:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4D1wIWh2fWFzOAAA1q6Kng (envelope-from ) for ; Sat, 30 Oct 2021 16:44:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3E8B11C675 for ; Sat, 30 Oct 2021 18:44:24 +0200 (CEST) Received: from localhost ([::1]:53870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgrSx-0005Rn-DR for larch@yhetil.org; Sat, 30 Oct 2021 12:44:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgrSc-0005Rf-IW for bug-guix@gnu.org; Sat, 30 Oct 2021 12:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgrSc-0000nW-5s for bug-guix@gnu.org; Sat, 30 Oct 2021 12:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgrSc-0007o7-1a for bug-guix@gnu.org; Sat, 30 Oct 2021 12:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51454: Progress bar in Org source blocks Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 30 Oct 2021 16:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51454 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: excalamus@tutanota.com Received: via spool by 51454-submit@debbugs.gnu.org id=B51454.163561223529989 (code B ref 51454); Sat, 30 Oct 2021 16:44:01 +0000 Received: (at 51454) by debbugs.gnu.org; 30 Oct 2021 16:43:55 +0000 Received: from localhost ([127.0.0.1]:58329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgrSV-0007nd-BB for submit@debbugs.gnu.org; Sat, 30 Oct 2021 12:43:55 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:42973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgrST-0007nQ-Nb for 51454@debbugs.gnu.org; Sat, 30 Oct 2021 12:43:54 -0400 Received: by mail-wr1-f43.google.com with SMTP id v17so21524236wrv.9 for <51454@debbugs.gnu.org>; Sat, 30 Oct 2021 09:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=WaVNKAHZlrnrshLOKi7NSg1JcvnBBhGR87/XH02ysu0=; b=DxCt0Ip7zWzqmpyg6MUizciouoUnWq8m1YbhFRVMMKRpekUrUAFcurNOE591/8vFY2 rMn9z8Y05oDwSkiYUgct34czSjriw4rhiIOJ2VWhwCy3BwdYQMiuWoWjuS26cEOGcv4L WykBHzxiOG/vapDnxGIbtgZRysyexPOF2m1YgntbC/3BpU2ZZ32Ozi1hGFwGqCRlq5ut YLQYcM+MecMW9IN0v3Or039Yg72V+0whmvldREwC6CtaTu+CbgjMePtiwtfObFC2SvqC aY/LiONjjHlUNHesumZMWNaH/JuckhX4OOGo1Ia2jkOEqUZIQfCNmz9cvtKEuusyqbyy jDmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=WaVNKAHZlrnrshLOKi7NSg1JcvnBBhGR87/XH02ysu0=; b=WhrktI7tec6b+5HMDy1PYmuGV1PtoUvK4aCAcWszlPxlsAy+IbSQ1kxSbHAxpM/T8N 7smwrYZ0OpJQ1gF5kTTFUYuOfhXj8wWn4+3LuvTMi/FIy9QyYft2CceFBrjNRlBoVSPH a+Lpv2J89g0Gi/YhQ2h0n1oMVTXae4vXRFEdU0T2O6z8SSLTpBv2hy/7ks4w1ju4CHd1 rRFytN2OqYmFjxOueWYej9AvVGTIgxdvS4eqC00z0+A+uFit3xsVnh7EYx/+bCrmH+7M zU5PHYjBKj7thzOYyJs9c/P2XQZXHSr5PQaSVzaILiTNmvHBhW0hyhjRLKB+z1DZ2H8L apSA== X-Gm-Message-State: AOAM530av59VIIbfHc/2BsFsC7Bic7jVpV1letp3+paRUzjfAEKKEeaX zWn6EJcbKtqbKU7hDaksmmqtBjcNNko= X-Google-Smtp-Source: ABdhPJzUYA8gbqE5QAafQHZUDAOGaCKaWeXe7W5C2ODuxpJy/kFX3LBiO/qRroj/ZQeK9Bo1cFwNFw== X-Received: by 2002:a5d:6d0a:: with SMTP id e10mr23051710wrq.348.1635612227854; Sat, 30 Oct 2021 09:43:47 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id n5sm11147039wme.6.2021.10.30.09.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Oct 2021 09:43:47 -0700 (PDT) From: zimoun In-Reply-To: References: Date: Sat, 30 Oct 2021 18:43:37 +0200 Message-ID: <867ddujwee.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 51454@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635612264; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WaVNKAHZlrnrshLOKi7NSg1JcvnBBhGR87/XH02ysu0=; b=e33ts4d6ssfAX9v7TwKseQcxME4IbJ6LNycbt+M2wQA0XRV2bcJVTJq2lEI0xaOvOxuSgc hs2HsDb1p0AhSconTQJX7PBg7zIMAthddeGMzjEueNR+zMYdWl+J7tN6txHOFalMjWQlFm 9t+Vh0wlUWDSLFjrSLj/lbP0XQSlgobem/M2AtdVX2t65G150VA4J6GQ3XIZfUlW+gxjNn DceqO3TBr7c9zDWI6SGQ1weruCaxIyuymRYWDohOKszIJ6hsJMZWrPQJaDQaQIFQypS6Os UNh3091I6Obza3CI2YJqcsAH0SU7bdaZDgglXf9J9Ynhuyh33S48azYhiGYalA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635612264; a=rsa-sha256; cv=none; b=K7p7AcVjUIMF9vYcjq30iuiBzA4BCkHldK7ACmaDiiAkR71YgZ+56GuAPudqWXYkfPOLW9 9Csiq/hfzZ6voqmujDOo0124n14XSa5NAwRykrkRRV0NCmJ4u/CdvW7gixOOekqVKkZs9c o0rvig1OpLKKrxztZTfR4LPDdoBG7pcW/7wXFRQ+YkujNQidhz1TVEcuzO6s1JxleMLe5o ajPqFSEt0o2YhU1G22MhuTkxooFMgj76zvnhffLFjZDVyzvEKMGKv7WDCDRRpObiBFjysx mK/d24N4Oowpqs9De8a9NBkrDbYlsXyqVJ336fTlY5Mo7VyfSCdFYcssb+09LQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DxCt0Ip7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=DxCt0Ip7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 3E8B11C675 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: ipYiX401XF0G Hi, On Sat, 30 Oct 2021 at 06:55, excalamus@tutanota.com wrote: >> try the environment variable INSIDE_EMACS with turns off >> some fancy shell things. >> > This is a good suggestion.=C2=A0 Maybe I'm misunderstanding how > INSIDE_EMACS works. The docs say: Thanks for the pointing the Emacs doc. From my understanding, the environment variable INSIDE_EMACS is used by Guix to turn on/off hyperlink support. It reads, --8<---------------cut here---------------start------------->8--- (define* (supports-hyperlinks? #:optional (port (current-output-port))) "Return true if PORT is a terminal that supports hyperlink escapes." ;; Note that terminals are supposed to ignore OSC escapes they don't ;; understand (this is the case of xterm as of version 349, for instance.) ;; However, Emacs comint as of 26.3 does not ignore it and instead lets it ;; through, hence the 'INSIDE_EMACS' special case below. (and (isatty?* port) (not (getenv "INSIDE_EMACS")))) --8<---------------cut here---------------end--------------->8--- > "Emacs sets the environment variable INSIDE_EMACS in thesubshell to > =E2=80=98version,comint=E2=80=99, where version is the Emacs version (e.g= ., =E2=80=9824.1=E2=80=99). > Programs can check this variableto determine whether they are running > inside an Emacs subshell." Indeed, Emacs sets automatically this variable. That=E2=80=99s why it is u= sed by Guix. :-) > I understand this to mean that INSIDE_EMACS *is* being set and that > it's the guix command's responsibility to do something with it (if it > wants to). Yes. > If instead I set INSIDE_EMACS to something falsey (e.g. 1) and run > through things, I see the same result with color and control > characters. Thanks for reporting. I though tweaking that variable would be enough to fix the odd behaviour you are seeing, --8<---------------cut here---------------start------------->8--- : guix package: [1;35mwarning: [0mnothing to do --8<---------------cut here---------------end--------------->8--- which are related to shell fancy =E2=80=9Ccontrollers=E2=80=9D. If you hav= e not tried yet, then NO_COLOR=3D1 should do the job. Sorry to not have thought before. :-) Cheers, simon