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

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

Re: [h-e-w] Save as?


From: Francis Litterio
Subject: Re: [h-e-w] Save as?
Date: Thu, 01 May 2003 20:57:59 -0400
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-msvc-nt5.0.2195)

Ken Goldman wrote:

> I use (C-x C-w) write-file, a lot, and as the docs say:
>
> "This makes the buffer visit that file, and marks it as not modified."
>
> I think what we're looking for is a single command that writes the
> buffer with a new file name, but doesn't change the currently visited
> buffer.

This is what I do:

        (define-key global-map (kbd "M-C-w") 'write-region)

Then I type:

        C-x h M-C-w newfilename RET

Of course, a function could be written to reduce the number of
keystrokes significantly.
--
Francis Litterio
address@hidden
http://world.std.com/~franl/
GPG and PGP public keys available on keyservers.






reply via email to

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