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#11883: Hints Date: Tue, 6 Nov 2012 11:12:43 -0800 Message-ID: <20121106111243.3b2d7965@fatty> References: <87a9z9ec3k.fsf@shorty.local.i-did-not-set--mail-host-address--so-tickle-me> 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 1352229302 25437 80.91.229.3 (6 Nov 2012 19:15:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2012 19:15:02 +0000 (UTC) To: 11883@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 06 20:15:12 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 1TVocB-0008WP-AN for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2012 20:15:11 +0100 Original-Received: from localhost ([::1]:33283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVoc2-0002Tr-73 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2012 14:15:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVobz-0002Qs-40 for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2012 14:14:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVobq-00025s-4O for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2012 14:14:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVobp-00025h-Tw for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2012 14:14:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TVoew-0003cC-30 for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2012 14:18:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87a9z9ec3k.fsf@shorty.local.i-did-not-set--mail-host-address--so-tickle-me> 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 19:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11883 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11883-submit@debbugs.gnu.org id=B11883.135222943313836 (code B ref 11883); Tue, 06 Nov 2012 19:18:02 +0000 Original-Received: (at 11883) by debbugs.gnu.org; 6 Nov 2012 19:17:13 +0000 Original-Received: from localhost ([127.0.0.1]:52807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVoe8-0003b6-Rn for submit@debbugs.gnu.org; Tue, 06 Nov 2012 14:17:13 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34518) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVoe6-0003ay-E2 for 11883@debbugs.gnu.org; Tue, 06 Nov 2012 14:17:11 -0500 Original-Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 97AED20A4E for <11883@debbugs.gnu.org>; Tue, 6 Nov 2012 14:13:57 -0500 (EST) Original-Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 06 Nov 2012 14:13:57 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=DUdFgMH5aOdBTvKVam+AgYz fLow=; b=QYi5U8+NjUoidzectUTTSPKd9GrPQ2AFPnK5xzDPCwzXGg+FL1olpus b9TmcyON505fvOArEUk+1PfXW7x5I2BD0sJojaeDvRRKIufpkiTUAp2yOA50ZtSH y7yFDqrg4Mcie+d+kX0DCN1YTx0y5tNuAHLq9QFFzD03e0ObWjKQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :mime-version:content-type:content-transfer-encoding; s=smtpout; bh=DUdFgMH5aOdBTvKVam+AgYzfLow=; b=A/1opFs2A6d4PDy3R0QuDM6tcjFE 4wDwJofLKVIZw7MNSnzRqP4VCyAtq2T3LoTFsam/yF9bx/kaLcWdq8P7pBhX0GeJ jDccARdmIw9w+ES1LFKNw33ZVIMR1YnCZo/yY8IfLbhyVs8aYXaeKkWFNxz/cd2L iG6x2hf/AO7yUks= X-Sasl-enc: h+wuKbGZBmbKlh9C7K0gRlV/tPZUvjpNcdT/TW04/kbe 1352229237 Original-Received: from fatty (unknown [204.154.109.20]) by mail.messagingengine.com (Postfix) with ESMTPA id 32642482642 for <11883@debbugs.gnu.org>; Tue, 6 Nov 2012 14:13:57 -0500 (EST) 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:66546 Archived-At: Looking around, I discovered that this regression was introduced in http://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/ansi-color.el?id=cd49cea06bb1c492d4d024889f3f320bf4c9b507 Furthermore, starting from the recent sources, this regression can be fixed by making the following changes to comint.el: 1. Not inheriting the comint-highlight-prompt face from minibuffer-prompt 2. In comint-output-filter, changing ;; Just move an existing overlay (move-overlay comint-last-prompt-overlay prompt-start (point)) to (move-overlay (copy-overlay comint-last-prompt-overlay) prompt-start (point)) Note that I don't understand this code sufficiently well to claim this as a fix, but hopefully this will be helpful for the maintainer to make the final fix. dima