From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: copying file from one dired buffer to another Date: Thu, 05 Jun 2008 11:55:59 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212684086 9808 80.91.229.12 (5 Jun 2008 16:41:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2008 16:41:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 05 18:41:59 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4IWy-00048n-4O for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2008 18:41:40 +0200 Original-Received: from localhost ([127.0.0.1]:44923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4IWB-0000A8-Il for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jun 2008 12:40:51 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: panix5.panix.com Original-X-Trace: reader2.panix.com 1212681364 14752 166.84.1.5 (5 Jun 2008 15:56:04 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Thu, 5 Jun 2008 15:56:04 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:3gXwoEtjKkduR3zSOAJ/2UKfNaY= Original-Xref: news.stanford.edu gnu.emacs.help:159127 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54477 Archived-At: ;;;====================================================================== ;;; Let dired guess the target directory ;; If another dired window is visible, use that as the target for ;; copy, move, etc (setq dired-dwim-target t) - Chris Terrence Brannon writes: > If I have marked two files in a dired buffer and then hit "C" to copy > the files, normally I have to specify the target path. > > But what if the only other buffer window is a dired buffer that is the > target directory? -- (. .) =ooO=(_)=Ooo===================================== Chris McMahan | first_initiallastname@one.dot.net =================================================