[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom themes
From: |
Chong Yidong |
Subject: |
Re: Custom themes |
Date: |
Thu, 14 Oct 2010 11:53:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Juanma Barranquero <address@hidden> writes:
>
>> On Wed, Oct 13, 2010 at 04:14, Chong Yidong <address@hidden> wrote:
>>
>>> The original motivation for calling it foo-theme.el was so that users
>>> can copy the theme file into .emacs.d (or wherever the load-directory
>>> for their local Lisp files is).
>>
>> It seems cleaner to have an .emacs.d/themes/ dir.
>
> OK, I'll make the change.
The change turns out to be more problematic than it seemed.
If we remove lisp/themes from the load path, we have to tell the themes
code how to find that directory again. We could do
(dolist (dir load-path)
(locate-file "themes/foo.el" dir)
...)
but that means looking for a themes/ subdirectory in *all* the load-path
directories, which seems silly. One alternative is to determine the
themes directory at the Makefile level, similar to what we do for leim;
but I don't like adding more complexity to the Makefiles just for this.
Another alternative is to put the theme files in etc/, but that's not
good either, since Lisp files ought to go in lisp/. De-synching the
themes path from load-path also makes it more difficult for us to
provide themes via a package.
- Re: users and selection changes, (continued)
- Re: users and selection changes, Eli Zaretskii, 2010/10/15
- Re: users and selection changes, Lars Magne Ingebrigtsen, 2010/10/22
- RE: users and selection changes, Drew Adams, 2010/10/15
- Re: users and selection changes, Stefan Monnier, 2010/10/15
- Re: users and selection changes, Chong Yidong, 2010/10/15
- Re: Custom themes, Stefan Monnier, 2010/10/12
- Re: Custom themes, Chong Yidong, 2010/10/12
- Re: Custom themes, Juanma Barranquero, 2010/10/13
- Re: Custom themes, CHENG Gao, 2010/10/13
- Re: Custom themes, Chong Yidong, 2010/10/13
- Re: Custom themes,
Chong Yidong <=
- Re: Custom themes, Juanma Barranquero, 2010/10/14
- Re: Custom themes, Chong Yidong, 2010/10/16