From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lawrence D'Anna Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] comint: save & restore fonts so misidentified prompts don't lose their color Date: Thu, 12 Mar 2015 09:26:50 -0700 Message-ID: <28340BE0-DC30-403F-BE24-86A7406C6C90@elder-gods.org> References: <9377f7fea03766d39e03bc98355eb6f01e13b51f.1426134831.git.larry@elder-gods.org> <85y4n25n2q.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1426177834 26874 80.91.229.3 (12 Mar 2015 16:30:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2015 16:30:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Wolfgang Jenkner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 12 17:30:24 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YW608-0003Gn-4q for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2015 17:30:24 +0100 Original-Received: from localhost ([::1]:32909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW607-0001IG-5K for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2015 12:30:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW5wp-0004fF-OK for emacs-devel@gnu.org; Thu, 12 Mar 2015 12:27:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YW5wl-0001lJ-6l for emacs-devel@gnu.org; Thu, 12 Mar 2015 12:26:59 -0400 Original-Received: from mail-pd0-f180.google.com ([209.85.192.180]:44188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW5wl-0001kp-1R for emacs-devel@gnu.org; Thu, 12 Mar 2015 12:26:55 -0400 Original-Received: by pdjz10 with SMTP id z10so21242611pdj.11 for ; Thu, 12 Mar 2015 09:26:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ROYRoPeljZFx3IdPfxNR4l5nsTv4px7DTdM7III3jOM=; b=SpsM28vFj3mohF708p0hq/6ttlPTMJX7TLstbR7M5f3a3nlTkRDnQtjUF461UO4bxE z1lWJWMLLxr+GWff1krPycvVIwZn+7iR9oFBPfaAlDlpLempX/zUPYmilnQ6J81hYoZY We9swZh7eRmpmllbEjVpso1NOoRH5kgm03R3ZGIL/XdxcxyK4e8aYTpsaO0j/iU9KrMT 30IXc0lUySanFzTPH9BroyXRYKYJECtsdThjeCWA6B+le21cIxKg2Q+b191cS2XS2+va z2Vl1zYbny5jZ64V2YO7hpRpSwRH+WyagZWEHYpg3y93oDhlGLjN1pAB7orVtD2QwbgD hBiQ== X-Received: by 10.70.34.129 with SMTP id z1mr14336925pdi.113.1426177613991; Thu, 12 Mar 2015 09:26:53 -0700 (PDT) Original-Received: from orcus.lan ([73.15.67.146]) by mx.google.com with ESMTPSA id pm9sm11686627pdb.59.2015.03.12.09.26.52 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Mar 2015 09:26:52 -0700 (PDT) In-Reply-To: <85y4n25n2q.fsf@iznogoud.viz> X-Mailer: Apple Mail (2.2070.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.180 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183829 Archived-At: > On Mar 12, 2015, at 7:02 AM, Wolfgang Jenkner = wrote: >=20 > On Wed, Mar 11 2015, Lawrence D'Anna wrote: >=20 >> I'm hitting a very annoying bug where sometimes colors will be = missing >> from random segments of output, always starting at the beginning of a >> line. >=20 > Please see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20084. >=20 > It seems, however, that your patch doesn't address the bug report's = OP's > concern. >=20 > Wolfgang So what is the correct behavior if the prompt has colors in it? Color = over the parts that don=E2=80=99t have colors? =20 Or should the whole prompt be left alone if any of it has colors?=