From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Peterson Newsgroups: gmane.emacs.help Subject: Re: Emacs doesn't load .emacs Date: Thu, 02 Nov 2006 09:33:22 -0800 Organization: University of California, Davis Message-ID: 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=us-ascii X-Trace: sea.gmane.org 1162489405 15392 80.91.229.2 (2 Nov 2006 17:43:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Nov 2006 17:43:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 02 18:43:25 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 1Gfgb6-00065t-EP for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Nov 2006 18:43:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gfgb5-00038M-Dk for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Nov 2006 12:43:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!ucdavis!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 69 Original-NNTP-Posting-Host: moobilenet-59-106.ucdavis.edu Original-X-Trace: skeeter.ucdavis.edu 1162488751 24844 128.120.59.106 (2 Nov 2006 17:32:31 GMT) Original-X-Complaints-To: usenet@ucdavis.edu Original-NNTP-Posting-Date: Thu, 2 Nov 2006 17:32:31 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:1kNT1idl2z70om0P1Ux6VqJSe7g= Original-Xref: shelby.stanford.edu gnu.emacs.help:142891 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:38510 Archived-At: >>>>> "Hendrik" == Hendrik Bilges writes: > 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 > I'm still beginning to understand these Lisp files, so I could > need some help. I uploaded the codes of > /usr/share/emacs/site-lisp/debian-startup.el here: > http://phpfi.com/170290 > /etc/emacs/site-start.d/50autoconf.el here: > http://phpfi.com/170291 > /usr/share/emacs/21.4/lisp/cus-start.el here: > http://phpfi.com/170296 >> HTH - and keep trying, emacs definitely is worth it ! > If I wouldn't believe that I would have given up a couple of > hours ago ;-) > Thank you all for your help so far! This is very odd behavior. I use Ubuntu with no problems with their stock Emacs. From what I can tell from above, you don't seem to have any non-standard elisp packages installed either. The code you posted is just a standard debian-startup elisp file which hooks emacs into debian's way of maintaining different elisp packages across diffferent Emacs versions. What version of Ubuntu are you using? -- Sam Peterson skpeterson At nospam ucdavis.edu "if programmers were paid to remove code instead of adding it, software would be much better" -- unknown