|
From: | Stefan Monnier |
Subject: | bug#36583: 26.1; emacs 26 tries loading original user's .emacs after su to root |
Date: | Mon, 15 Jul 2019 08:49:01 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> > I can see why you'd like that, but I think this should be the result of > > an explicit choice rather than the default behavior. > > How do you suggest a user indicate that choice? Don't know. How 'bout let the /root/.emacs file do something like: (load (concat "~" (user-login-name) "/.emacs")) ? For convenience, we could provide an ad-hoc function that would do that "right" (i.e. looking for .emacs, .emacs.d/init.el, and things like that). We could even put it in /root/.emacs.d/early-init.el. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |