From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: bug in copy-directory Date: Mon, 14 Feb 2011 12:40:33 +0100 Message-ID: <87mxlyj13i.fsf@gmail.com> References: <87ipxaidea.fsf@gmail.com> <87d3n8xkeq.fsf@gmail.com> <878vxw6r4m.fsf@gmx.de> <87pqr790b0.fsf@gmail.com> <87oc6r7gjc.fsf@gmx.de> <87ipwz8t92.fsf@gmail.com> <878vxt69k7.fsf@stupidchicken.com> <874o8hbc9q.fsf@gmx.de> <87y65txele.fsf@gmail.com> <87tyghxdgx.fsf@gmail.com> <87wrl98adj.fsf@stupidchicken.com> <87k4h7at1c.fsf@gmail.com> <87fwrvkm3y.fsf@gmx.de> <871v3eucjw.fsf@gmail.com> <87tyga86p0.fsf@stupidchicken.com> <8762spspeb.fsf@gmail.com> <87zkq1m461.fsf@stupidchicken.com> <87lj1krk7y.fsf@gmail.com> <87hbc8x45i.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297683778 15355 80.91.229.12 (14 Feb 2011 11:42:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 11:42:58 +0000 (UTC) Cc: Michael Albinus , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 14 12:42:50 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PowpN-0006BI-UW for ged-emacs-devel@m.gmane.org; Mon, 14 Feb 2011 12:42:50 +0100 Original-Received: from localhost ([127.0.0.1]:50422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PowpN-000410-Aq for ged-emacs-devel@m.gmane.org; Mon, 14 Feb 2011 06:42:49 -0500 Original-Received: from [140.186.70.92] (port=54048 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PownR-0002pg-TG for emacs-devel@gnu.org; Mon, 14 Feb 2011 06:40:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PownM-0006ZT-O9 for emacs-devel@gnu.org; Mon, 14 Feb 2011 06:40:49 -0500 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:47382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PownM-0006ZK-IA for emacs-devel@gnu.org; Mon, 14 Feb 2011 06:40:44 -0500 Original-Received: by ywj3 with SMTP id 3so2256916ywj.0 for ; Mon, 14 Feb 2011 03:40:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=TqoUu4N7yVvnP5kMhgcF1aTQuCTxKAoW87TbZwRi820=; b=Ad4Wn/K9sasyZ+UxwanLGcDykT3p2qUtqjSSBKMvOS4OBj45UGXeO/ljldMSo4TCCp CsCe+DTHMBEWd2hOUUe6Zn6d8K7adYv/psS61KId0sn0izUiKASNUKuzUhWoLlsFWwSj 4PuTfvWZW0RyZllZV74uH4dsiamEKMSbGd9Nw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=MSvTi3FosT0ZicWJykwFtknZGb9VmBCMQNHkyRV/hj7b137MR30zNjJIuyQE0mznkZ XnZP0epCLRLMKuL+vGkm4vpS93DOXW4Kru/scit1HdmBtz89s9ZRN7yYKV1IkDPn71KR 8Sg6CFAYo8eRA5U+ymCNERQO+7HQAjPDW8IX4= Original-Received: by 10.150.68.27 with SMTP id q27mr4103275yba.420.1297683642733; Mon, 14 Feb 2011 03:40:42 -0800 (PST) Original-Received: from thierry-MM061 ([79.88.78.29]) by mx.google.com with ESMTPS id j3sm1486820ybe.23.2011.02.14.03.40.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 03:40:38 -0800 (PST) In-Reply-To: <87hbc8x45i.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 12 Feb 2011 17:46:17 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135995 Archived-At: Chong Yidong writes: > Thierry Volpiatto writes: > >>> 1. I didn't apply the change to dired-aux.el. It doesn't seem to do the >>> right thing. With that change patch, if I try to use the `C' command in >>> Dired, I get an error. >>> >>> mkdir ~/a >>> emacs ~/ >>> [move point to a] >>> C >>> ~/b RET => error. >> >> To be sure: >> b is a non--existing directory, right? > > Yep. Ok now it is fixed and applied on emacs, just a final note: The changes i made to dired-create-files could go to dired-copy-file, (not tested though) maybe they fit better there than in dired-create-files. It would be even simpler: (when (and (file-directory-p from) (file-directory-p to) (eq file-creator 'dired-copy-file)) <<<< can be removed (setq to (file-name-directory to))) -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997