From: Chong Yidong <cyd@stupidchicken.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Custom themes
Date: Thu, 14 Oct 2010 11:53:05 -0400 [thread overview]
Message-ID: <878w20hiu6.fsf@stupidchicken.com> (raw)
In-Reply-To: <87hbgqjcwr.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 13 Oct 2010 12:05:56 -0400")
Chong Yidong <cyd@stupidchicken.com> writes:
> Juanma Barranquero <lekktu@gmail.com> writes:
>
>> On Wed, Oct 13, 2010 at 04:14, Chong Yidong <cyd@stupidchicken.com> 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.
next prev parent reply other threads:[~2010-10-14 15:53 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 5:15 Custom themes Chong Yidong
2010-10-11 7:48 ` Deniz Dogan
2010-10-11 15:34 ` Chong Yidong
2010-10-11 16:09 ` Lars Magne Ingebrigtsen
2010-10-11 17:38 ` Chong Yidong
2010-10-11 21:04 ` Eric Lilja
2010-10-12 14:08 ` Joel James Adamson
2010-10-12 20:25 ` Chong Yidong
2010-10-12 23:40 ` Eric Lilja
2010-10-13 0:04 ` Christoph
2010-10-13 2:15 ` Chong Yidong
2010-10-13 20:06 ` David De La Harpe Golden
2010-10-14 4:23 ` Chong Yidong
2010-10-14 4:58 ` Miles Bader
2010-10-14 13:18 ` users and selection changes [was: Custom themes] Drew Adams
2010-10-14 18:35 ` Eli Zaretskii
2010-10-14 20:51 ` Drew Adams
2010-10-14 21:54 ` Eli Zaretskii
2010-10-14 22:09 ` Drew Adams
2010-10-15 9:30 ` Eli Zaretskii
2010-10-15 9:34 ` users and selection changes Lars Magne Ingebrigtsen
2010-10-15 9:45 ` Eli Zaretskii
2010-10-15 10:11 ` Lars Magne Ingebrigtsen
2010-10-15 10:16 ` Eli Zaretskii
2010-10-15 9:48 ` Miles Bader
2010-10-15 10:18 ` Lars Magne Ingebrigtsen
2010-10-15 13:47 ` Miles Bader
2010-10-15 14:25 ` Lars Magne Ingebrigtsen
2010-10-15 15:10 ` Eli Zaretskii
2010-10-22 10:05 ` Lars Magne Ingebrigtsen
2010-10-15 16:30 ` Drew Adams
2010-10-15 19:08 ` Stefan Monnier
2010-10-15 20:46 ` Chong Yidong
2010-10-13 0:26 ` Custom themes Stefan Monnier
2010-10-13 2:14 ` Chong Yidong
2010-10-13 10:20 ` Juanma Barranquero
2010-10-13 15:06 ` CHENG Gao
2010-10-13 16:05 ` Chong Yidong
2010-10-14 15:53 ` Chong Yidong [this message]
2010-10-14 16:47 ` Juanma Barranquero
2010-10-16 18:33 ` Chong Yidong
-- strict thread matches above, loose matches on Subject: below --
2005-07-29 13:54 Richard M. Stallman
2005-06-25 0:31 Richard M. Stallman
2005-06-25 1:27 ` Luc Teirlinck
2005-06-25 1:57 ` Luc Teirlinck
2005-06-25 16:40 ` Richard M. Stallman
2005-06-26 3:19 ` Luc Teirlinck
2005-06-26 15:04 ` Richard M. Stallman
2005-06-28 1:21 ` Luc Teirlinck
2005-06-28 1:42 ` Luc Teirlinck
2005-06-28 18:47 ` Richard M. Stallman
2005-06-28 18:46 ` Luc Teirlinck
2005-06-28 20:09 ` Luc Teirlinck
2005-06-27 9:56 ` Per Abrahamsen
2005-06-28 4:57 ` Stefan Monnier
2005-06-28 14:41 ` Luc Teirlinck
2005-06-29 3:58 ` Richard M. Stallman
2005-06-29 4:28 ` Luc Teirlinck
2005-06-30 5:36 ` David Kastrup
2005-06-30 23:11 ` Luc Teirlinck
2005-07-01 22:44 ` Richard M. Stallman
2005-07-02 12:33 ` Richard M. Stallman
2005-07-04 0:27 ` Luc Teirlinck
2005-06-30 12:53 ` Per Abrahamsen
2005-06-28 14:49 ` Luc Teirlinck
2005-06-28 21:29 ` Richard M. Stallman
2005-06-29 3:17 ` Luc Teirlinck
2005-06-29 20:43 ` Richard M. Stallman
2005-06-30 0:59 ` Luc Teirlinck
2005-06-30 5:32 ` David Kastrup
2005-06-30 15:49 ` Richard M. Stallman
2005-06-30 15:49 ` Richard M. Stallman
2005-06-25 3:25 ` Luc Teirlinck
2005-06-25 16:40 ` Richard M. Stallman
2005-06-25 18:00 ` Luc Teirlinck
2005-06-25 21:01 ` Frank Schmitt
2005-06-25 21:59 ` Luc Teirlinck
2005-06-25 22:03 ` Luc Teirlinck
2005-06-26 4:46 ` Richard M. Stallman
2005-06-17 18:45 Richard Stallman
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=878w20hiu6.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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).