From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28520: bug#28483: 26.0.50; copy-directory does not create directories Date: Wed, 20 Sep 2017 22:54:26 +0300 Message-ID: <837ewtf8nh.fsf@gnu.org> References: <972c8b3c-f72d-d447-78b3-cc7fcf6234e5@cs.ucla.edu> <83mv5pfw5b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505937315 847 195.159.176.226 (20 Sep 2017 19:55:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2017 19:55:15 +0000 (UTC) Cc: 28483@debbugs.gnu.org, plaice.adam+lists@gmail.com, 28520@debbugs.gnu.org, aaronjensen@gmail.com, tino.calancha@gmail.com To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 20 21:55:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dul5P-0008CZ-5G for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Sep 2017 21:55:07 +0200 Original-Received: from localhost ([::1]:50407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dul5V-000872-BM for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Sep 2017 15:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dul5L-000854-RO for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2017 15:55:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dul5K-0004mG-Jh for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2017 15:55:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41848) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dul5K-0004l8-GI for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2017 15:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dul5J-0002cf-Sl for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2017 15:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Sep 2017 19:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28520 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 28520-submit@debbugs.gnu.org id=B28520.150593729610067 (code B ref 28520); Wed, 20 Sep 2017 19:55:01 +0000 Original-Received: (at 28520) by debbugs.gnu.org; 20 Sep 2017 19:54:56 +0000 Original-Received: from localhost ([127.0.0.1]:50529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dul5E-0002cJ-5f for submit@debbugs.gnu.org; Wed, 20 Sep 2017 15:54:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dul5C-0002c6-Tp for 28520@debbugs.gnu.org; Wed, 20 Sep 2017 15:54:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dul53-0004RV-4p for 28520@debbugs.gnu.org; Wed, 20 Sep 2017 15:54:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dul4s-0004Gj-Rx; Wed, 20 Sep 2017 15:54:34 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3848 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dul4s-0003jW-Ai; Wed, 20 Sep 2017 15:54:34 -0400 In-reply-to: (message from Paul Eggert on Wed, 20 Sep 2017 11:59:37 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137189 Archived-At: > Cc: 28483@debbugs.gnu.org, aaronjensen@gmail.com, 28520-done@debbugs.gnu.org, > Adam Plaice , > Tino Calancha > From: Paul Eggert > Date: Wed, 20 Sep 2017 11:59:37 -0700 > > Thanks for diagnosing the problem and for the fix. That fix should work, > and I think we can improve on it slightly by using (copy-directory file > target keep-time parents t), as this makes the cond branch more parallel > with the other alternatives and avoids a call to file-name-as-directory. > So I installed the attached patch into the emacs-26 branch to do that, > and to add a test case for this bug. Thanks, works for me.