GNU bug report logs - #8222
24.0.50; problem with themeing var with repeat string

Previous Next

Package: emacs;

Reported by: joakim <at> verona.se

Date: Thu, 10 Mar 2011 21:40:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 8222 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: joakim <at> verona.se
Cc: 8222 <at> debbugs.gnu.org
Subject: Re: bug#8222: 24.0.50; problem with themeing var with repeat string
Date: Thu, 10 Mar 2011 19:02:02 -0500
joakim <at> 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?




This bug report was last modified 14 years and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.