From: Eli Zaretskii <eliz@gnu.org>
To: 19802-done@debbugs.gnu.org
Subject: bug#19802: 24.4.90; set-background-color does nothing in -nw sessions
Date: Sun, 08 Feb 2015 20:13:45 +0200 [thread overview]
Message-ID: <83zj8o9spy.fsf@gnu.org> (raw)
In-Reply-To: <83twyyars2.fsf@gnu.org>
> Date: Sat, 07 Feb 2015 13:24:13 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> 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
prev parent reply other threads:[~2015-02-08 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-07 11:24 bug#19802: 24.4.90; set-background-color does nothing in -nw sessions Eli Zaretskii
2015-02-08 18:13 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83zj8o9spy.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=19802-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.