forcemerge 25819 24643 tags 25819 patch quit frederik@ofb.net writes: > On Wed, Feb 22, 2017 at 02:28:27PM -0500, Glenn Morris wrote: >> >> I tested with: >> >> /tmp/h1/.emacs: >> (setenv "HOME" "/tmp/h2/") >> (setq savehist-file "/tmp/h1/.emacs-history") >> (load "~/.emacs") >> (setenv "HOME" "/tmp/h1/") >> >> /tmp/h2/.emacs: >> (setq foo 99) >> >> >> HOME=/tmp/h1 emacs-25.1 >> M-x package-initialize > > You don't think my problem is common!? :) Well I'm not sure how other > people edit files as root, Probably with TRAMP: https://www.emacswiki.org/emacs/TrampMode#toc20 > Thank you (indeed) for taking the time to trim down my problem to a > minimal test case. If we make it a little less minimal: > > /tmp/h2/.emacs: > (setq foo 99) > (package-initialize) > > then I find it reproduces the problem: AFAICT, this is essentially the problem described in #24643 and should be fixed by the suggestion there: