GNU bug report logs - #18512
no startup warning if user-emacs-directory is modfied and added to load-path

Previous Next

Package: emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Sat, 20 Sep 2014 03:28:02 UTC

Severity: minor

Found in version 24.3.93

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: David Reitter <david.reitter <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 18512 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: bug#18512: 24.3.93; tramp persistency file: incompatible with old versions? Tramp won't start!
Date: Sat, 20 Sep 2014 22:38:48 -0400
On Sep 20, 2014, at 4:09 AM, Glenn Morris <rgm <at> gnu.org> wrote:
> 
> We already added a startup warning if user-emacs-directory is in
> load-path, for precisely this kind of reason. (Eg calc has similar issues.)
> 
> user-emacs-directory is not in load-path by default, so the question is;
> how did it come to be in load-path, and why was the warning not seen?

That’s because the warning is given only if the directory name is .emacs.d (string-match-p "/[._]emacs\\.d/?\\'" dir).

Had I seen this warning, I would have not have set the load-path default in Aquamacs to include user-emacs-directory.
At this time, it’s an inconvenient change for the user base… I’m not sure whether to leave it as is, or to change `user-emacs-directory', tweaking `locate-user-emacs-file’ to move files like “tramp.el” into a new subdirectory.



This bug report was last modified 10 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.