From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Christopher M. Miles" Newsgroups: gmane.emacs.help Subject: [NEED HELP] How to find out weird thing caused Emacs auto save scratch buffer as lot of files Date: Tue, 23 May 2023 11:09:28 +0800 Message-ID: <646c3199.170a0220.12d51.9eb2@mx.google.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13099"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.3; emacs 30.0.50 To: Emacs Help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 23 05:23:28 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1IcQ-0003Gn-JN for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 May 2023 05:23:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1IcC-0000Vp-QX; Mon, 22 May 2023 23:23:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1IcA-0000V4-KJ for help-gnu-emacs@gnu.org; Mon, 22 May 2023 23:23:10 -0400 Original-Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1Ic8-0004OE-VA for help-gnu-emacs@gnu.org; Mon, 22 May 2023 23:23:10 -0400 Original-Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-53469299319so4102184a12.3 for ; Mon, 22 May 2023 20:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684812186; x=1687404186; h=mime-version:reply-to:date:subject:to:from:user-agent:message-id :from:to:cc:subject:date:message-id:reply-to; bh=x/0SSFS1tOm+pOOO9aOOQ4dRv/xW2+UCp6KB4RZi0Zk=; b=mIL2oy33xjBixKjkcBvzh+5uPLbD2PsESaBJXGNJggpR5cDSIMl0mG2ImQCaZ8zBaZ DZdFxTq5X/53FBQ1WN0RgWoWNFB8IPNcPBbakNiKqOH3bTJPX4Eze8a2R+u5+ui4AGjE FxXfrByLrAVtl4lu92AheDj1yZczUQ93W1/hIwL63MZWEd6VHXGJgfx7ZAFVhMuyR/4m /vnwinQmdyc1DmYlCcP3XlWqJkafZwCJID88XHLvS62gyK/5Q2TO0BvKGrv1ddFhHl9j 1t5IOJm8HBlL/j5NB740Sm4Q0jrxgVxqEqW9O64xVOWTZwQ6dKEL6gtXjxpunGFJb2nk b93A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684812186; x=1687404186; h=mime-version:reply-to:date:subject:to:from:user-agent:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=x/0SSFS1tOm+pOOO9aOOQ4dRv/xW2+UCp6KB4RZi0Zk=; b=M7Fzt0tyP+9XpwFRbaUFQDznEKeQCZSj4navaKb4W1nXjT0iKUApFMCXNEtwFjZ4nY tjGx91QtNbeheFbGHdQFcLou47fMvEbqTjYBx51VRz6wNZvDGcc6WOvtjTuGk6SMcDhk XItHVaJeviSGKl9gN42dLQszdu18x3TnzsOwMh0gGu/BqJRJBO6Ig+RQBhuZ13kqZ8oX jyV7mqXNtrNgy+4pJNNJaO13fTGRujN45ZNnZY01Q3NezGo3QPkvCJN9bJLXLQQeIaGA Ogj/zosBFiWUcI8vCJ2pnlkT43krF2Uhl6sNW2pi9xji6VqKU5kELYDpSK8fkU8hkF/E vdsQ== X-Gm-Message-State: AC+VfDzNTuHMYgnOPeUfpUIA45uL1ThJfHxnqc5YhJVRLQ1CvKCFL8KO xqMCRhUPinjhZ8iJopvckuH1tDTVqfQJ X-Google-Smtp-Source: ACHHUZ5u2301rNM78uuUyUhNTH0EPaVGUmk3Bh0h/dXWIT/H/GTR308wnIlHU4q8lG7F+v2LCXk13A== X-Received: by 2002:a17:902:b093:b0:1ac:8062:4f31 with SMTP id p19-20020a170902b09300b001ac80624f31mr12510200plr.37.1684812186239; Mon, 22 May 2023 20:23:06 -0700 (PDT) Original-Received: from Mac-mini.local ([39.171.214.79]) by smtp.gmail.com with ESMTPSA id 9-20020a170902c14900b001aaecb74f82sm5532553plj.72.2023.05.22.20.23.05 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 22 May 2023 20:23:05 -0700 (PDT) X-Google-Original-Message-ID: Original-Received: by Mac-mini.local (Postfix, from userid 501) id 706608FC5BA6; Tue, 23 May 2023 11:22:59 +0800 (CST) Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=numbchild@gmail.com; helo=mail-pg1-x52d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143710 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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:=20 321 #+end_example =2D I tried search "scratch" in my Emacs config files, not found any clue. =2D I tried to check out some minor modes like auto-save, savehist, etc. No= t them neither. =2D 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? I know maybe bug-hunter can be used here, but it need to wait for Emacs trigger this behavior randomly without knowing how long the time spend. So I send asking help email here. Hope someone can help me. Thanks a lot! =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRsMZAACgkQG13xyVro msOOOggAlVTXVmwoOqHIxfwa7OuKpBjJCsVVQqaXq2DvE/84SkfVvMc2IOznvg23 io+fhV+UTGb6mnTOhg5ryXtxttZEslY9cNXGkSOBTaodztGp8M4RZuaV1g4Y/QV3 O7WpUuTN3Hlc2HYRt0jUskGsB8ICWsvi1Sr4h+OpdPWCG/KCaracjJt3LQCybGe3 Mz1YVFXkBdCnfir3jpYJMb0poRQRkZkx87zEy5T9zwtWKEpHm7YHV2iXK6L/V6Wb cQOg1GbiWeiPz0xyPuf9qtuokb0keMgnQxWFBb+ppafmxHfvAlc3sE4NbqOWlJaL nGD1O1W9Ia4Ra8xPIHq/cBSBq26aEg== =oYIi -----END PGP SIGNATURE----- --=-=-=--