emacs-devel
[Top][All Lists]
Advanced

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

Re: tree widget


From: Kim F. Storm
Subject: Re: tree widget
Date: 30 Apr 2004 01:48:04 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

David PONCE <address@hidden> writes:

> First, I suppose that tree-widget.el should go into the main lisp
> directory?

What about

        lisp/tree-widget/tree-widget.el

for the code and

        lisp/tree-widget/default/
        lisp/tree-widget/theme1/
        lisp/tree-widget/theme2/

etc for the various theme directories.
Then everything would be "self-contained".

> The main theme directory is customizable, it can be an absolute name,
> or the name of a subdirectory located respectively in the `load-path'
> or in the `data-directory'.  By default, tree-widget search for a
> "tree-widget-themes" subdirectory.

The lisp/tree-widget directory would automatically be added to the
load-path.

> Perhaps it could be worth having a similar organization in "etc", that
> is a sub-directory for each package that needs one for its data files.
> This way the lisp directory would remain clean (only Elisp).

Well, toolbar icons are in lisp/toolbar, so there is precedence for
having "support files" in lisp.

An alternative approach is to define those images directly in lisp
like gdb-ui.el does.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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