Subject: Re: bug#45034: [PATCH] * lisp/simple.el (async-shell-command): use comint-term-environment

From: "Basil L. Contovounesios" <[email-masked]>
Date: Sat, 05 Dec 2020 11:26:47 +0000

Lars Ingebrigtsen <[email-masked]> writes:

> Alyssa Ross <[email-masked]> writes:
>
>> With this change, a simple (setq comint-terminfo-terminal "dumb-emacs-ansi")
>> is all that's required to get colored output from many programs on a
>> GNU/Linux system with a recent version of ncurses when run through
>> async-shell-command.
>
> Thanks; makes sense to me, so I've applied it to Emacs 28 (with some
> small changes).

This caused an error with:

0. emacs -Q
1. (async-shell-command "true") C-x C-e

I pushed the following fixes to master; let me know if there's anything
wrong with them.

Fix last change to shell-command
e5a18efd3d 2020-12-05 10:45:17 +0000
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e5a18efd3d96a942c6d6bdc04d0d431165f3138a

Thanks,

-- 
Basil