all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: renaming current file and buffer
Date: Wed, 1 Feb 2006 10:20:12 +0100	[thread overview]
Message-ID: <87FC5E69-1EC9-4FC1-B5BF-9315329CB84F@Web.DE> (raw)
In-Reply-To: <drp1s8$f26$1@reader2.panix.com>


Am 01.02.2006 um 02:11 schrieb David Combs:

> In article <mailman.21367.1136381051.20277.help-gnu-emacs@gnu.org>,
> 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!
>>>
>>> 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]
>
>

Is this better?

	dired-dwim-target is a variable defined in `dired.el'.
	Its value is t
	
	Documentation:
	*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.
	
	The target is used in the prompt for file copy, rename etc.
	
	You can customize this variable.


'dwim' stands for 'do what I mean.'

--
Greetings

   Pete

Eat the rich -- the poor are tough and stringy.

  reply	other threads:[~2006-02-01  9:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-02 22:29 renaming current file and buffer Dieter Wilhelm
2006-01-03  3:37 ` Ian Zimmerman
2006-01-03 10:16   ` Dieter Wilhelm
2006-01-03 20:39     ` Peter Dyballa
2006-01-03 23:51       ` Dieter Wilhelm
2006-01-03 23:58         ` Peter Dyballa
2006-01-04  1:03           ` Dieter Wilhelm
2006-01-04 11:23             ` Peter Dyballa
     [not found]             ` <mailman.21367.1136381051.20277.help-gnu-emacs@gnu.org>
2006-02-01  1:11               ` David Combs
2006-02-01  9:20                 ` Peter Dyballa [this message]
2006-02-11 12:32                   ` Dieter Wilhelm
     [not found]                 ` <mailman.488.1138786073.3044.help-gnu-emacs@gnu.org>
2006-02-09  6:40                   ` David Combs
2006-01-04  0:03     ` Ian Zimmerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87FC5E69-1EC9-4FC1-B5BF-9315329CB84F@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.