all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Alex Griffin <a@ajgrf.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Guix search, colors and INSIDE_EMACS
Date: Thu, 13 Feb 2020 15:22:50 +0100	[thread overview]
Message-ID: <CAJ3okZ2vXook3Td=-mQDdaW_d0yT0MwCkG7eXNAg2-p6vc96GA@mail.gmail.com> (raw)
In-Reply-To: <a7ed74f0-9f05-47f9-8bf7-39999e72ee2b@www.fastmail.com>

Hi,

On Thu, 13 Feb 2020 at 14:42, Alex Griffin <a@ajgrf.com> wrote:
>
> On Thu, Feb 13, 2020, at 9:30 AM, zimoun wrote:
> > Therefore, IMHO you need to set the environment variable by yourself
> > in your config file. Or send a patch upstream.
> > Because the reason is that EShell is not doing the right thing and it
> > is not compliant to the doc.
>
> Compliant to which doc? The only place I can find documentation for INSIDE_EMACS is in the shell-mode docs. I can't find any doc that suggests it should be set by any other package.

I badly worded. Sorry.

As Ricardo pointed [1], the Emacs doc [2] says:

--8<---------------cut here---------------start------------->8---
 Emacs sets the environment variable INSIDE_EMACS in the subshell to
 ‘version,comint’, where version is the Emacs version (e.g.,
 ‘24.1’). Programs can check this variable to determine whether they are
 running inside an Emacs subshell.
--8<---------------cut here---------------end--------------->8---

So EShell should manage INSIDE_EMACS since it could be considered as
an Interactive Shell or subshell.
It is how I understand it. Maybe, I misread.


Well, concretely, if you use EShell and you want a readable "guix
describe", you have to put in your '.emacs' config file something like
'(setenv "INSIDE_EMACS" "1")'. Or you should patch EShell and report
it upstream.


[1] https://lists.gnu.org/archive/html/guix-devel/2020-02/msg00040.html
[2] https://www.gnu.org/software/emacs/manual/html_node/emacs/Interactive-Shell.html


Hope that helps,
simon

  reply	other threads:[~2020-02-13 14:23 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-04 15:23 Guix search, colors and INSIDE_EMACS Pierre Neidhardt
2020-02-04 16:12 ` Ricardo Wurmus
2020-02-04 16:37   ` Pierre Neidhardt
2020-02-04 16:51     ` zimoun
2020-02-04 19:16     ` Ricardo Wurmus
2020-02-04 19:18     ` Ricardo Wurmus
2020-02-06  9:51       ` Pierre Neidhardt
2020-02-13  9:30         ` zimoun
2020-02-13 13:41           ` Alex Griffin
2020-02-13 14:22             ` zimoun [this message]
2020-02-14  7:17               ` Pierre Neidhardt
2020-02-14  7:21                 ` Pierre Neidhardt
2020-02-17  7:51                   ` Pierre Neidhardt
2020-02-17  7:54                     ` zimoun
2020-02-17 13:42                       ` Pierre Neidhardt
2020-02-17 18:33                         ` zimoun
2020-02-24 10:19                           ` Pierre Neidhardt
2020-02-24 16:22                     ` Ludovic Courtès
2020-02-24 16:44                       ` Pierre Neidhardt
2020-02-24 17:11                         ` zimoun
2020-02-24 20:54                         ` Ludovic Courtès
2020-02-24 21:32                           ` Pierre Neidhardt
2020-02-24 16:53                       ` zimoun
2020-02-05 15:13     ` Ludovic Courtès
2020-02-06  9:56       ` Pierre Neidhardt
2020-02-07 21:33         ` Ludovic Courtès
2020-02-08 16:34           ` Pierre Neidhardt
2020-02-04 16:40   ` zimoun
2020-02-10 19:36     ` Pierre Neidhardt
2020-02-10 23:24       ` zimoun
2020-02-11  6:22         ` Pierre Neidhardt
2020-02-11 14:11           ` Ludovic Courtès
2020-02-11 14:19             ` Pierre Neidhardt
2020-02-11 15:14               ` zimoun
2020-02-11 16:37                 ` Jack Hill
2020-02-11 18:09                   ` zimoun
2020-02-11 19:04                     ` Jack Hill
2020-02-12 13:39                     ` Pierre Neidhardt
2020-02-12 16:30                       ` zimoun
2020-02-13  9:35                         ` zimoun
2020-02-24 16:18                   ` Ludovic Courtès
2020-02-24 16:45                     ` Pierre Neidhardt
2020-02-24 16:59                       ` zimoun
2020-02-24 16:50                     ` zimoun
2020-02-11 15:11             ` zimoun
2020-02-11 15:06           ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ3okZ2vXook3Td=-mQDdaW_d0yT0MwCkG7eXNAg2-p6vc96GA@mail.gmail.com' \
    --to=zimon.toutoune@gmail.com \
    --cc=a@ajgrf.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.