I reorganized some of the folders on my computer, in an attempt to get rid of old stuff and organize useful stuff. So with the new directory structure, I am getting all of these auto-save errors.
Error (auto-save): Auto-saving file1.org: Opening output file: File name too long, /home/xxx/.emacs.d/.cache/auto-save/site/#!....file1.org#
Error (auto-save): Auto-saving file2.org: Opening output file: File name too long, /home/xxx/.emacs.d/.cache/auto-save/site/#!....file2.org#
Error (auto-save): Auto-saving file3.org: Opening output file: File name too long, /home/xxx/.emacs.d/.cache/auto-save/site/#!....file3.org#
I am not sure of the cause of the errors. On thing I was thinking is that my hard drive is encrypted and this might interfere with the auto-save operation.
Is there a way to fix this, short of just moving the files to a different directory? Is there a setting I can change to increase the filename length? Has anyone else found a good workaround for this error.
UPDATE:
As per Stephen's suggestion, Spacemacs sets up the auto-save configuration in its own internal files. There is a single reference to auto-save location in the .spacemacs
file. The variable dotspacemacs-auto-save-file-location
specifies where a file is saved: the cache, in-place, or no auto-saving. Other than that, there did not appear to be any other configurable settings for auto-save.