From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Emacs in a Corporate Environment Date: Sun, 16 Apr 2023 09:51:57 +0200 Message-ID: <874jpgfen6.fsf@gmx.de> References: <87pm876e9j.fsf@mbork.pl> <873552sf7u.fsf@gmx.de> <87sfd0j19v.fsf@thaodan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18002"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Marcin Borkowski , Corwin Brust , Yuan Cao , help-gnu-emacs@gnu.org, John Yates To: =?utf-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 16 09:52:53 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 1pnxBs-0004Zo-Kp for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 16 Apr 2023 09:52:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnxBK-0002Aj-FU; Sun, 16 Apr 2023 03:52:18 -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 1pnxBI-0002AK-N4 for help-gnu-emacs@gnu.org; Sun, 16 Apr 2023 03:52:16 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnxBG-0006VX-Lk for help-gnu-emacs@gnu.org; Sun, 16 Apr 2023 03:52:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1681631519; i=michael.albinus@gmx.de; bh=4ZuJgURxCiFf5UtpM5ErgaohPlCkaT9a6NDwcHOv944=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=osqLJCZkppb+qqkQcreflWDlFtDfEkfbnxKyIwsIjodaEjNvrLm6vJ6rLDLNQQrd+ Tss4aT1AO2aAPFt+NGxTDixEj1RRvyReS2ebSGF37BzS3km0SyYNtB3Y9fjYysUlJf H4IfALHzBe9FK4+S8bl1/tJ3GXb1JYLS0lEMRVasrTW1SILF+y+Y7Tlnu/U1gUAYGf PIRLqOKc9aGnWd8LTPt9oE5LM3T040l1NK+sTYexWjawERHqk736HvHv3YKUF4QkMy JzdsD1y9e8o6t5TtmCwJRrjMOAc16zM+L/G1uXy7aMzO0lho8wKPDiAHwfOw7Hd1Zr aT5SDHzS19X8Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.0]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MuDbx-1qdIm20MEH-00uWs4; Sun, 16 Apr 2023 09:51:59 +0200 In-Reply-To: <87sfd0j19v.fsf@thaodan.de> (=?utf-8?Q?=22Bj=C3=B6rn?= Bidar"'s message of "Sun, 16 Apr 2023 00:14:52 +0300") X-Provags-ID: V03:K1:bS4ajfLDBc2QcM/quy7zxjAYCGCknv/zbsN8dslsyAB/DIIWued o8EBCadTpSeHCBYFGYrX4xtJk6ykFcQUfCFv5wEf0LtJlJLhfRk4iYEoXPpzLBtQYvXah/z 9TCxxXjuUqTs94GgTQDb8Gv72DWOJsW1R0BBQDfeeL0pTx/G5QENee0Rtli+3PC2h5Qo+e0 puOyKhulGqV37u2QCyU4g== UI-OutboundReport: notjunk:1;M01:P0:81UWMB8MdrE=;NzCEgaroNJqWEPbWxUwVW1x0WXb nVwDYWWNkT08i6o/vonAV5DSs4oGq411SAul2MutHFwwcSJbMygmTZT49PRqdP6q+dy/2Xn9o skxfwBDTkmEnCr3yaW835vF3wD47dNhX//Sk1FED4zU/hKtePJnmF5XVR7PVmMZRR7yaRd1h7 RItdmoVN+r/tLwLgSh59oCtga4Ho/WL9Acv5StOOJOJElfp9V7BXZGuSiiBD2XiK4+LdhyOSl T3kZrv9VT61vyEAP8itMJwZ+z/gssWExI3CNSp+ZDfGo6CtvdRTzKYNtw56lFp++kYwIn4B6s HRJDPBwHOpFjDSFwZglTTDxS144B8GhgepOS6w72Msn3j9so8MFEUfgAgeZuOkDmYko/LNOm1 AlvtjBa34uAE6Qgl/0m1l0gjkg3sjjt3Z2bhrqYq7lK/watYtHBMatoVJsDwKVEGQA8E4jwEJ gr7e66ARJqVBG2sWHl2sDlX9xh0W97Nm+mcWisjN0xERpsQLU1cS8oiAS8fnnTvhzgzoXlDwz CX7BUWDQNvYiNrftrhp0qv5Sa1Cw+EAmLzcTAhIjTkjC6oXL57xYWs3nHEOn7I5iua0cKaGF5 z7NNPeV/tu2+SbW4UH5JN74ceTONRW3YxaQ3cxq7HVS8A87SGpLLdEh2KAZvQA2TyGc0y9UIE XlPBQFbxSCsJqfVrd03iYA4YQ5bxtinoAIzCVBFsw7XS029XFwrgTox80DAXj+3qiIJek2onp 2ZV6wxauOdhk+al5n/Mo162N7IujU8ft1VeAEkkp917GTMREZaxdGlAVelU985k1sLwtA/1Z Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:143287 Archived-At: Bj=C3=B6rn Bidar writes: Hi Bj=C3=B6rn, >> You can be sure that a copy of your remote data end up in your local >> drive in /tmp. Tramp is busy to clenaup after the operations, but there >> is no guarantee that it will cover everything. And if somebody calls >> `file-local-copy' of a remote file, this ends up in your /tmp by >> intention of the caller. > > Not to hijack this list even more but Emacs should probably use various > directories other then /tmp under Unixes. Under those that use XDG > (Linux, BSD, Solaris) ${XDG_CACHE_HOME} or ${XDG_STATE_HOME} comes to > mind. > Another option is to use ${XDG_RUNTIME_DIR}. > All those are separate per user and the latter is likely deleted each > time (tmpfs). Emacs has the user option temporary-file-directory. It is initialized using the environment variable $TMPDIR (or $TMP or $TEMP). If that doesn't exist, "/tmp/" is used. Prior starting Emacs, $TMPDIR could be set to "${XDG_CACHE_HOME}/emacs/" (provided, subdirectory "emacs" is created). Alternatively, you could set this user option in your init file. Whether Emacs shall support this setting by default, including the subdir creation, is a different question. Perhaps we shall do this as opt-in, based on a user variable. Similarly, you (we) could set small-temporary-file-directory to "${XDG_RUNTIME_DIR}/emacs/". > Br, > > Bj=C3=B6rn Best regards, Michael.