unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 8222@debbugs.gnu.org
Subject: bug#8222: 24.0.50; problem with themeing var with repeat string
Date: Fri, 11 Mar 2011 09:47:39 +0100	[thread overview]
Message-ID: <m3ei6edowk.fsf@verona.se> (raw)
In-Reply-To: <87vczq4j9h.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 10 Mar 2011 19:02:02 -0500")

Chong Yidong <cyd@stupidchicken.com> writes:

> joakim@verona.se writes:
>
>> (defcustom zen-encumbered-urls nil
>>   "make it harder to reach urls so you remember not to go there."
>>   :group 'zen
>>   :type '(repeat string)
>>   :set 'zen-set-encumber-urls
>>   )
>>
>>   doesnt seem to work well with themeing. I get errors like:
>> Error setting zen-encumbered-urls: (wrong-type-argument sequencep quote)
>>
>> (custom-theme-set-variables
>>  'zen-3
>>  ...
>>  '(zen-encumbered-urls (quote (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"))))
>
> I think you want
>
>  '(zen-encumbered-urls (quote ("#brief timewastes" "..." ...)))
>
> The M-x customize-create-theme interface seems to DTRT here.  If that's
> not the problem, could you provide more details?


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?



-- 
Joakim Verona





  reply	other threads:[~2011-03-11  8:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-10 21:38 bug#8222: 24.0.50; problem with themeing var with repeat string joakim
2011-03-11  0:02 ` Chong Yidong
2011-03-11  8:47   ` joakim [this message]
2011-03-11 17:20     ` Chong Yidong
2011-03-12 19:52       ` joakim
2011-03-12 20:12       ` joakim
2011-03-15  9:10       ` joakim
2011-03-21  4:32         ` Chong Yidong
2011-03-22  0:33         ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ei6edowk.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=8222@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).