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

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

Re: writing and saving a text file


From: tomas
Subject: Re: writing and saving a text file
Date: Mon, 14 Nov 2016 13:14:27 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Nov 14, 2016 at 09:54:49AM -0200, Filipe Silva wrote:
> May I add a quick tip: C-x C-s is the equivalent of "save as...".

No. C-x C-s is "save buffer", which would just write the buffer
back to the *same file* you loaded the file from. Of course,
if the buffer is new and not yet associated to a file, it would
be the same...

If you want to state the path to save to (and that's hw I read
the original poster's request "save a file to a specified
directory", but I must admit it's not very clear to me), then
C-x C-w is your friend.

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlgpqqMACgkQBcgs9XrR2kZpewCffLapCg1MtVa6kdpFdbu4OwoJ
xF0An0KqfGzU/L4HBJ7jtCWrl3oQpvfc
=ev6T
-----END PGP SIGNATURE-----



reply via email to

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