From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19802: 24.4.90; set-background-color does nothing in -nw sessions Date: Sun, 08 Feb 2015 20:13:45 +0200 Message-ID: <83zj8o9spy.fsf@gnu.org> References: <83twyyars2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423419314 1432 80.91.229.3 (8 Feb 2015 18:15:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2015 18:15:14 +0000 (UTC) To: 19802-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 08 19:15:13 2015 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 1YKWO1-0004Y6-KF for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2015 19:15:13 +0100 Original-Received: from localhost ([::1]:57366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKWO0-0003Ql-RB for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2015 13:15:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKWNx-0003PK-6T for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 13:15:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKWNr-0003gP-P8 for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 13:15:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKWNr-0003gD-N2 for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 13:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YKWNr-0004pe-HL for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 13:15:03 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Feb 2015 18:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 19802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 19802@debbugs.gnu.org, eliz@gnu.org, eliz@gnu.org Original-Received: via spool by 19802-done@debbugs.gnu.org id=D19802.142341925118469 (code D ref 19802); Sun, 08 Feb 2015 18:15:03 +0000 Original-Received: (at 19802-done) by debbugs.gnu.org; 8 Feb 2015 18:14:11 +0000 Original-Received: from localhost ([127.0.0.1]:37527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKWN0-0004nn-HF for submit@debbugs.gnu.org; Sun, 08 Feb 2015 13:14:10 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:51763) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKWMy-0004nY-6U for 19802-done@debbugs.gnu.org; Sun, 08 Feb 2015 13:14:09 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NJG00L00T23CZ00@mtaout28.012.net.il> for 19802-done@debbugs.gnu.org; Sun, 08 Feb 2015 20:12:18 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJG00KUHT8H9S10@mtaout28.012.net.il> for 19802-done@debbugs.gnu.org; Sun, 08 Feb 2015 20:12:17 +0200 (IST) In-reply-to: <83twyyars2.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:99167 Archived-At: > Date: Sat, 07 Feb 2015 13:24:13 +0200 > From: Eli Zaretskii > > To reproduce: > > emacs -Q -nw > M-x set-background-color RET blue RET > > This appears to have no effect at all. Even the 'background-color' > frame parameter stays at its default "unspecified-bg" value, even > though the code of set-background-color explicitly modifies the > frame's parameters: > > (defun set-background-color (color-name) > "Set the background color of the selected frame to COLOR-NAME. > When called interactively, prompt for the name of the color to use. > To get the frame's current background color, use `frame-parameters'." > (interactive (list (read-color "Background color: "))) > (modify-frame-parameters (selected-frame) > (list (cons 'background-color color-name))) > (or window-system > (face-set-after-frame-default (selected-frame)))) > > Looks like this has been broken since 24.1, as the last version in > which I see it working is 23.4. I tried both on GNU/Linux and on > MS-Windows, with the same result. Fixed with these commits: 20c817d and a7b1c2f on the emacs-24 branch dd2aa93 on master