From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: master 739593d 3/5: Make gnus-copy-file act like copy-file etc. Date: Mon, 11 Sep 2017 22:12:03 -0400 Message-ID: References: <20170911053128.28763.28434@vcs0.savannah.gnu.org> <20170911053130.C5F002068F@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1505182353 13654 195.159.176.226 (12 Sep 2017 02:12:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2017 02:12:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 To: Katsumi Yamaoka , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 12 04:12:26 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dragS-0002hR-18 for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 04:12:16 +0200 Original-Received: from localhost ([::1]:33183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dragZ-0001MF-3b for ged-emacs-devel@m.gmane.org; Mon, 11 Sep 2017 22:12:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dragP-0001LI-H3 for emacs-devel@gnu.org; Mon, 11 Sep 2017 22:12:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dragK-0007zY-IA for emacs-devel@gnu.org; Mon, 11 Sep 2017 22:12:13 -0400 Original-Received: from limerock02.mail.cornell.edu ([128.84.13.242]:50556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dragK-0007yH-DZ for emacs-devel@gnu.org; Mon, 11 Sep 2017 22:12:08 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v8C2C5ge009986; Mon, 11 Sep 2017 22:12:05 -0400 Original-Received: from [192.168.0.15] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v8C2C3QO032228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 11 Sep 2017 22:12:04 -0400 In-Reply-To: Content-Language: en-US X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 128.84.13.242 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218105 Archived-At: On 9/11/2017 7:14 PM, Katsumi Yamaoka wrote: > On Mon, 11 Sep 2017 01:31:30 -0400, Paul Eggert wrote: >> branch: master >> commit 739593d68742f45e4e35dfc99573c47a5031b646 >> Author: Paul Eggert >> Commit: Paul Eggert > >> Make gnus-copy-file act like copy-file etc. > >> * etc/NEWS: Mention this. >> * lisp/gnus/gnus-util.el (gnus-copy-file): Treat the destination >> as special only if it is a directory name. > > Er, isn't it necessary to make `copy-file' allow a destination > directory for the second argument NEWNAME? It has to be a directory name, not just a directory. See etc/NEWS, "** Several functions that create or rename files now treat their...". > M-x gnus-copy-file RET ~/foo RET /tmp RET > => File already exists: /tmp Try /tmp/ instead of /tmp. Ken