all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Robert Thorpe" <rthorpe@realworldtech.com>
Subject: Re: Emacs doesn't load .emacs
Date: 2 Nov 2006 11:08:12 -0800	[thread overview]
Message-ID: <1162494492.455552.132920@h54g2000cwb.googlegroups.com> (raw)
In-Reply-To: <4qum5uFobts1U1@individual.net>

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.

  parent reply	other threads:[~2006-11-02 19:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02 11:19 Emacs doesn't load .emacs Hendrik Bilges
2006-11-02 12:05 ` Robert Thorpe
2006-11-02 13:16   ` Hendrik Bilges
2006-11-02 13:43     ` Hendrik Bilges
2006-11-02 14:17       ` Lowell Gilbert
2006-11-02 14:29         ` Hendrik Bilges
2006-11-02 14:58           ` Peter Dyballa
2006-11-02 15:23           ` Peter Dyballa
2006-11-02 15:22       ` Martin Jost
2006-11-02 16:54         ` Hendrik Bilges
2006-11-02 17:20           ` Hendrik Bilges
2006-11-02 19:06             ` Kevin Rodgers
     [not found]             ` <mailman.83.1162496054.2155.help-gnu-emacs@gnu.org>
2006-11-03  4:28               ` Hendrik Bilges
2006-11-03  9:19                 ` Harald Hanche-Olsen
2006-11-02 17:33           ` Sam Peterson
2006-11-02 19:08           ` Robert Thorpe [this message]
2006-11-04 16:42       ` John Sullivan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1162494492.455552.132920@h54g2000cwb.googlegroups.com \
    --to=rthorpe@realworldtech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.