I am curious about the origin of certain files under ~/.emacs.d
, such as: places
, url/cookies
, tramp
, eshell/history
, eshell/lastdir
, auto-save-list/.saves-15234-mymachine~
, request/curl-cookie-jar
.
I'd like to know not only where they came from, but what variable I need to set in order to relocate them to other locations of my choosing.
To further my investigation of these files, I'd like to get a backtrace from Emacs when it opens any of them (or any other files of my choosing). Is there a way to do that?
#...#
)? backup files (...~
,...~999~
)?~/.emacs.d
:places
,url/cookies
,tramp
,eshell/history
,eshell/lastdir
,auto-save-list/.saves-15234-mymachine~
,request/curl-cookie-jar
. I can guess thattramp
comes from using TRAMP, but what variable do I need to change to have it be created somewhere else instead? Same with the rest. I'd like to track these down in the general case by looking at backtraces when they're opened.~/.emacs.d
directory is supposed to contain such things. Some are configurable, but you may not be able to relocate all such files without modifying the libraries in question. A few such cases may support "old" alternative filenames in the HOME directory, via theOLD-NAME
argument tolocate-user-emacs-file
, in which cases you could move the file from its~/.emacs.d
location to its old name, and it would still be used; but the modern intention is that such files and directories live under~/.emacs.d/
.