emacs-devel
[Top][All Lists]
Advanced

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

Re: tree widget


From: David Ponce
Subject: Re: tree widget
Date: Sat, 01 May 2004 22:45:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a) Gecko/20040501

Stefan Monnier wrote:
What about my proposal based on `data-directory':
    etc/tree-widget/default/
    etc/tree-widget/theme1/
    etc/tree-widget/theme2/


Problem is that if it's in /usr/share/emacs/21.4/etc/tree-widget,
then user `monnier' can't add his own theme.
So we want to use a search-path like load-path or somesuch.
Until now we've just stuck to using load-path.

My proposal is to use `data-directory' for "built-in" themes.

tree-widget first lookup for a theme in the `load-path',
then in `data-directory'.

This way, you can add your own theme (or override a built-in theme)
via the load path.

David




reply via email to

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