From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Ponce Newsgroups: gmane.emacs.devel Subject: Re: tree widget Date: Sat, 01 May 2004 22:45:51 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <40940C7F.1080306@wanadoo.fr> References: <19647567.1083254760687.JavaMail.www@wwinf0803> <40939071.2020904@wanadoo.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1083444389 11463 80.91.224.253 (1 May 2004 20:46:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 May 2004 20:46:29 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 01 22:46:21 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BK1NN-0002Rw-00 for ; Sat, 01 May 2004 22:46:21 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BK1NM-0001gU-00 for ; Sat, 01 May 2004 22:46:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BK1MC-0005sh-V6 for emacs-devel@quimby.gnus.org; Sat, 01 May 2004 16:45:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BK1Ly-0005qz-Qz for emacs-devel@gnu.org; Sat, 01 May 2004 16:44:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BK1LS-0005g0-I2 for emacs-devel@gnu.org; Sat, 01 May 2004 16:44:53 -0400 Original-Received: from [193.252.22.25] (helo=mwinf0602.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BK1LR-0005fe-QM; Sat, 01 May 2004 16:44:21 -0400 Original-Received: from [192.168.1.2] (AGrenoble-102-1-1-174.w217-128.abo.wanadoo.fr [217.128.128.174]) by mwinf0602.wanadoo.fr (SMTP Server) with ESMTP id DA3BC54001D6; Sat, 1 May 2004 22:44:20 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a) Gecko/20040501 X-Accept-Language: en-us, en Original-To: Stefan Monnier In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22507 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22507 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