From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.bugs Subject: bug#8222: 24.0.50; problem with themeing var with repeat string Date: Sat, 12 Mar 2011 21:12:59 +0100 Message-ID: References: <87vczq4j9h.fsf@stupidchicken.com> <8762rpr2u2.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299962238 13380 80.91.229.12 (12 Mar 2011 20:37:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2011 20:37:18 +0000 (UTC) Cc: 8222@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 12 21:37:12 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PyVYk-0002NG-OD for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2011 21:37:11 +0100 Original-Received: from localhost ([127.0.0.1]:34098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyVYj-0005TC-QY for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2011 15:37:09 -0500 Original-Received: from [140.186.70.92] (port=44908 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyVYZ-0005RW-Sv for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2011 15:37:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyVYY-0000dN-DD for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2011 15:36:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyVYY-0000dI-5b for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2011 15:36:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PyVCM-0003VV-FK; Sat, 12 Mar 2011 15:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: joakim@verona.se Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Mar 2011 20:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8222 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8222-submit@debbugs.gnu.org id=B8222.129996078913357 (code B ref 8222); Sat, 12 Mar 2011 20:14:02 +0000 Original-Received: (at 8222) by debbugs.gnu.org; 12 Mar 2011 20:13:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PyVBV-0003TN-Gm for submit@debbugs.gnu.org; Sat, 12 Mar 2011 15:13:09 -0500 Original-Received: from batman.blixtvik.net ([87.96.254.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PyVBS-0003St-6S for 8222@debbugs.gnu.org; Sat, 12 Mar 2011 15:13:07 -0500 Original-Received: from www.verona.se (10-208-96-87.cust.blixtvik.se [87.96.208.10]) by batman.blixtvik.net (Postfix) with ESMTP id DC9E97F94A8; Sat, 12 Mar 2011 21:12:59 +0100 (CET) Original-Received: from chopper (DIR-655.lan [192.168.200.125]) by www.verona.se (Postfix) with ESMTP id A5C9AA15292; Sat, 12 Mar 2011 21:12:59 +0100 (CET) In-Reply-To: <8762rpr2u2.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 11 Mar 2011 12:20:37 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 12 Mar 2011 15:14:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44945 Archived-At: Chong Yidong writes: > joakim@verona.se writes: > >> custom-theme-visit-theme doesnt provide a repeater while the usual >> customize interface does. >> >> what I want to do is enable one base theme like wheatgrass or whatever. >> On top of that I would like to add one zen theme, out of a set of three >> zen themes. >> >> When I try the code I get all sorts of confusing behaviour. I iont get >> the base theme I expect. The tool-bar doesnt come back when I disable a >> zen theme. etc. >> >> I will update the repo for zen and then you can maybe try it? > > Could you try to come up a simple, minimal test case instead? I am > still not clear on what the problem is. The other test case. (defun zen-set-fullscreen (name state) (message "zen-set-fullscreen :>>%s<<" state) (setq zen-fullscreen-mode state) (cond ;;fullscreen seems to be quirky in some emacsen, this is a feeble workaround (state (set-frame-parameter nil 'fullscreen 'fullboth)) (t (set-frame-parameter nil 'fullscreen 'fullboth-bug) (set-frame-parameter nil 'fullscreen 'nil)))) (defcustom zen-fullscreen-mode nil "make frame fullscreen." :group 'zen-mode :set 'zen-set-fullscreen) now have a theme that sets theme zen-fullscreen-mode to t. toggle it on and of a bit with enable-theme and disable-theme. the second time enable is called zen-set-fullscreen will be called twice. t first and nil second. so the end result will be nil rather than t. -- Joakim Verona