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

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

Re: How to modify 'write-file'


From: richard.christensen
Subject: Re: How to modify 'write-file'
Date: Tue, 04 May 2010 15:44:20 -0000
User-agent: G2/1.0

Thanks.  A friend of mine suggested using Dired as well.  Your
approach is more complete.  I really should get more familiar with it
and use it more.

richard

On Apr 10, 12:19 pm, Andreas Politz <poli...@fh-trier.de> wrote:
> "richard.christensen" <richard.christen...@avagotech.com> writes:
> > Hi,  I write and modify many files with long names in which I need to
> > save the changed file to a similar name as the original but with a few
> > letters or numbers changed. A useful modification to write-file would
> > be to have the current file name to be placed in the minibuffer along
> > with the path when write-file is called. Then modifying the name would
> > be simple.  How would I do this?  Ideas?
>
> > Richard.
>
> I would use dired for this.  First create a dired buffer with the files,
> or a superset it, with `dired', `find-dired' or some other incarnation.
>
> Then
> M-x wdired-change-to-dired-mode RET
> and it let's you edit the file-names, after which you press `C-c C-c'
> and commit the changes to the filesystem.
>
> -ap



reply via email to

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