From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Papitto Newsgroups: gmane.emacs.bugs Subject: bug#20766: 24.5; disable-theme leaves lingering effects Date: Sun, 7 Jun 2015 18:09:04 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1433726483 24531 80.91.229.3 (8 Jun 2015 01:21:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 01:21:23 +0000 (UTC) To: 20766@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 08 03:21:15 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 1Z1lkV-0007hs-11 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Jun 2015 03:21:11 +0200 Original-Received: from localhost ([::1]:55568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1lkT-0002zN-9k for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 21:21:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1lkP-0002zD-4D for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 21:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1lkN-0000mo-Mr for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 21:21:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1lkN-0000mh-IR for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 21:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z1lkN-00077C-9V for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 21:21:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Papitto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jun 2015 01:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143372640727262 (code B ref -1); Mon, 08 Jun 2015 01:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jun 2015 01:20:07 +0000 Original-Received: from localhost ([127.0.0.1]:44411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1ljN-00075F-Cj for submit@debbugs.gnu.org; Sun, 07 Jun 2015 21:20:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36393) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1lYz-0006q5-UN for submit@debbugs.gnu.org; Sun, 07 Jun 2015 21:09:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1lYt-000361-8B for submit@debbugs.gnu.org; Sun, 07 Jun 2015 21:09:12 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1lYt-00035w-5G for submit@debbugs.gnu.org; Sun, 07 Jun 2015 21:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1lYr-0002CN-Mv for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 21:09:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1lYn-00034Z-Sb for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 21:09:09 -0400 Original-Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]:36260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1lYn-00034E-KG for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 21:09:05 -0400 Original-Received: by pabqy3 with SMTP id qy3so84539484pab.3 for ; Sun, 07 Jun 2015 18:09:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=T0SdkGJbThggZ1ue9ZYWbrebBWixAUCW3QBF3hQb4y0=; b=Hzi7VzEpON1SuANCJQQSB6/zaMz4tz7YqeAiLUcjlfxLjUOna5SwEReVZzl2RL+6dl Pge6xTULJxWagsWWsP5iD9kqzjtwwHYNcUqFhvnPPdiza4Ugz+pdGPe4/AU2NJh+NCjc Bwh642foEqD+fhl2rXczftRpMRcnIxViIAVdhLz/34EhK4BnAAWEw2txjf1z0Y5J1r6l OeGXDRaAeRrQQPnW2qYL8c8ke4Tq/B0uqC/6+lGiAbGTyVdGjFfxA7naO/e31dE7mPTI FqYhkvua+ynJVR+Elw+TNWoWKJ6+/340xTGymWwklb763a3ZgJ4my4QfNB6SR/4GE/nS u6qw== X-Received: by 10.66.165.8 with SMTP id yu8mr25158718pab.82.1433725744373; Sun, 07 Jun 2015 18:09:04 -0700 (PDT) Original-Received: by 10.70.111.3 with HTTP; Sun, 7 Jun 2015 18:09:04 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sun, 07 Jun 2015 21:19:58 -0400 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:103726 Archived-At: When I run these commands from a fresh Emacs instance M-x load-theme RET solarized-light RET M-x disable-theme RET solarized-light RET M-x term RET RET the text background color in term-mode stays what it was set to by the solarized-light theme. A very similar invocation does not have this behavior: M-x term RET RET C-c k RET yes RET M-x load-theme RET solarized-light RET M-x disable-theme RET solarized-light RET M-x term RET RET i.e. If term mode gets to run before loading the theme, no bug. the 'solarized-light' theme was installed from melpa via M-x package-list-packages, and is upstream at https://github.com/bbatsov/solarized-emacs. I'm not certain whether the behavior is specific to that theme or not. What I have observed is that there seems to be an interaction with the variables term-default-fg-color and term-default-bg-color. They start as :not-bound. Solarized light sets them to some value when loaded, and resets them to :not-bound when unloaded. However, term mode also sets them when started (both to 'nil) and seems to never reset them to :not-bound. Note: I don't have Emacs configured to send email, so I copied the following from the bug-submission utility. In GNU Emacs 24.5.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.27) of 2015-05-13 on localhost Windowing system distributor `The X.Org Foundation', version 11.0.11604000 Configured using: `configure --disable-dependency-tracking --prefix=/nix/store/wjlxah8xdid8qw12rsf3cjxvqj3zw69p-emacs-24.5 --with-x-toolkit=gtk2 --with-xft' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-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 messages: For information about GNU Emacs and the GNU system, type C-h C-a. delete-backward-char: Text is read-only 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 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 71068 7059) (symbols 48 17455 0) (miscs 40 39 163) (strings 32 9117 4368) (string-bytes 1 264156) (vectors 16 8912) (vector-slots 8 383152 18293) (floats 8 63 249) (intervals 56 166 16) (buffers 960 11) (heap 1024 12859 662))