From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.bugs Subject: bug#27407: 25.2; SGR reset is ignored if it terminates Eshell's output Date: Sun, 18 Jun 2017 07:49:17 +0100 Message-ID: <20170618064917.GB3761@gmail.com> References: <20170617113103.GB7315@gmail.com> <87a856schh.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1497768617 9316 195.159.176.226 (18 Jun 2017 06:50:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Jun 2017 06:50:17 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) Cc: 27407@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 18 08:50:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMU2G-0001y9-5p for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Jun 2017 08:50:12 +0200 Original-Received: from localhost ([::1]:37324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMU2J-0007VS-RV for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Jun 2017 02:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMU2A-0007Tm-Ti for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2017 02:50:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMU26-0007gD-3H for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2017 02:50:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMU26-0007fx-0P for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2017 02:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dMU25-0005Jq-Ng for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2017 02:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Jun 2017 06:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27407 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 27407-submit@debbugs.gnu.org id=B27407.149776856720395 (code B ref 27407); Sun, 18 Jun 2017 06:50:01 +0000 Original-Received: (at 27407) by debbugs.gnu.org; 18 Jun 2017 06:49:27 +0000 Original-Received: from localhost ([127.0.0.1]:53918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMU1X-0005It-CO for submit@debbugs.gnu.org; Sun, 18 Jun 2017 02:49:27 -0400 Original-Received: from mail-wm0-f68.google.com ([74.125.82.68]:35845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMU1V-0005Ig-OK for 27407@debbugs.gnu.org; Sun, 18 Jun 2017 02:49:26 -0400 Original-Received: by mail-wm0-f68.google.com with SMTP id d17so11628246wme.3 for <27407@debbugs.gnu.org>; Sat, 17 Jun 2017 23:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ho+KwBAxZN19qZke26mj3l+lV4y2CICZGOyTxeT0DMM=; b=RaEO8WBT9hMDrvnbZpzqy+/nXXXTA083/UrRkbfSkFfqEkDyb/t9CFR3mAPKinl6fA PGwJrQkHMeHqLPvyb+PO+OaJgUwVoNAgnka651TxhTSKluZv1SzfScV4ZTaQZBRURJIV 7+KHNF6IQCyGGfhSDRBr6wIO66cxie5Z4xxH+Kl3Zx/p4PaKFoAx9BfYOg7Ok1P5jZrp /CiCk1shgLqn72UjloSqkR/KYzOZOeYZLdizG9iZU7mIqq4FewXNdaq2o458o7q+B0ot 6JPOpyGiT59fVQ9RMdyOBLNEqmH47oYvAFOPJpP1srMYYV18T5/gGmAvQyFuXwGFXBKW +Hag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ho+KwBAxZN19qZke26mj3l+lV4y2CICZGOyTxeT0DMM=; b=WnGmqVPedyj8exG62fbC+vtv8wvAFakc5FzZ3oFIaKK895byv+N/E+VwEL08/hXtr0 4DFbcrB3ttecPjYOL8fcTfZz2ccMf9/DmYbQbsp5EXWL7za39PDTVf5wx3tGCw3Elo5C 8APnUPISfjAysZ6uKj5+OzIoDeLK3GzxSTsN9nufr5CTAmUYOn24lHODxD+CsWDoiv8o HWt1VuN8mDMlmi/t1AVpYf0BuEFNLFrD7rQeOW+63vB89jH2LkywFi781vEF5IHzH+6A 6gcAAcfdhXKjgmTpIRbSunsyPITE3nyVz/EbQQkfXptzax4/mRINxKawN1lBfnsF6Yap K/Dg== X-Gm-Message-State: AKS2vOzhLMtxaml3hkeNCfRgrE+HOdLZ4rkUHzgFMxuZ4yE0HcyAUmYq aN/QyAnoAh/gmg== X-Received: by 10.80.194.66 with SMTP id t2mr11371631edf.86.1497768560003; Sat, 17 Jun 2017 23:49:20 -0700 (PDT) Original-Received: from gmail.com ([196.203.31.130]) by smtp.gmail.com with ESMTPSA id x9sm4176775edd.36.2017.06.17.23.49.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Jun 2017 23:49:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87a856schh.fsf@users.sourceforge.net> X-Info: Simplicity is the ultimate sophistication. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:133721 Archived-At: On 17-06-17 14:19:54, npostavs@users.sourceforge.net wrote: > You meant enter the text produced with (insert "echo \"\e[33mhello\e[0m\""). Yes. I haven't tried your patch, but in the general case Eshell should not extend the ANSI coloring to the prompt, SGR reset or not. I.e. the following should not color the prompt: (insert "echo \"\e[33mhello") -- Pierre Neidhardt