From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#75306: 31.0.50; Make `small-temporary-file-directory` variable obsolete Date: Fri, 03 Jan 2025 10:39:14 +0200 Message-ID: <86y0zsgukt.fsf@gnu.org> References: <87cyh4bfv0.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29809"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75306@debbugs.gnu.org, stefankangas@gmail.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 03 09:40:24 2025 Return-path: Envelope-to: geb-bug-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 1tTdEF-0007cl-QV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jan 2025 09:40:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTdDy-0007d6-65; Fri, 03 Jan 2025 03:40:06 -0500 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 1tTdDv-0007cb-2g for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:40:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTdDu-0004t2-Ma for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=2KE3ie1uSbayLLvXEkuWKFt1yueHiLEG+YPDvKK00pg=; b=Ne7aKQuSvVpos5dhR+TrcgrewxWic2Du1yZffberrfuO2AkgZxr/4lYctvME8YXBu10jSKbPlE6srrchElbo9g6M9+W0o5qbRYqJ6K0qvYw+dJEBvt7AlPuD8j0wVYfbpxhvPzrLmESD1wl/2gf0w2Ea515aOdGpndFC9IU2Eon2CQ5wrO+mQlOm3smyQAPQ/aK0IQTuVPKEQI+pd477nc8836thN94eO4nm2JlkpusBDrNjabCRQuG3y2RR8F9wr8PLxEbGesyabp3jpETPEEqYNZ1yON1AgToVnod5rwFCxiEdxY7ut4nky0LpA5vdhudbakYhf8Xw+Mq7JKbK4w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTdDt-000297-Kz for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2025 08:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75306 X-GNU-PR-Package: emacs Original-Received: via spool by 75306-submit@debbugs.gnu.org id=B75306.17358935728182 (code B ref 75306); Fri, 03 Jan 2025 08:40:01 +0000 Original-Received: (at 75306) by debbugs.gnu.org; 3 Jan 2025 08:39:32 +0000 Original-Received: from localhost ([127.0.0.1]:49443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTdDL-00027p-TE for submit@debbugs.gnu.org; Fri, 03 Jan 2025 03:39:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60976) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTdDJ-00027b-AH for 75306@debbugs.gnu.org; Fri, 03 Jan 2025 03:39:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTdDD-0004VG-SA; Fri, 03 Jan 2025 03:39:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=2KE3ie1uSbayLLvXEkuWKFt1yueHiLEG+YPDvKK00pg=; b=LTVKHcGGaKIiP15TBpiB MhsYt01bdzZfkYm3uR1BV+RTtD5e0FHH0xelRqZHYztF2fcZ5ZaTZn5mKTagF7OpdWGZ18ijfgSgV 2tIh3MWU4zifxi+vHR6ooiDe+a/Xg5X2GUDZC9dIxrsRCIj556DVKWERSk4Hi5+9isjStErE2+hf2 QhC5mfGTyGAbZaygOxcT52MjR/Ek7z7mh8mX34UNStuGiu0ub16YZSvUafwXfmQ2JuWm7VLccKZbP LTw6InEH07cN2YYizuMzUERYTdJWCPetX/HfoprqhtK9XZkH0sS4EEySPirCmeIjyva3OBsGxHbKk ruFpA3OMt9PfPg==; In-Reply-To: <87cyh4bfv0.fsf@gmx.de> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298260 Archived-At: > Cc: 75306@debbugs.gnu.org > Date: Fri, 03 Jan 2025 06:56:03 +0100 > From: Michael Albinus via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Stefan Kangas writes: > > Hi Stefan, > > > I think the variable doesn't make much sense these days, and should be > > made obsolete. Note that it is barely used in Emacs and third-party > > packages. > > > > However, Tramp recently started using the variable as a place to create > > OpenSSH Unix domain sockets. May I suggest that Tramp uses some other > > variable for this purpose, perhaps a Tramp specific one? > > Is there a reason that it must be changed? What are the advantages? Does > it hurt to keep the user option? Exactly my questions. The doc string says: If non-nil, this directory is used instead of ‘temporary-file-directory’ by programs that create small temporary files. This is for systems that have fast storage with limited space, such as a RAM disk. This says nothing about MS-DOS, and makes perfect sense to me. It gives our users a capability to direct small enough temporary files to a fast temporary filesystem. If the OS sets this up, then users will not need to customize this variable, whose default is nil. But if some user has a good reason to customize this, why take that flexibility from them? How do we justify removal of a feature which could be useful to someone? From my POV, this feature needs zero maintenance.