From: tomas@tuxteam.de
To: Filipe Silva <filipe.silva@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: writing and saving a text file
Date: Mon, 14 Nov 2016 13:14:27 +0100 [thread overview]
Message-ID: <20161114121427.GA9298@tuxteam.de> (raw)
In-Reply-To: <CAEwkUWMkmqSACQ44PYZRkJHpkBbZsf+aaRg=dS2rnPhMvqk9BQ@mail.gmail.com>
-----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-----
next prev parent reply other threads:[~2016-11-14 12:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-14 2:25 writing and saving a text file Matthew Pritchard
2016-11-14 9:20 ` tomas
2016-11-14 11:54 ` Filipe Silva
2016-11-14 12:13 ` Kaushal Modi
2016-11-14 12:14 ` tomas [this message]
2016-11-14 16:30 ` Filipe Silva
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=20161114121427.GA9298@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=filipe.silva@gmail.com \
--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.