From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#75306: 31.0.50; Make `small-temporary-file-directory` variable obsolete Date: Fri, 3 Jan 2025 02:26:29 -0600 Message-ID: References: <87cyh4bfv0.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22666"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75306@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 03 09:27:32 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 1tTd1n-0005ix-Rh for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jan 2025 09:27:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTd1M-0004WG-7L; Fri, 03 Jan 2025 03:27:04 -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 1tTd1K-0004VW-J3 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:27:02 -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 1tTd1K-0000tA-A6 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:27:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=7Gu4F5T41fxSqh2lwI1k8a5nWQUbRC8dUJxFwp30Q3g=; b=mqwtJvV/6BN9kapEW8AZ97w231IZXw9Co0kG8DFnC0Thv8KtXo08pljwbowTYBELQ68jas3FxsWiG3lpiJDkwJA6+mzODl5iec9ae8olbVwRTRGUFq6tCx5H709hsE3nqrt6rvIxF4raxCCa8TvlHpX1yPcPZBfVpseFzhjX/SKoAAZzERnBz4nziA/YfY47P8j67mpIUaQwPhBzBXkdhyMWqFUjbdwoWfOCGFhS4f6bLmyt6ZDgHxSz3d7mZ5OrUH3oe9Htwh3HDh6Ifwob5t0xyA6xxKjmeGgvM1CYyRBE2i/cs3+UGQcNfAWcPEjRKqWwbYgMmm/ymtR0gpbL7Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTd1K-0001XW-47 for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 03:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2025 08:27:02 +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.17358927995869 (code B ref 75306); Fri, 03 Jan 2025 08:27:02 +0000 Original-Received: (at 75306) by debbugs.gnu.org; 3 Jan 2025 08:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:49412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTd0r-0001WS-Qn for submit@debbugs.gnu.org; Fri, 03 Jan 2025 03:26:38 -0500 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:53721) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTd0q-0001WI-2m for 75306@debbugs.gnu.org; Fri, 03 Jan 2025 03:26:32 -0500 Original-Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5d7e527becaso19871078a12.3 for <75306@debbugs.gnu.org>; Fri, 03 Jan 2025 00:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735892791; x=1736497591; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=7Gu4F5T41fxSqh2lwI1k8a5nWQUbRC8dUJxFwp30Q3g=; b=lzuJOMxLXsoZlp5lFbf30bCg+LeoS0voMete1CW7JkYx35UqSUtgeNbabJKgeqsf3v Y8A84VsVrrzZbi3iqrOaUZhawexxHwbrAfT9zv6nICB5QWO3rppqz7Mgrb7dh0TZmt2e slUD4gI6qq7d+mhy9TVy6Z4Aq6bLtDbg7lSE3SPoNVxL+ntbS+5KSxZhn8YkWtc2uM5i h6+Kv2Lc81k+wjtvUR6WfvlVnQP0Bg+2k4LeJSVWMb0Nk+kJmlFXZuWQd8+vQNkuxbV2 sc/SZWCOBzWGIzpu7zbzj6Ct0Ry5XKrLl50+6AIj2yAyU+Hi+c2JfJVKmeWGWBWjUDim Ct6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735892791; x=1736497591; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7Gu4F5T41fxSqh2lwI1k8a5nWQUbRC8dUJxFwp30Q3g=; b=uQuT9XIyE6gizmQL4SID6Lhco5sFwUuYxZ4rkFKdVJt+25Ne5DAR6JxKB4B/nZR4k1 b2/5IbkIMHD4bdLgp8sPCgPN2GsD8IYidrBvnFqOhMV0+jnwQYgiFWHFKccTITirPJXO mwzPumuN3fmzW6j6FZPC1p7jpLc7yQ2XiN8c+VKv7zQlqcq2VvfsDKR/JOzh8RYuODrY tInkb/KoF6DfwTutgo81KxlLg16N9PisRlCpnlWh8W/PpRLy2WULqIQa+F4+de2uhrgC 0xoD3KJsm7vcn1a1/Ce+EOeHRHUYVU5dRm7I47AJttxNBZ8Cicba2J8HAC8+/TI6uyMt p7pQ== X-Gm-Message-State: AOJu0YxR4zYjI/j2tTjkbVV+ywEvH63WaKny7OGE8qUFDFzviGEFlmNa AQHZEEWtula6w5rMNtdaw0W1Y61oAN2KDQOlgjz75O06BpCjmiCoGLA8D2K3YQ2DPWM9BvqElzd LwFXSgIvCFs5ZfcySZ/q+KL9uQvE= X-Gm-Gg: ASbGncv4avzW1hE99Q4D0IuGNQhQ/94JA1NZfwgOCHxG6pcTe5IN0a3w28DmuGyM5Hh DPxcvx41+fnxocrKdTP6V+7JfkyNHVmXOt/dp/N1V X-Google-Smtp-Source: AGHT+IHPUEn24BKBq0gTIYudVF6ZHOWjR/jSMWegnTP2g1ZD8Yipg600d8WP16NJtX3srVDLhfFMHYHtnSAcgUD2WRk= X-Received: by 2002:a05:6402:26cf:b0:5d0:abb8:7a3 with SMTP id 4fb4d7f45d1cf-5d81dd84692mr93865898a12.6.1735892790413; Fri, 03 Jan 2025 00:26:30 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 3 Jan 2025 02:26:29 -0600 In-Reply-To: <87cyh4bfv0.fsf@gmx.de> 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:298259 Archived-At: Michael Albinus writes: > 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? It doesn't hurt to keep it. The advantage is that we get rid of a redundant variable. > And in the Tramp case, you break an existing interface. Users have been > instructed to change the value of small-temporary-file-directory when > needed. See (info "(tramp) Frequently Asked Questions"), which documents > a user problem reported on the ML. Thanks. Would something like this work? (define-obsolete-variable-alias 'small-temporary-file-directory 'temporary-file-directory "31.1")