[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45034: [PATCH] * lisp/simple.el (async-shell-command): use comint-te
From: |
Basil L. Contovounesios |
Subject: |
bug#45034: [PATCH] * lisp/simple.el (async-shell-command): use comint-term-environment |
Date: |
Sat, 05 Dec 2020 11:26:47 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Alyssa Ross <hi@alyssa.is> 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