[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix search, colors and INSIDE_EMACS

From: zimoun
Subject: Re: Guix search, colors and INSIDE_EMACS
Date: Tue, 4 Feb 2020 17:51:06 +0100

On Tue, 4 Feb 2020 at 17:39, Pierre Neidhardt <address@hidden> wrote:

> In my experience, colors worked perfectly before the INSIDE_EMACS switch
> was introduced.  I don't understand what this change tried to fix.
> Maybe one fix broke something else.

INSIDE_EMACS fixes the terminals that render OSC character
incorrectly. It appears in Emacs because there is a bug -- should be
fixed in the next release, not sure.
The other terminal deal correctly with this special character; except
if they are configured the bad way as 'terminal-mate' on Trisquel [1].


INSIDE_EMACS turn off 'link' and 'highlight'. Another modification I
did because I was annoyed. But it is broken because the highlight does
not work anymore neither.

--8<---------------cut here---------------start------------->8---
modified   guix/ui.scm
@@ -1625,7 +1625,7 @@ DURATION-RELATION with the current time."
     (let* ((file   (generation-file-name profile number))
            (link   (if (supports-hyperlinks?)
                        (cut file-hyperlink file <>)
-                       identity))
+                       (cut format #f (G_ "~a~%file: ~a") <> file)))
            (header (format #f (link (highlight (G_ "Generation ~a\t~a")))
--8<---------------cut here---------------end--------------->8---


reply via email to

[Prev in Thread] Current Thread [Next in Thread]