From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: juanleon Newsgroups: gmane.emacs.bugs Subject: 24.3; argument NO-ENABLE of 'load-theme' ignored in new frames Date: Thu, 4 Jul 2013 02:59:41 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1372955634 14388 80.91.229.3 (4 Jul 2013 16:33:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2013 16:33:54 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 04 18:33:56 2013 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 1UumTi-00079D-90 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2013 18:33:54 +0200 Original-Received: from localhost ([::1]:49390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UumTh-0001Wq-Ll for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2013 12:33:53 -0400 X-Received: by 10.224.172.66 with SMTP id k2mr6801985qaz.4.1372931981412; Thu, 04 Jul 2013 02:59:41 -0700 (PDT) X-Received: by 10.49.11.140 with SMTP id q12mr133247qeb.9.1372931981397; Thu, 04 Jul 2013 02:59:41 -0700 (PDT) Original-Path: usenet.stanford.edu!t19no317860qam.0!news-out.google.com!f7ni806qai.0!nntp.google.com!t19no324541qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.bug Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=62.97.123.74; posting-account=cXerQgoAAAB20Fhmoc-0F4moVaiVvA0N Original-NNTP-Posting-Host: 62.97.123.74 User-Agent: G2/1.0 Injection-Date: Thu, 04 Jul 2013 09:59:41 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.bug:102126 X-Mailman-Approved-At: Thu, 04 Jul 2013 12:33:50 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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:75898 Archived-At: I think this is a bug but I am enjoying it as a feature. With emacs -Q, I eval "(load-theme 'dichromacy t t)". Nothing changes, as expected since per the doc: If optional arg NO-ENABLE is non-nil, load the theme but don't enable it, unless the theme was already enabled. But if I create a new frame, the new frame has the dichromacy theme enabled. If this is a feature, I think documentation is somewhat misleading. Anyway, I like very much the ability to use different themes in different frames (load-theme-buffer-local.el does not apply to minibuffer nor mode-line), which I partially enjoy with: (load-theme my-main-theme t) (load-theme my-theme-for-emacsclient-frames t t) Is there any way to do this without taking advantage of this possible bug? Thanks juanleon