From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#12792: 24.2.50; shell-mode renders all its output in a yellow face Date: Mon, 5 Nov 2012 17:31:50 -0800 Message-ID: <20121105173150.19d3290c@fatty> References: <871ugbxdyr.fsf@secretsauce.net> <85r4oazoh4.fsf@iznogoud.viz> <83y5ii4pfw.fsf@gnu.org> <85d2zuzhxe.fsf@iznogoud.viz> <85hap6yre0.fsf@iznogoud.viz> <20121104004557.00fb50a5@shorty.local> <85txt5eav5.fsf@iznogoud.viz> <20121104122456.3f2c6448@shorty.local> <85sj8prl8d.fsf@iznogoud.viz> <20121104192343.1f243455@shorty.local> <854nl4krvr.fsf@iznogoud.viz> <20121105155711.267e869b@fatty> <85mwyvplpu.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352165950 8861 80.91.229.3 (6 Nov 2012 01:39:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2012 01:39:10 +0000 (UTC) Cc: 12792@debbugs.gnu.org To: Wolfgang Jenkner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 06 02:39:19 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TVY8M-0008UZ-9w for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2012 02:39:18 +0100 Original-Received: from localhost ([::1]:52275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVY8D-0000Cn-9R for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2012 20:39:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVY89-0000Cc-PL for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 20:39:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVY88-0005h1-HC for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 20:39:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVY38-0004f0-62 for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 20:33:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TVY69-0003Mr-Vr for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2012 20:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Nov 2012 01:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12792-submit@debbugs.gnu.org id=B12792.135216577812895 (code B ref 12792); Tue, 06 Nov 2012 01:37:01 +0000 Original-Received: (at 12792) by debbugs.gnu.org; 6 Nov 2012 01:36:18 +0000 Original-Received: from localhost ([127.0.0.1]:51344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVY5R-0003Lv-5Q for submit@debbugs.gnu.org; Mon, 05 Nov 2012 20:36:18 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52889) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVY5N-0003Lj-3U for 12792@debbugs.gnu.org; Mon, 05 Nov 2012 20:36:15 -0500 Original-Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 8844320C71; Mon, 5 Nov 2012 20:33:04 -0500 (EST) Original-Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 05 Nov 2012 20:33:04 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=Wb2H+2oAmfAwXxFX0ImPoYEG3b0=; b=TQ3qoI+mgthoHR1PvD6KBH/2pLRv 1I7PoYd1/9r4OZ72MJiGx4WvuBtjri8j0uDkPHM1s3aft8TJD5UWdMVyHVYDraNn cMwSXhsvpTdkp3rVmGdTDy6DJ74q8upG1RoYkOFgRV4MfN8b05FIVVGoLI+jNbWE /sZRzyRIXyVVkPU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=Wb2H+2oAmfAwXxFX0ImPoY EG3b0=; b=qIKkj2qtzgVibiyCeEsfNs5R9Kh40FgsG8TGE/1ruNF7L39DdDrWBF hK18IO60CQp7Vcrbz+zzZBrxlEcU6FwIJgSaiLj944gEZWW3bOgJsTx8rchlWjRR HY2HRApkZiDC0PkddBV738EjEDtwb5m5nQFfsn5oQrtZkHYP/FZIY= X-Sasl-enc: IzYEOADEMaprcV/Cj2ocOsxY340fOoFGp37cro4uvWau 1352165584 Original-Received: from fatty (unknown [204.154.109.20]) by mail.messagingengine.com (Postfix) with ESMTPA id 0ECA8482644; Mon, 5 Nov 2012 20:33:03 -0500 (EST) In-Reply-To: <85mwyvplpu.fsf@iznogoud.viz> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66513 Archived-At: > On Tue, 06 Nov 2012 02:24:29 +0100 > Wolfgang Jenkner wrote: > > On Tue, Nov 06 2012, Dima Kogan wrote: > > > Previously, I would do M-x shell, and then evaluate the new defun; > > this produced the results I described earlier. > > Too late, the function must be redefined before the first prompt is > sent. I thought it would be simpler to give you the rewritten defun > separately instead of having you patching ansi-color.el ;-) > > > You just asked for a different order: load ansi-color, comint, THEN > > eval defun, THEN M-x shell. That produces different colored > > results: everything looks correct except the prompt is all blue all > > the time. Nothing has nil face. Is this the expected behavior with > > that defun > > Yes. As you found out in your original report the prompt coloring has > been broken for longer. If you customize the comint-highlight-prompt > face so that it doesn't inherit from minibuffer-prompt (which does the > blue colouring), you'll see that the current prompt is actually > coloured correctly but for the previous prompts, > comint-highlight-prompt just replaces the ansi-color faces. That's > weird. Somebody should at some point do something about it ;-) > > In any case, you submitted a separate report about the prompt issue, > viz. bug#11883. > > So, I'd say that the issue at hand is solved. I'll just try to > rewrite the new ansi-color-apply-sequence in a less ugly way. > > Wolfgang Sounds good. Thanks a lot. dima