From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 07 00:02:04 2012 Received: (at submit) by debbugs.gnu.org; 7 Feb 2012 05:02:04 +0000 Received: from localhost ([127.0.0.1]:57999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RudBq-0006eS-G9 for submit@debbugs.gnu.org; Tue, 07 Feb 2012 00:02:03 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49524) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rud01-0006LV-TJ for submit@debbugs.gnu.org; Mon, 06 Feb 2012 23:49:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rucz4-0000zd-3K for submit@debbugs.gnu.org; Mon, 06 Feb 2012 23:48:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:39376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rucz4-0000zZ-1w for submit@debbugs.gnu.org; Mon, 06 Feb 2012 23:48:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rucz3-0007Sw-4P for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 23:48:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rucz1-0000sS-ML for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 23:48:49 -0500 Received: from foucault.cyborginstitute.net ([97.107.134.101]:39179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rucz1-0000kd-KL for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 23:48:47 -0500 Received: from localhost (arendt [10.8.0.10]) by foucault.cyborginstitute.net (Postfix) with ESMTP id BBBD6F532 for ; Mon, 6 Feb 2012 23:48:45 -0500 (EST) Date: Mon, 6 Feb 2012 23:48:45 -0500 From: sam To: bug-gnu-emacs@gnu.org Subject: Re: colours in client on xterm (if an X frame is open at same time) Message-ID: <20120207044845.GH2922@arendt.tychoish.net> References: <20120206232927.GA23487@arendt.tychoish.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JI+G0+mN8WmwPnOn" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 07 Feb 2012 00:02:01 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) --JI+G0+mN8WmwPnOn Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable http://lists.gnu.org/archive/html/emacs-devel/2010-01/msg00454.html I've not been able to find record of this bug anywhere, and no one in #emacs seemed to have any sense of this bug. My research. I (first) experienced this bug had this bug in a build from the bzr trunk with the Lucid toolkit. (See the following blog post to describe why I'm using lucid rather than GTK: http://tychoish.com/rhizome/persistent-emacs-daemons/) I'm willing to provide a copy of my package or whatever you require. Cheers, sam > On Mon, Feb 6, 2012 at 3:29 PM, Sam Kleinman wrote: > > > >> I could not reproduce this behavior, and yet I've seen something > >> vaguely similar: I generally have running an emacs that I've started > >> via "emacs -nw"; I connect to it with "emacsclient --tty" (and then > >> disconnect) a few times a day. =A0That works fine, with no strange > >> colors. =A0But occasionally I connect to it via "emacsclient -c", which > >> itself works fine -- but thenceforth, console frames that I create > >> with "emacsclient --tty" have a light-colored background -- and > >> killing the X frame doesn't fix that problem. =A0Only restarting emacs > >> fixes it. > > > > > > Hello, > > > > I just ran across this exact problem for the first time in a new > > emacs-lucid-bzr build, and I have no clue what happened to cause it or > > what my configuration is causing this. > > > > Are you still having this problem? What have you done to work around > > this? Is this something that I should reopen a thread on some mailing > > list? On Mon, Feb 06, 2012 at 06:15:58PM -0800, Eric Hanchrow wrote: > I no longer use "emacsclient --tty", so I haven't had the opportunity > to see this. > > > > Cheers, > > sam --JI+G0+mN8WmwPnOn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAk8wrS0ACgkQTNyVHPbFB4ptAwCfYumwIcp4tNhy+Tm/jkb4bBFW j9QAoJOKA1N+qHcR3ZVa6TcGieR87CG+ =KAUK -----END PGP SIGNATURE----- --JI+G0+mN8WmwPnOn-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 17:14:13 2012 Received: (at 10748) by debbugs.gnu.org; 27 Feb 2012 22:14:13 +0000 Received: from localhost ([127.0.0.1]:60289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S28pc-0002Xa-6F for submit@debbugs.gnu.org; Mon, 27 Feb 2012 17:14:13 -0500 Received: from mail-lpp01m010-f44.google.com ([209.85.215.44]:40181) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S28pC-0002Wr-6G for 10748@debbugs.gnu.org; Mon, 27 Feb 2012 17:13:56 -0500 Received: by lagj5 with SMTP id j5so2262914lag.3 for <10748@debbugs.gnu.org>; Mon, 27 Feb 2012 14:10:33 -0800 (PST) Received-SPF: pass (google.com: domain of manzyuk@gmail.com designates 10.152.112.132 as permitted sender) client-ip=10.152.112.132; Authentication-Results: mr.google.com; spf=pass (google.com: domain of manzyuk@gmail.com designates 10.152.112.132 as permitted sender) smtp.mail=manzyuk@gmail.com; dkim=pass header.i=manzyuk@gmail.com Received: from mr.google.com ([10.152.112.132]) by 10.152.112.132 with SMTP id iq4mr12820255lab.28.1330380633219 (num_hops = 1); Mon, 27 Feb 2012 14:10:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=o6JC7HCVgiFeylDV0cnATWOps20McuO18zDPGLuH2zo=; b=DJ8KI/7DGDA+mljSlI5BebOaRK+f5/VdhLFMpCIkGfs+4bcFjQuR5o9kbJmDPoccNS SXykg2xEZBDXGrnCGqzbPkv3LUW/AaFvG61vFrahjG+octVZjy+pCXrDh1ntmbsTyIek TyfUAAynRtffzJmuv10pNSeNbB7KVhqeOE3to= MIME-Version: 1.0 Received: by 10.152.112.132 with SMTP id iq4mr10740097lab.28.1330380633161; Mon, 27 Feb 2012 14:10:33 -0800 (PST) Received: by 10.152.21.97 with HTTP; Mon, 27 Feb 2012 14:10:33 -0800 (PST) Date: Mon, 27 Feb 2012 22:10:33 +0000 Message-ID: Subject: From: Oleksandr Manzyuk To: 10748@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 10748 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.4 (/) I'd like to confirm this problem. I've chased it down to the function `face-spec-reset-face' from lisp/faces.el. The version from Emacs 23.2: (defun face-spec-reset-face (face &optional frame) "Reset all attributes of FACE on FRAME to unspecified." (let ((attrs face-attribute-name-alist)) (while attrs (let ((attr-and-name (car attrs))) (set-face-attribute face frame (car attr-and-name) 'unspecified)) (setq attrs (cdr attrs))))) The same function from trunk: (defun face-spec-reset-face (face &optional frame) "Reset all attributes of FACE on FRAME to unspecified." (unless (eq face 'default) (let (reset-args) (dolist (attr-and-name face-attribute-name-alist) (push 'unspecified reset-args) (push (car attr-and-name) reset-args)) (apply 'set-face-attribute face frame reset-args)))) Why does the latter not reset the default face? If I start Emacs with "emacs -Q", start the server with M-x server-start, and evaluate the former definition in the *scratch* buffer, then doing "emacsclient -t" from the terminal gives me a frame that respects my terminal background color. Best, Sasha -- Oleksandr Manzyuk http://oleksandrmanzyuk.wordpress.com From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 28 07:29:41 2012 Received: (at control) by debbugs.gnu.org; 28 Feb 2012 12:29:42 +0000 Received: from localhost ([127.0.0.1]:60874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2MBU-0005s5-MC for submit@debbugs.gnu.org; Tue, 28 Feb 2012 07:29:41 -0500 Received: from mail-pz0-f44.google.com ([209.85.210.44]:48904) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2MB2-0005r6-Hz for control@debbugs.gnu.org; Tue, 28 Feb 2012 07:29:23 -0500 Received: by dakl33 with SMTP id l33so1822312dak.3 for ; Tue, 28 Feb 2012 04:25:56 -0800 (PST) Received-SPF: pass (google.com: domain of lekktu@gmail.com designates 10.68.228.103 as permitted sender) client-ip=10.68.228.103; Authentication-Results: mr.google.com; spf=pass (google.com: domain of lekktu@gmail.com designates 10.68.228.103 as permitted sender) smtp.mail=lekktu@gmail.com; dkim=pass header.i=lekktu@gmail.com Received: from mr.google.com ([10.68.228.103]) by 10.68.228.103 with SMTP id sh7mr1190873pbc.106.1330431956314 (num_hops = 1); Tue, 28 Feb 2012 04:25:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=AHFJlQ/ZrD+SHn/5+I9Chl/6jM+QxZ8QOxHXqadzKnU=; b=MgNgYAgqFMJtREMPWgC4bI+C5w4LoUCh0A0D7RSwcfZPko9XXZfFUKl0UQz58umxpZ sjFMRyFK/NQU/YOTlMdpLQBmSiSB1c5WH+v1+yLcMphn4QSnBq5uShPmZajw/gHyfln1 EBq4q472EhFWT28RAcsHcNeXn5xkPHBs5Qulo= Received: by 10.68.228.103 with SMTP id sh7mr1044418pbc.106.1330431956193; Tue, 28 Feb 2012 04:25:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.241.5 with HTTP; Tue, 28 Feb 2012 04:25:16 -0800 (PST) In-Reply-To: <87ehtf2ndb.fsf@gmail.com> References: <87ehtf2ndb.fsf@gmail.com> From: Juanma Barranquero Date: Tue, 28 Feb 2012 13:25:16 +0100 Message-ID: Subject: Re: bug#10905: 24.0.94; "emacsclient -t" doesn't honor terminal fore- and background colors To: Oleksandr Manzyuk Content-Type: text/plain; charset=UTF-8 Bcc: control@debbugs.gnu.org X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control Cc: 10905@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) merge 10748 10905 quit > First of all, this bug is a duplicate of bug#10748, but I am submitting > this bug report anyway because bug#10748 doesn't seem to receive any > attention from the developers bug#10748 was filed three weeks ago, and there are > 2,000 open bugs. Duplicating them *on purpose* will not make things better or bugs fixed faster. If you feel a bug is important and has been neglected, just comment on the bug's thread with a "Ping", or ask about it in emacs-devel. Thanks, Juanma From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 28 09:34:07 2012 Received: (at 10748) by debbugs.gnu.org; 28 Feb 2012 14:34:08 +0000 Received: from localhost ([127.0.0.1]:60961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2O7t-0001up-Sw for submit@debbugs.gnu.org; Tue, 28 Feb 2012 09:34:07 -0500 Received: from mail-lpp01m010-f44.google.com ([209.85.215.44]:61494) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S2O7R-0001u7-AE for 10748@debbugs.gnu.org; Tue, 28 Feb 2012 09:33:49 -0500 Received: by lagj5 with SMTP id j5so3136936lag.3 for <10748@debbugs.gnu.org>; Tue, 28 Feb 2012 06:30:20 -0800 (PST) Received-SPF: pass (google.com: domain of manzyuk@gmail.com designates 10.152.112.132 as permitted sender) client-ip=10.152.112.132; Authentication-Results: mr.google.com; spf=pass (google.com: domain of manzyuk@gmail.com designates 10.152.112.132 as permitted sender) smtp.mail=manzyuk@gmail.com; dkim=pass header.i=manzyuk@gmail.com Received: from mr.google.com ([10.152.112.132]) by 10.152.112.132 with SMTP id iq4mr15550532lab.28.1330439420396 (num_hops = 1); Tue, 28 Feb 2012 06:30:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=HZ311WyU0JKHHuRBCC1XDCHnA/sdYVCvsgLr/LPkAEs=; b=FXS3Bd+81bONq4gBNYofMdMiIqt8ir8GDROyN3zNbNZQCPUsInSG1dGuC0F/+pXrX8 bZ273g8wp08jbPzVporfQaQNK+VFkwBqj/ozc40g3MR4CE4bYAYEGUCsm7Dn8Tj/9EAf uS4qMc1q0jOkqXx7HMJlBwkb6aAbq3ZIcw/Kw= MIME-Version: 1.0 Received: by 10.152.112.132 with SMTP id iq4mr12963046lab.28.1330439420028; Tue, 28 Feb 2012 06:30:20 -0800 (PST) Received: by 10.152.21.97 with HTTP; Tue, 28 Feb 2012 06:30:20 -0800 (PST) Date: Tue, 28 Feb 2012 14:30:20 +0000 Message-ID: Subject: Ping From: Oleksandr Manzyuk To: 10748 <10748@debbugs.gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10748 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) To save you reading the thread linked in the original bug report, here is how to reproduce the bug: 1. emacs -Q 2. M-x server-start 3. Open a terminal with nonstandard foreground and/or background colors. =C2=A0 For the sake of example, I assume that you've run "xterm -bg yellow= ". 4. Run "emacsclient -t" in the terminal. The observed behavior: the background becomes grey, whereas the expected behavior is that Emacs honors the terminal background color (yellow). I normally set the background to white in .Xresources. =C2=A0I've used yell= ow color only to make my point. This behavior is a regression in Emacs 24. =C2=A0I've chased it down to thi= s commit: commit 27528399fd429b2f510e13f361affb1e2211ceb3 Author: Chong Yidong Date: =C2=A0 Tue Jan 31 16:38:58 2012 +0800 =C2=A0 =C2=A0Fix menu-set-font interaction with Custom themes. =C2=A0 =C2=A0In particular, prevent it from setting non-font-related attrib= utes =C2=A0 =C2=A0like the foreground and background color. =C2=A0This requires = a bugfix to =C2=A0 =C2=A0face-spec-reset-face to make "resetting" the default face work= . =C2=A0 =C2=A0* lisp/faces.el (face-spec-reset-face): Don't apply unspecifie= d =C2=A0 =C2=A0attribute values to the default face. =C2=A0 =C2=A0* lisp/frame.el (set-frame-font): New arg ALL-FRAMES. =C2=A0 =C2=A0* lisp/menu-bar.el (menu-set-font): Use set-frame-font. `face-spec-reset-face' has been changed to reset only non-default faces. While I understand the rationale of this change, it seems to break handling of fore- and background colors in terminal. =C2=A0If I evaluate th= e old definition of `face-spec-reset-face' in the *scratch* buffer, connecting to Emacs with "emacsclient -t" works the way I am used to. --=20 Oleksandr Manzyuk http://oleksandrmanzyuk.wordpress.com From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 10:07:30 2012 Received: (at 10748) by debbugs.gnu.org; 4 Mar 2012 15:07:30 +0000 Received: from localhost ([127.0.0.1]:32860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4D21-00019q-R2 for submit@debbugs.gnu.org; Sun, 04 Mar 2012 10:07:30 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:44477) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4D1p-00019H-89 for 10748@debbugs.gnu.org; Sun, 04 Mar 2012 10:07:18 -0500 Received: from bb116-14-103-36.singnet.com.sg ([116.14.103.36]:55339 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1S4D16-0003sV-5P; Sun, 04 Mar 2012 10:06:32 -0500 From: Chong Yidong To: sam Subject: Re: bug#10748: colours in client on xterm (if an X frame is open at same time) References: <20120206232927.GA23487@arendt.tychoish.net> <20120207044845.GH2922@arendt.tychoish.net> Date: Sun, 04 Mar 2012 23:06:23 +0800 In-Reply-To: <20120207044845.GH2922@arendt.tychoish.net> (sam's message of "Mon, 6 Feb 2012 23:48:45 -0500") Message-ID: <87ty249zio.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10748 Cc: Oleksandr Manzyuk , 10748@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) > I generally have running an emacs that I've started via "emacs -nw"; I > connect to it with "emacsclient --tty" (and then disconnect) a few > times a day. That works fine, with no strange colors. But > occasionally I connect to it via "emacsclient -c", which itself works > fine -- but thenceforth, console frames that I create with > "emacsclient --tty" have a light-colored background -- and killing the > X frame doesn't fix that problem. Only restarting emacs fixes it. I've committed a fix for this bug to the trunk. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 20 11:31:39 2012 Received: (at control) by debbugs.gnu.org; 20 Jun 2012 15:31:39 +0000 Received: from localhost ([127.0.0.1]:50033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShMsc-0006zJ-Sq for submit@debbugs.gnu.org; Wed, 20 Jun 2012 11:31:39 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48223) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShMsa-0006zC-Cr for control@debbugs.gnu.org; Wed, 20 Jun 2012 11:31:37 -0400 Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ShMpE-0005v9-BS for control@debbugs.gnu.org; Wed, 20 Jun 2012 11:28:08 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 10748 Date: Wed, 20 Jun 2012 11:28:08 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 10748 thanks From unknown Fri Sep 05 08:43:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 19 Jul 2012 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator