help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: renaming current file and buffer


From: Dieter Wilhelm
Subject: Re: renaming current file and buffer
Date: Sat, 11 Feb 2006 13:32:39 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 01.02.2006 um 02:11 schrieb David Combs:
>> Peter Dyballa  <Peter_Dyballa@Web.DE> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]