all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Filipe Silva <filipe.silva@gmail.com>
To: tomas@tuxteam.de
Cc: help-gnu-emacs@gnu.org
Subject: Re: writing and saving a text file
Date: Mon, 14 Nov 2016 14:30:14 -0200	[thread overview]
Message-ID: <CAEwkUWNOy5kEk0+tkfBdWkOGCZff-NE=hVa8bEch+YUEWpZgFQ@mail.gmail.com> (raw)
In-Reply-To: <20161114121427.GA9298@tuxteam.de>

Yes, sorry for the confusion.

On Mon, Nov 14, 2016 at 10:14 AM, <tomas@tuxteam.de> wrote:

> -----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	other threads:[~2016-11-14 16:30 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
2016-11-14 16:30       ` Filipe Silva [this message]

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='CAEwkUWNOy5kEk0+tkfBdWkOGCZff-NE=hVa8bEch+YUEWpZgFQ@mail.gmail.com' \
    --to=filipe.silva@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tomas@tuxteam.de \
    /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.