all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "pranavtiwari@gmail.com" <pranavtiwari@gmail.com>
Subject: Re: emacs 21.3.1 not loading .emacs
Date: 2 Feb 2006 00:10:16 -0800	[thread overview]
Message-ID: <1138867816.266631.86230@g14g2000cwa.googlegroups.com> (raw)
In-Reply-To: <mailman.549.1138826204.3044.help-gnu-emacs@gnu.org>


Kevin Rodgers wrote:

> pranavtiwari@gmail.com wrote:
> > On my Unix machine, emacs is not loading .emacs.
> >
> > If I start emacs as:
> >
> >  % emacs -u $USER
> >
> > emacs starts up correctly with my .emacs loaded. However, if I start it
> > without -u option, it ignores my .emacs.
> >
> > Can someone suggest what the problem could be?
>
> What do these commands tell you:
> C-h v user-login-name

root (wrong)

Where is this picked up from? Help says "The user's name, taken from
environment variables if possible.".  My $USER is set correctly. What
other variable could it be trying to use?

> C-h v user-real-login-name

pranav (correct)

> C-h v user-init-file

nil (i assume default will be meaningful)

> C-h v init-file-user

root

>
> Does the problem persist when you start emacs as:
> emacs --debug-init

Yes it does.

BTW, when I start emacs with -u pranav, the values are:

user-login-name : root (wrong)
user-real-login-name: pranav (correct)
user-init-file: /users/pranav/.emacs
init-file-user: pranav

user-init-file in the normal case is suspect. Given that .emacs is not
being read, how is it supposed to be set before reading the init file?

regards,
-p

  parent reply	other threads:[~2006-02-02  8:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-01  5:48 emacs 21.3.1 not loading .emacs pranavtiwari
2006-02-01 13:42 ` Maarten Bergvelt
2006-02-01 20:13 ` Kevin Rodgers
     [not found] ` <mailman.549.1138826204.3044.help-gnu-emacs@gnu.org>
2006-02-02  8:10   ` pranavtiwari [this message]
2006-02-02 19:31     ` Kevin Rodgers

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=1138867816.266631.86230@g14g2000cwa.googlegroups.com \
    --to=pranavtiwari@gmail.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.