From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: A more radical cleanup for make bootstrap? Date: Tue, 20 Sep 2022 02:38:28 -0400 Message-ID: References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19496"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, larsi@gnus.org, luangruo@yahoo.com, monnier@iro.umontreal.ca, stefan@marxist.se, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 20 08:39:49 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oaWv6-0004w2-SP for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Sep 2022 08:39:49 +0200 Original-Received: from localhost ([::1]:40010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaWv5-0005XQ-FN for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Sep 2022 02:39:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaWts-0004nj-1a for emacs-devel@gnu.org; Tue, 20 Sep 2022 02:38:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaWtp-0008OL-EO; Tue, 20 Sep 2022 02:38:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=zMPca8s6yKgUYo+V/SAdJHJGKDrd0jDsQNpKJv5UJf8=; b=IbeR/xE+xk7a RFsUNi0P6jz+etWjTjX+3lSYUYqnnofgMh+uUnjgh2TlCklRRRnR9rnfvFH1FiX20TWQ8nY+v9SQb Mih9aRtlAXmAbjCkLwbh1TQnbkglLXu7QRyW0PuwM9bb9NZ6ryAR6pVu9YpQyXYOq+94FzzvPXDn4 XbfrHkk9E2i643r6u1c2qWkcl0Q88qZhRHyABbnTobiAxE8d4VKUp/MlQ3UJY/d7KLl7bTMU2APb7 vA+VnAq6ckhndNF0nZIYX9DyQG2f3MAM/jQHFRVjuoqCo/BfkBP4eJU77vsdCWB7gJQ2U9+bVBndA iJ0jS6reAkueBuxY56U1eA==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oaWto-0002ia-6B; Tue, 20 Sep 2022 02:38:28 -0400 In-Reply-To: (message from Gregory Heytings on Mon, 19 Sep 2022 21:45:36 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:295778 Archived-At: > It's not clear from the comments what extraclean does. The comments > just say it does "delete backup and autosave files, too", without > specifying the files whose backup and autosave files get deleted. extraclean removes all generated files, and also all *~ and #* files. If removing these files is a potential problem, they could perhaps be kept by bootstrap (or be kept conditionally to some variable). But note that *~ files are by default not created by Emacs, unless you've set vc-make-backup-files to t in your init file. vc-make-backup-files only applies for files under version control, Non-version controlled files get backup files created by default. So if you have a file, not under version control, its backup files might get removed. That extraclean deletes files it does not know about (*~ and #*) seems like a mis-feature.