bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25819: 25.1; Added by Package.el. Added by Package.el. Added by Pack


From: Glenn Morris
Subject: bug#25819: 25.1; Added by Package.el. Added by Package.el. Added by Package.el. Added by Package.el.
Date: Wed, 22 Feb 2017 21:47:21 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

address@hidden wrote:

>> > root) My /root/.emacs looks something like this:
>> >
>> >     (setenv "HOME" "/home/frederik/")
>> >     (setq savehist-file "/root/.emacs-history")
>> >     (load "~/.emacs")
>> >     (setenv "HOME" "/root/")
>> If you don't feel like debugging further, you could just add a
>> commented out package-initialize line to /root/.emacs.
>> Somehow I don't think your problem is a common one. :)
>
> You don't think my problem is common!? :) Well I'm not sure how other
> people edit files as root, but after a few incarnations I decided that
> a barebones /root/.emacs pointing to ~/.emacs is the best way to go.

I meant the odd use of changing HOME to load someone else's .emacs.
As it turns out, that isn't related.

(Did you consider symlinking ~frederik.emacs to /root/.emacs, and adding
UID == 0 conditionals where needed?)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]