From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#27407: 25.2; SGR reset is ignored if it terminates Eshell's output Date: Mon, 03 Jul 2017 10:12:26 -0400 Message-ID: <878tk5k3sl.fsf@users.sourceforge.net> References: <20170617113103.GB7315@gmail.com> <87a856schh.fsf@users.sourceforge.net> <20170618064917.GB3761@gmail.com> <87poe1qj6r.fsf@users.sourceforge.net> <20170618180742.GC2617@gmail.com> <87mv95qedo.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499091082 31160 195.159.176.226 (3 Jul 2017 14:11:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Jul 2017 14:11:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: 27407@debbugs.gnu.org To: Pierre Neidhardt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 03 16:11: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 1dS24F-0007Vc-Bg for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jul 2017 16:11:11 +0200 Original-Received: from localhost ([::1]:35461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dS24K-0000Xr-PI for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jul 2017 10:11:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dS24C-0000Ru-I9 for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 10:11:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dS246-000107-Q9 for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 10:11:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47741) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dS246-000100-Ly for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 10:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dS246-000404-Hc for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jul 2017 14:11:02 +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.149909105815360 (code B ref 27407); Mon, 03 Jul 2017 14:11:02 +0000 Original-Received: (at 27407) by debbugs.gnu.org; 3 Jul 2017 14:10:58 +0000 Original-Received: from localhost ([127.0.0.1]:50417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dS242-0003zb-Gk for submit@debbugs.gnu.org; Mon, 03 Jul 2017 10:10:58 -0400 Original-Received: from mail-it0-f65.google.com ([209.85.214.65]:33775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dS240-0003zE-93; Mon, 03 Jul 2017 10:10:56 -0400 Original-Received: by mail-it0-f65.google.com with SMTP id 188so8950683itx.0; Mon, 03 Jul 2017 07:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ApOceA899xbPZNk5jq8oDU9MBCq2/DmcpLzwrPq1KUs=; b=I9lsypS8wEBoWmcq5Yl/VVblZwyj4sTBANcegYOLmm42vgetJWXFWo4CZivMQXaO2N KNdly+ZJ0qvlMgUG6Fdk+OEhJ4WXzIvVlJ9mBR/iwjjL647PXemsmCvQ9DrCVppanefr 2yA26s1gAvJkE9/yMPKmYoMn1tX5r4833aeKTlVjgJA6YNwor7ygVMidd9bcZGi7sS3C zIIBnx8Ugk7H/9imsozOQ2A9NEVFGnrfhgGeLP4su1ZXw8RkRJJFsmap+BQ+8/a03GXy 51nksKb+Lcy6O4+scFuD7ODkxOLHU0gnb+vrJOvhZo06szlAko3/5h1Ic5jj9uyP9mbm fOzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=ApOceA899xbPZNk5jq8oDU9MBCq2/DmcpLzwrPq1KUs=; b=UMrvejHQp2+I04QoE9UEuKYdPoMC4o8trTzMWFvFTTDaVoNHcnLnWUuU8NdQysrOi6 q1YZcJ1blPd+7PkD3p9SJmrqjziY2T/dbY7/yP1lCUIZLc/nqNY0IOuTAUTkWfmWOl3Q +mFB5bbrUWCNUU5EwM8tpnOuZo5AnDNIrWQRvD6L2PuKWuUXeYAonswlppu7nux842HK LiBmxHhtOoXHw+48FTxdmAJTxmnJbk4P2RQvu6H5dBeZpWzGAjOxFXVkdMl+1wgEYcrS 3LMsYCQlkU6mEz2RegeE8iuwUpJqb0DbTvjlCS/plaWKWZHx2GuSjg4z6KNawQwb2t1f uWpA== X-Gm-Message-State: AKS2vOydGuKfBWXL3hG628jf4jXFojpA0Rm0Mo6sYXj4RudtPnhhii9D ygm1q5fHgvfntnsC X-Received: by 10.36.33.202 with SMTP id e193mr30709011ita.92.1499091050738; Mon, 03 Jul 2017 07:10:50 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id g198sm6152559itb.3.2017.07.03.07.10.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jul 2017 07:10:50 -0700 (PDT) In-Reply-To: <87mv95qedo.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Sun, 18 Jun 2017 15:34:11 -0400") 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:134122 Archived-At: tags 27407 fixed close 27407 26.1 quit npostavs@users.sourceforge.net writes: >> >> I don't see any use case for letting the SGR color the shell. If you want to >> change you shell from a command, Elisp is your friend... > > Hmm, seems easy enough to fix: Pushed to master. [1: 4ebdcc46ab]: 2017-07-03 10:09:40 -0400 Let ansi-color overlay hooks work in eshell (Bug#27407) http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4ebdcc46ab345849332332d580bd1e3c2c9adb1e [2: 37cdfec7c7]: 2017-07-03 10:09:41 -0400 Reset ansi escape context before printing eshell prompt (Bug#27407) http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=37cdfec7c73205668498da9b27387f5f3ccfebee