From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: Emacs doesn't load .emacs Date: 2 Nov 2006 11:08:12 -0800 Organization: http://groups.google.com Message-ID: <1162494492.455552.132920@h54g2000cwb.googlegroups.com> References: <4qu2hpFops3pU1@individual.net> <1162469132.089595.161970@f16g2000cwb.googlegroups.com> <4qu9coFops3pU2@individual.net> <4quaviFops3pU3@individual.net> <4qum5uFobts1U1@individual.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1162496611 11753 80.91.229.2 (2 Nov 2006 19:43:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Nov 2006 19:43:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 02 20:43:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GfiQN-0006W2-Ky for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Nov 2006 20:40:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfiQN-0006my-8C for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Nov 2006 14:40:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h54g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: 213.94.228.210 Original-X-Trace: posting.google.com 1162494502 25842 127.0.0.1 (2 Nov 2006 19:08:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 2 Nov 2006 19:08:22 +0000 (UTC) In-Reply-To: <4qum5uFobts1U1@individual.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF3ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: h54g2000cwb.googlegroups.com; posting-host=213.94.228.210; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:142897 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: news.gmane.org gmane.emacs.help:38517 Archived-At: Hendrik Bilges wrote: > Am Thu, 02 Nov 2006 16:22:53 +0100 schrieb Martin Jost: > Hi Martin, > > > So -no-site-file might be a try. > > You were right :) > > > If you want to hunt down a site-start.el, You can use the command > > "describe-variable" to get the value of the variable "load-path" (this is > > the mentioned standard search path for Lisp libraries) You will get > > somehting like this: > > > > load-path's value is > > (""/pd/emacs21.4/share/emacs/21.4/site-lisp" > > "/pd/emacs21.4/share/emacs/site-lisp" "/pd/emacs21.4/share/emacs/21.4/leim" > > "/pd/emacs21.4/share/emacs/21.4/lisp" > > $ locate site-start.el > /etc/emacs/site-start.el > > $ less /etc/emacs/site-start.el > load "auctex.el" nil t t > load "preview-latex.el" nil t t > > There doesn't seem to be anything suspicious, hmm? May be in some of > those other files?: > > $ locate *start*.el > /etc/emacs/site-start.d/50dictionaries-common.el > /etc/emacs/site-start.d/50autoconf.el > /etc/emacs/site-start.d/00debian-vars.el > /etc/emacs/site-start.d/50preview-latex.el > /etc/emacs/site-start.d/51preview-latex.el > /etc/emacs/site-start.el > /usr/share/emacs/site-lisp/debian-startup.el > /usr/share/emacs/21.4/lisp/cus-start.el These paths are normal emacs paths, but the executable you are using is coming from some "alternatives" directory in Ubuntu. That is quite strange, Emacs behaves erratically if the lisp is not in sync with the executable. I don't understand the Ubuntu alternatives mechanism, so it may be OK. BTW I strongly expect that if you put (display-time) in .emacs you should see it when emacs starts - it works on Emacs on my machine. Since display-time affects the status line which is not really changed after .emacs runs. For your information the best test is to set a variable with a name like "hendriks-test" in .emacs and check it's value later.