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

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 04 Dec 2020 11:07:32 +0100

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 change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no