From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: renaming current file and buffer Date: Wed, 1 Feb 2006 01:11:37 +0000 (UTC) Organization: Public Access Networks Corp. Message-ID: References: <87u0cmclgy.fsf@hans.local.net> <5570BCBD-0DE9-4297-841D-63A3C37698D8@Web.DE> <87aceckdnm.fsf@hans.local.net> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1138756539 15070 80.91.229.2 (1 Feb 2006 01:15:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 01:15:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 01 02:15:33 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 1F46aj-0001dz-1K for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Feb 2006 02:15:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F46bu-0004RK-Be for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jan 2006 20:16:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader2.panix.com 1138756297 15430 166.84.1.2 (1 Feb 2006 01:11:37 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 1 Feb 2006 01:11:37 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: shelby.stanford.edu gnu.emacs.help:137314 Original-To: help-gnu-emacs@gnu.org 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:32937 Archived-At: In article , 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! >> >> It's not working for me when I previously have opened the file with >> 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) > >-- >Mit friedvollen Grüßen > > Pete > >Es geht nix über eine elektrische Klobürste! > > > What does that do? dired-dwim-target-directory is a compiled Lisp function in `dired-aux'. (dired-dwim-target-directory) Not documented. [back] Thanks, David