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

Previous Next

Package: emacs;

Reported by: Alyssa Ross <hi <at> alyssa.is>

Date: Fri, 4 Dec 2020 00:59:02 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Alyssa Ross <hi <at> alyssa.is>, 45034 <at> debbugs.gnu.org
Subject: bug#45034: [PATCH] * lisp/simple.el (async-shell-command): use comint-term-environment
Date: Sat, 05 Dec 2020 11:26:47 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Alyssa Ross <hi <at> 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




This bug report was last modified 4 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.