From: Peter Boettcher <boettcher@ll.mit.edu>
Subject: Re: broken .emacs file
Date: Tue, 09 Sep 2003 17:40:15 -0400 [thread overview]
Message-ID: <m3y8wxmyio.fsf@coyote.llan.ll.mit.edu> (raw)
In-Reply-To: mailman.76.1063130750.21628.help-gnu-emacs@gnu.org
Dan Anderson <dan@mathjunkies.com> writes:
> I did something very silly. I wanted to apply my .emacs file from my
> personal user to my superuser, so just did a: #cp -f /home/daniel/.emac*
> /root
>
> This messed things up royally though, and rm -fR /root/.emac* doesn't
> seem to help (or it just breaks more things).
>
> Is there a command like M-x blank-.emacs-file?
Is it possible you are doing this:
dan$ su
Password: *****
dan$ emacs
Then emacs reads /home/dan/.emacs, but expands ~ internally as /root. So
you might add ~/emacs-lisp to your load path, which is now not
/home/dan/emacs-lisp, but /root/emacs-lisp, which may or may not
exist. This causes breakage. I don't know what the fix for this
might be, except to not run emacs like that. Try su - instead.
<end crystal ball viewing>
Sorry if my crystal ball is broken.
--
Peter Boettcher
boettcher@ll.mit.edu
next prev parent reply other threads:[~2003-09-09 21:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.76.1063130750.21628.help-gnu-emacs@gnu.org>
2003-09-09 18:22 ` broken .emacs file Barry Margolin
2003-09-09 21:02 ` Dan Anderson
2003-09-09 21:40 ` Peter Boettcher [this message]
2003-09-09 23:18 ` Dan Anderson
2003-09-09 17:49 Dan Anderson
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=m3y8wxmyio.fsf@coyote.llan.ll.mit.edu \
--to=boettcher@ll.mit.edu \
/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.