From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 10 14:24:53 2013 Received: (at submit) by debbugs.gnu.org; 10 Mar 2013 18:24:53 +0000 Received: from localhost ([127.0.0.1]:44274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEkvU-0002yN-Ez for submit@debbugs.gnu.org; Sun, 10 Mar 2013 14:24:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41005) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEdQ1-0007B1-B4 for submit@debbugs.gnu.org; Sun, 10 Mar 2013 06:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEdP8-0003Kx-Mn for submit@debbugs.gnu.org; Sun, 10 Mar 2013 06:23:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:37663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEdP8-0003Ks-J8 for submit@debbugs.gnu.org; Sun, 10 Mar 2013 06:22:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEdP6-0002z2-U9 for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 06:22:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEdP5-0003KX-IM for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 06:22:56 -0400 Received: from mail-pb0-f51.google.com ([209.85.160.51]:40864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEdP5-0003KP-8L for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 06:22:55 -0400 Received: by mail-pb0-f51.google.com with SMTP id un15so2722891pbc.38 for ; Sun, 10 Mar 2013 03:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=UPo02KukaeTXH4NYJOiOG+ETooX80IIOiQXhk0rrsLY=; b=VqdmLzEeNFdKYsk0qcPeyCFXdInUu3fYbEOagwSdJiFz/1vExkF1YUuXn9ykAu3Sje siTXLNBTmjqOMTdb1Lsq4B6JecisIl6FlNCbIg2cYmjkbJIFM55xw2Y/r2Vd9EeEfkpL xZ0U5Ow4uN6iULjTiABBpZBF4dzgwVV3BoitF2lMgnC/MCM+jGDzIf+SPG99/mktbK6Y BnvSop3XaRmPG5MAnO6rKTiP2LEkJWWsvxWfgpiF213ge2xt2CUZzCxASX3AMTVPJv2Q qA0RwXEcudFTkGcPSqKxqzuLKarvq8kAibhp6Ru7SZBMlCGhX0mQ4hPvWOyd3Aki2Vvr 8URA== X-Received: by 10.68.254.35 with SMTP id af3mr18339682pbd.176.1362910973997; Sun, 10 Mar 2013 03:22:53 -0700 (PDT) Received: from Cassiopeiae.zomgnet (ppp121-45-117-236.lns20.adl6.internode.on.net. [121.45.117.236]) by mx.google.com with ESMTPS id ub1sm14785138pbc.5.2013.03.10.03.22.50 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 10 Mar 2013 03:22:52 -0700 (PDT) From: eqyiel@gmail.com To: bug-gnu-emacs@gnu.org Subject: 24.2; deftheme rgb value for default face :background off by one Date: Sun, 10 Mar 2013 20:52:29 +1030 Message-ID: <87ehfna716.fsf@Cassiopeiae.zomgnet> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 10 Mar 2013 14:24:51 -0400 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.1 (------) Color set for background by set-face-font is one R G and B value lower than what it is set to. $ emacs -Q & ... M-: (set-face-font 'default :background "#111111") $ gcolor2 & ... (eyedropper in emacs frame: "#101010") Appears to work for any color values. For example, the background for solarized-light: $ emacs -Q & ... M-: (set-face-font 'default :background "#FDF6E3") $ gcolor2 & ... (eyedropper in emacs frame: "#FCF5E2") Other situational info: * I am using the theme engine bundled with Emacs 24 (deftheme?), not the color-theme package. * Emacs is run in a GUI, not terminal, X toolkit is gtk3. Kind regards, Ruben In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2013-01-20 on eric Windowing system distributor `The X.Org Foundation', version 11.0.11302901 Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 25 15:21:14 2013 Received: (at 13916) by debbugs.gnu.org; 25 Mar 2013 19:21:14 +0000 Received: from localhost ([127.0.0.1]:45041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKCxF-00089i-LF for submit@debbugs.gnu.org; Mon, 25 Mar 2013 15:21:14 -0400 Received: from mailout.melmac.se ([62.20.26.67]:35395) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKCxC-00089U-11 for 13916@debbugs.gnu.org; Mon, 25 Mar 2013 15:21:12 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id B935A9E1C for <13916@debbugs.gnu.org>; Mon, 25 Mar 2013 20:18:50 +0100 (CET) Received: (qmail 23436 invoked by uid 89); 25 Mar 2013 19:18:41 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 25 Mar 2013 19:18:41 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 589127FA06C; Mon, 25 Mar 2013 20:18:50 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: bug#13916: 24.2; deftheme rgb value for default face :background off by one From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <87ehfna716.fsf@Cassiopeiae.zomgnet> Date: Mon, 25 Mar 2013 20:18:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <5D1B948E-2DEC-432B-BB48-B7A256682DF2@swipnet.se> References: <87ehfna716.fsf@Cassiopeiae.zomgnet> To: eqyiel@gmail.com X-Mailer: Apple Mail (2.1503) X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 13916 Cc: 13916@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: -1.2 (-) Hello. 10 mar 2013 kl. 11:22 skrev eqyiel@gmail.com: > Color set for background by set-face-font is one R G and B value lower > than what it is set to. >=20 > $ emacs -Q & > ... M-: (set-face-font 'default :background "#111111") This gives an error, set-face-font don't take those parameters. Is this = really what you used? Setting background for the face shows the same color in gcolor2. Can you try 23.3? Jan D. > $ gcolor2 & > ... (eyedropper in emacs frame: "#101010") >=20 > Appears to work for any color values. For example, the background for > solarized-light: >=20 > $ emacs -Q & > ... M-: (set-face-font 'default :background "#FDF6E3") > $ gcolor2 & > ... (eyedropper in emacs frame: "#FCF5E2") >=20 > Other situational info: >=20 > * I am using the theme engine bundled with Emacs 24 (deftheme?), = not > the color-theme package. > * Emacs is run in a GUI, not terminal, X toolkit is gtk3. >=20 > Kind regards, >=20 > Ruben >=20 >=20 > In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) > of 2013-01-20 on eric > Windowing system distributor `The X.Org Foundation', version = 11.0.11302901 > Configured using: > `configure '--prefix=3D/usr' '--sysconfdir=3D/etc' = '--libexecdir=3D/usr/lib' > '--localstatedir=3D/var' '--with-x-toolkit=3Dgtk3' '--with-xft' > 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector > --param=3Dssp-buffer-size=3D4 -D_FORTIFY_SOURCE=3D2' > 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro'' >=20 > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: C > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=3Dnone > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t >=20 > Major mode: Lisp Interaction >=20 > Minor modes in effect: > tooltip-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t >=20 > Recent input: > M-x r e p o r t - e m a c s - b u g >=20 > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. >=20 > Load-path shadows: > None found. >=20 > Features: > (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 = mml > easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 > mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 > ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook > vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image > fringe lisp-mode register page menu-bar rfn-eshadow timer select > scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame = cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese hebrew greek romanian slovak czech european ethiopic > indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple > abbrev minibuffer loaddefs button faces cus-face files text-properties > overlay sha1 md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote make-network-process dbusbind > dynamic-setting system-font-setting font-render-setting move-toolbar = gtk > x-toolkit x multi-tty emacs) >=20 >=20 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 26 10:51:39 2013 Received: (at 13916-done) by debbugs.gnu.org; 26 Mar 2013 14:51:39 +0000 Received: from localhost ([127.0.0.1]:46263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKVDu-0004b4-MZ for submit@debbugs.gnu.org; Tue, 26 Mar 2013 10:51:38 -0400 Received: from mailout.melmac.se ([62.20.26.67]:52111) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKVDo-0004ao-Qj for 13916-done@debbugs.gnu.org; Tue, 26 Mar 2013 10:51:35 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 3B8549EEE for <13916-done@debbugs.gnu.org>; Tue, 26 Mar 2013 15:49:11 +0100 (CET) Received: (qmail 4281 invoked by uid 89); 26 Mar 2013 14:49:01 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 26 Mar 2013 14:49:01 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B16587FA06C; Tue, 26 Mar 2013 15:49:10 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: bug#13916: 24.2; deftheme rgb value for default face :background off by one From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <87k3ou9ac3.fsf@Cassiopeiae.zomgnet> Date: Tue, 26 Mar 2013 15:49:12 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <87ehfna716.fsf@Cassiopeiae.zomgnet> <5D1B948E-2DEC-432B-BB48-B7A256682DF2@swipnet.se> <87k3ou9ac3.fsf@Cassiopeiae.zomgnet> To: eqyiel@gmail.com X-Mailer: Apple Mail (2.1503) X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. 26 mar 2013 kl. 03:14 skrev eqyiel@gmail.com: > > My mistake, I was trying to find the analogous thing to custom-set-theme > since I first noticed it using the Zenburn theme [1], getting #3E3E3E > for the background instead of expected #3F3F3F. > > (set-face-background) is the correct function, I don't know what > possessed me to tell you (set-face-font), sorry about that. > > emacs 24.2: > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #101010 > > emacs 23.3b (only 23.3 available at ftp.gnu.org [2]): > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #111111 > > emacs 24.3: > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #111111 > > These were all compiled and tested today within about an hour. When I > reported the bug I was using 24.2, I've since upgraded to 24.3. It > seems that the problem didn't exist in 23.3b and was fixed in 24.3. > > Thanks for your time, and sorry for the noise. :P [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 13916-done Cc: 13916-done@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: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello. 26 mar 2013 kl. 03:14 skrev eqyiel@gmail.com: > > My mistake, I was trying to find the analogous thing to custom-set-theme > since I first noticed it using the Zenburn theme [1], getting #3E3E3E > for the background instead of expected #3F3F3F. > > (set-face-background) is the correct function, I don't know what > possessed me to tell you (set-face-font), sorry about that. > > emacs 24.2: > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #101010 > > emacs 23.3b (only 23.3 available at ftp.gnu.org [2]): > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #111111 > > emacs 24.3: > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #111111 > > These were all compiled and tested today within about an hour. When I > reported the bug I was using 24.2, I've since upgraded to 24.3. It > seems that the problem didn't exist in 23.3b and was fixed in 24.3. > > Thanks for your time, and sorry for the noise. :P [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4970] Hello. 26 mar 2013 kl. 03:14 skrev eqyiel@gmail.com: > > My mistake, I was trying to find the analogous thing to custom-set-theme > since I first noticed it using the Zenburn theme [1], getting #3E3E3E > for the background instead of expected #3F3F3F. > > (set-face-background) is the correct function, I don't know what > possessed me to tell you (set-face-font), sorry about that. > > emacs 24.2: > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #101010 > > emacs 23.3b (only 23.3 available at ftp.gnu.org [2]): > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #111111 > > emacs 24.3: > $ emacs -Q & > (set-face-background 'default "#111111") > ... gcolor2 gives #111111 > > These were all compiled and tested today within about an hour. When I > reported the bug I was using 24.2, I've since upgraded to 24.3. It > seems that the problem didn't exist in 23.3b and was fixed in 24.3. > > Thanks for your time, and sorry for the noise. :P Okay, thanks for testing. Closing bug. Jan D. From unknown Fri Aug 15 17:22:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Apr 2013 11:24:03 +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