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 20:52:11 +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 1299960443 4838 80.91.229.12 (12 Mar 2011 20:07:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2011 20:07:23 +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:07:16 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 1PyV5n-0005qf-UR for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2011 21:07:16 +0100 Original-Received: from localhost ([127.0.0.1]:38484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyV5n-0002J7-9r for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Mar 2011 15:07:15 -0500 Original-Received: from [140.186.70.92] (port=41451 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyV5Y-0002Eo-7m for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2011 15:07:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyV5U-0002ex-NW for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2011 15:07:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyV5U-0002es-Ke for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2011 15:06:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PyUs2-00032K-15; Sat, 12 Mar 2011 14:53: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 19:53:01 +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.129995954211625 (code B ref 8222); Sat, 12 Mar 2011 19:53:01 +0000 Original-Received: (at 8222) by debbugs.gnu.org; 12 Mar 2011 19:52:22 +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 1PyUrN-00031R-AG for submit@debbugs.gnu.org; Sat, 12 Mar 2011 14:52:21 -0500 Original-Received: from batman.blixtvik.net ([87.96.254.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PyUrL-00031D-65 for 8222@debbugs.gnu.org; Sat, 12 Mar 2011 14:52:20 -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 A25027F97D7; Sat, 12 Mar 2011 20:52:12 +0100 (CET) Original-Received: from chopper (DIR-655.lan [192.168.200.125]) by www.verona.se (Postfix) with ESMTP id 28923A18D0F; Sat, 12 Mar 2011 20:52:12 +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 14:53: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:44944 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. Ok I hope this will be adequate: (defcustom zen-encumbered-urls nil "make it harder to reach urls so you remember not to go there." :group 'zen-mode :type '(repeat string)) define this theme: (deftheme zen-test "Created 2011-03-10.") (custom-theme-set-variables 'zen-test '(zen-encumbered-urls (quote ( "#brief timewastes" "www.penny-arcade.com" "www.dilbert.com" "www.xkcd.com" "www.userfriendly.org" "#news waste" "slashdot.org" "dn.se" "#social timewastes" "https://www.facebook.com"))) ) (provide-theme 'zen-test) then: load-library cus-theme custom-theme-visit-theme zen-test I'm expecting to see the same string repeater widgets plain customize shows. Instead I get a single string that shows nil. In my larger code I don't get nil I just get the list but still not the repeater. -- Joakim Verona