help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NEED HELP] How to find out weird thing caused Emacs auto save scrat


From: Eli Zaretskii
Subject: Re: [NEED HELP] How to find out weird thing caused Emacs auto save scratch buffer as lot of files
Date: Tue, 23 May 2023 14:10:35 +0300

> From: "Christopher M. Miles" <numbchild@gmail.com>
> Date: Tue, 23 May 2023 11:09:28 +0800
> 
> Recently I found in my user home directory, has lot of files named like:
> 
> #+begin_src sh
> find ~ -maxdepth 1 -iregex ".*scratch.*" -print | head -n 8
> echo ""
> echo "Counted files number: "
> find ~ -maxdepth 1 -iregex ".*scratch.*" -print | wc -l
> #+end_src
> 
> #+RESULTS[(2023-05-23 11:18:44) aeb151fa27fcf758a5339bed5dc6617cb4f731ba]:
> #+begin_example
> /Users/stardiviner/#%2Ascratch%2A#UKK9EL#
> /Users/stardiviner/#%2Ascratch%2A#4gsYFq#
> /Users/stardiviner/#%2Ascratch%2A#ufEZRq#
> /Users/stardiviner/#%2Ascratch%2A#XzrExY#
> /Users/stardiviner/#%2Ascratch%2A#jGa6jP#
> /Users/stardiviner/#%2Ascratch%2A#mweKr5#
> /Users/stardiviner/#%2Ascratch%2A#mDmbh3#
> /Users/stardiviner/#%2Ascratch%2A#CTbcQ7#
> 
> Counted files number: 
>      321
> #+end_example
> 
> - I tried search "scratch" in my Emacs config files, not found any clue.
> - I tried to check out some minor modes like auto-save, savehist, etc. Not 
> them neither.
> - I tried to search "scratch" in my Emacs packages installation directory 
> elpa/, still not found.
> 
> Does anybody have any clue how to debug this issue quickly?

Do you have auto-save-mode enabled in the *scratch* buffer?  What does

  M-: buffer-auto-save-file-name RET

produce if you invoke it from the *scratch* buffer?  If it produces a
non-nil value, you have somehow turned auto-save-mode in *scratch*.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]