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.devel Subject: Re: PR: dired-do-create-files now checks for trailing slashes in the target Date: Tue, 02 Nov 2021 17:15:22 +0200 Message-ID: <83pmrik2r9.fsf@gnu.org> References: <831r58k0cx.fsf@gnu.org> <87tui4qyni.fsf@gnu.org> <83tui4iift.fsf@gnu.org> <874ka43rp1.fsf@gnu.org> <83ee97il43.fsf@gnu.org> <87zgrv33mf.fsf@gnu.org> <838rzfijnj.fsf@gnu.org> <87r1d73312.fsf@gnu.org> <837deziiwz.fsf@gnu.org> <87ee97bgxt.fsf@gnus.org> <87fstn2ydc.fsf@gnu.org> <87bl4a7g2m.fsf@gnus.org> <87sfxmqwdr.fsf@gnu.org> <87bl4a2nng.fsf@gnus.org> <87lf3ew3k5.fsf@gnu.org> <83wnmyf3u3.fsf@gnu.org> <87h7e2vvrp.fsf@gnu.org> <83pmsqez1d.fsf@gnu.org> <87cznimxbd.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13818"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org, stefankangas@gmail.com, tsdh@gnu.org To: Rudi C Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 02 16:31:46 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 1mhvlK-0003PB-Nq for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Nov 2021 16:31:46 +0100 Original-Received: from localhost ([::1]:56726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhvlI-00041G-Nt for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Nov 2021 11:31:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhvVY-0008FK-Sa for emacs-devel@gnu.org; Tue, 02 Nov 2021 11:15:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhvVX-0006pt-IP; Tue, 02 Nov 2021 11:15:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OeNw4hiu0VLkpnsW3VGHeNd7cJoG+mPumNuWUKH47Zo=; b=TYbFit/KZ0iD Y2mCZ87B1LGpB50xr/ea+8tYvEDgH5kZKIsLXsZi8miIL/QRpBeLSZZ2vZTh/HMdUX14LPtfHmyDO 1Jn7FGj9Ss9Wit85sLhJbaLaVw8r7KS5teeP9lZFkC2hRDsk+BQTaSHV2ZkcsizPTOikG7rpYtfCK na+EgCxqnkue/NbJd7e139rHnt0hXdFPYWlAX3tq34WBdLTX8SIArQe9Cm5dX2DA3HPef3likQjaN YqbZhdVliUxiu6kOjcyKvhNGHlh4YmHauve4x93cZ+lBBUzuVOzyLALjZx+ai9t/s4e0FUGzuzw3b WG5SlY1YIwa1gkst3TvFVA==; Original-Received: from [87.69.77.57] (port=2198 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhvVW-0001An-U4; Tue, 02 Nov 2021 11:15:27 -0400 In-Reply-To: (message from Rudi C on Tue, 2 Nov 2021 18:38:08 +0330) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:278498 Archived-At: > From: Rudi C > Date: Tue, 2 Nov 2021 18:38:08 +0330 > Cc: Eli Zaretskii , Tassilo Horn , Stefan Kangas , > emacs-devel@gnu.org > > +(defcustom dired-create-destination-dirs-trailing-separator-special nil This variable's name is a mouthful; please let's find a shorter name. > + "If t, when selecting a single destination in Dired, paths that end in a path separator will be treated as a non-existent directory, and acted on according to `dired-create-destination-dirs'. > + > +This option is only relevant if `dired-create-destination-dirs' is not `nil', and you are moving/copying a single directory. > + > +For example, when renaming a directory named `old_name' to `new_name/' (note the trailing path separator), `new_name' might be created depending on `dired-create-destination-dirs' and `old_name' will be moved into it if it is created; Otherwise `old_name' will be directly renamed to `new_name'." > + :type '(choice (const :tag "Do not treat paths with a trailing path separator specially" nil) These lines are too long; please divide them into shorter lines.