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.devel Subject: Re: PR: dired-do-create-files now checks for trailing slashes in the target Date: Tue, 28 Sep 2021 13:07:49 -0700 Message-ID: References: <87pmssqydp.fsf@gnu.org> 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="28958"; mail-complaints-to="usenet@ciao.gmane.io" To: Tassilo Horn , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 28 22:09:21 2021 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 1mVJPj-0007HR-32 for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 22:09:19 +0200 Original-Received: from localhost ([::1]:39710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVJPh-0003P4-Gw for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 16:09:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVJOL-0002iN-PM for emacs-devel@gnu.org; Tue, 28 Sep 2021 16:07:53 -0400 Original-Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:36557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVJOK-00060x-C5; Tue, 28 Sep 2021 16:07:53 -0400 Original-Received: by mail-pj1-x102c.google.com with SMTP id u1-20020a17090ae00100b0019ec31d3ba2so2529203pjy.1; Tue, 28 Sep 2021 13:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=9VYcGcjHw6RI/CuZ6fABUeWpBGMQx/u3mj8Mu8hi5dE=; b=HwJuL1C6NPm8wHMVHrqRrIZqRLzxKOXIDpTkYS3bo7iY82LUPupf+BmDljZlPQhg5c EgpY5sqeT4RbW5xnmY5ya5WPDqwPfFtkoRIa5spFTeLLKV2DEZsASoaKfbHDK3S+nJIW R3aoFYkipPtcxsFlU/byG2rXjo9VfUH6u4wUn1UYoKksfC8pyi/UMn/G9Jc9KXa1yaTg aUavjnQq+V4jTy4uoUROImfVmTp3YP0hOT4uCFvjWRY/x6fMbcg3UpIQ5sp+ZRTDVxIc tW7Wpa5hz1DFT6Eg9/B6OnKL9rV68OwOYsGe2kkXKxd8fy3h1ZYuZ137i8BUMo5nhItf Zhdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=9VYcGcjHw6RI/CuZ6fABUeWpBGMQx/u3mj8Mu8hi5dE=; b=IRTkmXXQyBjqBDxzUYbj1vqZPmYjLlf/jL2p/vQvfr7ipcAymY07X1uz/BCW7SMemW z8I4DWOaE/wSMTVROutDJLLmp/L6DcU8uhTQQxHJ36wRQZ2Y8ruCqOgsyAqNzKlNwbUv UtEeBhGzrogS8xuAmylC2p+DCHoccSib9pOVvfI8yk9DkxS5+N4E/uF5wWxi+tXotI0w B/8ZVBPlfan7Uo7W520p1f+zGjBC2dTqk5uC49btyr874guKtrySEH6ZOHP2e78YwY4B n6V4K3B6aBfvb35hx6GCo5OI4tzpkThTMY6U03xCLZZWWiEA73LZ9vx36fLnPKyTVggc ztbw== X-Gm-Message-State: AOAM531tRFLXVIvV5Aa316IZnMWvDGnKRYd9z1sI1PBrsH0DpIvaObug q22olaEArSJsQQSw/eVjYco+8h/De88dwiwos7MX2hrP X-Google-Smtp-Source: ABdhPJwrsbu8vA2IW2Gi7oIuxJrCsHe7lTmR1SNDn05VxAvJyqtoZ3HQaiyKXb9LGEjC9MdWKR5VhGMgO7a3wRX0Igs= X-Received: by 2002:a17:902:d505:b0:13e:b49:9d8d with SMTP id b5-20020a170902d50500b0013e0b499d8dmr6846693plg.22.1632859670428; Tue, 28 Sep 2021 13:07:50 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 28 Sep 2021 13:07:49 -0700 In-Reply-To: <87pmssqydp.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=stefankangas@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:275742 Archived-At: Tassilo Horn writes: > Consider that this only triggers if "foo" doesn't exist yet. In such a > case, filename completion won't suggest anything, especially no trailing > /. So it doesn't feel very likely that someone wants to rename a file > or directory ~/bar to "foo" and then specifies ~/foo/ (with trailing > slash) as the target by accident. That's true.