From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: renaming current file and buffer Date: Sat, 11 Feb 2006 13:32:39 +0100 Message-ID: <87accyjct4.fsf@hans.local.net> References: <87u0cmclgy.fsf@hans.local.net> <5570BCBD-0DE9-4297-841D-63A3C37698D8@Web.DE> <87aceckdnm.fsf@hans.local.net> <87FC5E69-1EC9-4FC1-B5BF-9315329CB84F@Web.DE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139693308 11404 80.91.229.2 (11 Feb 2006 21:28:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2006 21:28:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 11 22:28:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F82I3-0005nN-V0 for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Feb 2006 22:28:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F824Z-0004P7-I4 for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Feb 2006 16:14:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F814q-0007Wn-Eg for help-gnu-emacs@gnu.org; Sat, 11 Feb 2006 15:10:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F80Rv-0002Vy-Ko for help-gnu-emacs@gnu.org; Sat, 11 Feb 2006 14:30:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F80KP-0008HT-MV for help-gnu-emacs@gnu.org; Sat, 11 Feb 2006 14:22:41 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F7u0f-0001uK-MO for help-gnu-emacs@gnu.org; Sat, 11 Feb 2006 07:37:53 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F7twS-0006aM-Hz for help-gnu-emacs@gnu.org; Sat, 11 Feb 2006 13:33:34 +0100 Original-Received: from p54a70de3.dip0.t-ipconnect.de ([84.167.13.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Feb 2006 13:33:32 +0100 Original-Received: from dieter by p54a70de3.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Feb 2006 13:33:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a70de3.dip0.t-ipconnect.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:B1OIECEZAhbia130QBuZjBtt6ro= 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:33147 Archived-At: Peter Dyballa writes: > Am 01.02.2006 um 02:11 schrieb David Combs: >> Peter Dyballa wrote: >>> Am 04.01.2006 um 02:03 schrieb Dieter Wilhelm: >>> >>>>> Just type C-x d in the buffer whose file name you want to >>>>> rename. It >>>>> will position the cursor in dired on that file! >>>> C-x C-f. Only when the file at some stage have had the focus in >>>> dired >>> >>> Could be this customisation helps: >>> >>> '(dired-dwim-target t) No, unfortunately not. the only way I got the intended effect is with this extension from dired-x (define-key global-map "\C-x\C-j" 'dired-jump) > *If non-nil, Dired tries to guess a default target directory. > This means: if there is a dired buffer displayed in the next window, > use its current subdir, instead of the current subdir of this > dired buffer. > 'dwim' stands for 'do what I mean.' But this is also a great alleviation, reminds me a bit of the midnight commander! Thanks a lot Dieter -- Best wishes Dieter Wilhelm