[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: theme and a question about creating them

From: Yavuz
Subject: Re: theme and a question about creating them
Date: Sun, 2 Jan 2011 17:38:57 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Chong Yidong <cyd <at> stupidchicken.com> writes:

> I am not sure what's the best way of handling this.  Maybe we should
> just go back to unconditionally loading theme files, since it's unlikely
> we can make evaluating Elisp code truly safe.  Any objections or
> alternative ideas?

I had run into the same security 'features' a few months back when creating (yet
another) version of zenburn. As a user and designer of color themes, I would
prefer not to have any restrictions, which seem out of place in an editor whose
raison d'être is letting its users do what they want. All .el files are code
(and data) and should be treated equally.

In any case, I have stumbled on a 'solution'; I explicitly load the theme file
in my init file:

(load-file (concat dotfiles-dir "themes/zendust-theme.el"))

Then the defvars for defining colors and :inherit stuff seem to work. I have no
idea if this has unwanted side effects.

My theme is at https://github.com/yarkun/zendust

reply via email to

[Prev in Thread] Current Thread [Next in Thread]