From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: variable defined in site-start.el not in .emacs or default.el Date: Sat, 01 Jan 2005 15:40:43 +0100 Organization: Probably a good idea Message-ID: <87vfahrz4k.fsf@dod.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1104590638 16637 80.91.229.6 (1 Jan 2005 14:43:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2005 14:43:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 01 15:43:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CkkTx-0005bU-00 for ; Sat, 01 Jan 2005 15:43:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ckkf0-0006GO-QW for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jan 2005 09:55:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.eunet.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: gw.computas.com Original-X-Trace: services.kq.no 1104590443 26324 193.71.42.4 (1 Jan 2005 14:40:43 GMT) Original-X-Complaints-To: abuse@eunet.no Original-NNTP-Posting-Date: Sat, 1 Jan 2005 14:40:43 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:HHUUDPmGRzxgpyUDioRm0C8KqDA= Original-Xref: shelby.stanford.edu gnu.emacs.help:127617 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23084 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23084 Platform: Intel Pentium M, debian sarge (testing/unstable) emacs21 21.3+1-8 I'm defining a variable for the site-lisp directory in the site-start.el file: (defvar company-site-lisp (file-name-directory (locate-library "site-start")) "Path to the Company site-lisp directory. The default value here is the location of the site-start.el file.") The company-site-lisp variable seems to be defined when used elsewhere in site-start.el. But it is reported to be undefined when I'm attempting to use it in ~/.emacs and the default.el file. Also it isn't found when doing `C-h v' after startup. I thought this would be a globally defined variable? The variables I'm defining with defcustom seems to be working. Am I doing something wrong? Thanx!