From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master 739593d 3/5: Make gnus-copy-file act like copy-file etc. Date: Wed, 13 Sep 2017 21:33:18 +0200 Message-ID: <87o9qecs1t.fsf@mouse.gnus.org> 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 X-Trace: blaine.gmane.org 1505331212 27019 195.159.176.226 (13 Sep 2017 19:33:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2017 19:33:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Katsumi Yamaoka Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 13 21:33: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 1dsDPa-0006ri-3T for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2017 21:33:26 +0200 Original-Received: from localhost ([::1]:44293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsDPh-0001Ju-Di for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2017 15:33:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsDPa-0001JZ-NX for emacs-devel@gnu.org; Wed, 13 Sep 2017 15:33:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsDPX-00010g-LO for emacs-devel@gnu.org; Wed, 13 Sep 2017 15:33:26 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:47062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsDPX-0000yf-Ej for emacs-devel@gnu.org; Wed, 13 Sep 2017 15:33:23 -0400 Original-Received: from cm-84.209.243.26.getinternet.no ([84.209.243.26] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dsDPS-00065D-LJ; Wed, 13 Sep 2017 21:33:20 +0200 In-Reply-To: (Katsumi Yamaoka's message of "Tue, 12 Sep 2017 08:14:02 +0900") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.91.224.195 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:218215 Archived-At: Katsumi Yamaoka writes: >> * 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? > > M-x gnus-copy-file RET ~/foo RET /tmp RET > => File already exists: /tmp Breaking this ages-old (and convenient) behaviour doesn't seem like a good idea to me either. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no