From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.emacs.bugs,gmane.comp.lib.gnulib.bugs Subject: bug#57129: 29.0.50; Improve behavior of conditionals in Eshell Date: Tue, 16 Aug 2022 16:40:16 +0200 Message-ID: <4165399.mogB4TqSGs@nimes> References: <1871347.6tgchFWduM@nimes> <838rnofgad.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, larsi@gnus.org, eggert@cs.ucla.edu, bug-gnulib@gnu.org, 57129@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 16:42:07 2022 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 1oNxle-0007zS-SN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 16:42:06 +0200 Original-Received: from localhost ([::1]:52668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNxld-00062j-IU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 10:42:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNxkd-0005QM-5P for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 10:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNxkc-0007jm-A9 for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 10:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNxkc-0005yh-5y for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 10:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bruno Haible Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57129 X-GNU-PR-Package: emacs Original-Received: via spool by 57129-submit@debbugs.gnu.org id=B57129.166066082322917 (code B ref 57129); Tue, 16 Aug 2022 14:41:02 +0000 Original-Received: (at 57129) by debbugs.gnu.org; 16 Aug 2022 14:40:23 +0000 Original-Received: from localhost ([127.0.0.1]:47988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNxjz-0005xZ-Bu for submit@debbugs.gnu.org; Tue, 16 Aug 2022 10:40:23 -0400 Original-Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.160]:40019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNxjx-0005xL-1Z for 57129@debbugs.gnu.org; Tue, 16 Aug 2022 10:40:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1660660817; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=e1eJMRlQLSM2pax8WA9jBkugmTgyOJ2FZcycMNDDoFo=; b=rTnBP9U3MEgy2L/qSnE9NIA6eFhoqhV4NTDGFxZ5XtVGZBGRYRSuLeet591SDUg/yW igypYNPkBPs3osS3g5mBHXIozqXqgXqTJ14QZZVnZpKEI8tMPfb//fYj6WFdo4Zictgj U9oGIvPA7vErzYKJTescM18OBfC84388aen+q86IEy0W97/DzFlYTBLDoZk+U1WaSgHQ 95mzemyaLBqIP2M20CzDwl/SAePsqFUs3uO0P2hyZl28VVavzgQjzIycBoJZ++NFg5Dd R2Q/6s3meoTdEIECETZqvfsr4zR2cAWMqABJi1VrM+ye0JYHrRF83YqDESP2VjV0OmDa H31A== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zG6tLj91pCR2L7hM6+Odi8PRCuZoP2/ZC83xg==" X-RZG-CLASS-ID: mo00 Original-Received: from nimes.localnet by smtp.strato.de (RZmta 47.47.0 AUTH) with ESMTPSA id g97246y7GEeGm0L (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 16 Aug 2022 16:40:16 +0200 (CEST) In-Reply-To: <838rnofgad.fsf@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" Xref: news.gmane.io gmane.emacs.bugs:239964 gmane.comp.lib.gnulib.bugs:46138 Archived-At: Eli Zaretskii wrote: > Looking at your test program, I see that you generate the seconds file > name without deleting the first one. When a file by the first > generated name already exists, gen_tempname will indeed generate a > different name. But in the scenario I described, Emacs creates one > temporary file, uses it, then deletes it, and only after that creates > another file. Why would it be important for the second temporary file to bear a different name, once the first one is gone? I mean, process IDs get reused over time; socket numbers get reused over time; what is wrong with reusing a file name, once the older file is gone? Maybe the problem is that the file gets deleted too early, when some parts of Emacs still reference it? Bruno