From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piet van Oostrum Newsgroups: gmane.emacs.devel Subject: Request for site-lisp-directory Date: Tue, 22 Feb 2005 10:10:46 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109067013 2433 80.91.229.2 (22 Feb 2005 10:10:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2005 10:10:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 22 11:10:13 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3WzN-0004Bn-Vm for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 11:09:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3XF5-0001Um-Fe for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 05:26:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3WK9-0004MV-PX for emacs-devel@gnu.org; Tue, 22 Feb 2005 04:27:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3WK6-0004LU-Hu for emacs-devel@gnu.org; Tue, 22 Feb 2005 04:27:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3WK5-0004G5-4G for emacs-devel@gnu.org; Tue, 22 Feb 2005 04:27:17 -0500 Original-Received: from [131.211.81.146] (helo=ordesa.cs.uu.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D3W4A-0006Lu-K7 for emacs-devel@gnu.org; Tue, 22 Feb 2005 04:10:50 -0500 Original-Received: from ordesa.cs.uu.nl (localhost [127.0.0.1]) by ordesa.cs.uu.nl (Postfix) with ESMTP id 4A6AA38CD88 for ; Tue, 22 Feb 2005 10:10:49 +0100 (CET) X-Mailer: emacs 21.3.50.31 (via feedmail 8 I) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33722 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33722 I want to make a plea for a new lisp-level variable `site-lisp-directory' similar to `data-directory' and `exec-directory'. In my AUCTeX tex-site.el I now have: (defvar TeX-lisp-directory "/Applications/Emacs.app/Contents/Resources/site-lisp/auctex" ... I would prefer the location-independent: (expand-file-name "auctex" site-lisp-directory) Of course it is possible to say: (defvar site-lisp-directory (expand-file-name "../site-lisp" data-directory)) but I think it is cleaner if this is setup by the initialization code. -- Piet van Oostrum URL: http://www.cs.uu.nl/~piet [PGP] Private email: piet@vanoostrum.org