From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: writing and saving a text file Date: Mon, 14 Nov 2016 13:14:27 +0100 Message-ID: <20161114121427.GA9298@tuxteam.de> References: <33D94E5E-A6BA-4A20-9A9B-DC33ABB86634@icloud.com> <20161114092053.GC4237@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1479125756 30458 195.159.176.226 (14 Nov 2016 12:15:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2016 12:15:56 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: help-gnu-emacs@gnu.org To: Filipe Silva Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 14 13:15:52 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6GAE-0002dM-2f for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Nov 2016 13:15:06 +0100 Original-Received: from localhost ([::1]:39464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6GAH-0001VP-4I for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Nov 2016 07:15:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6G9j-0001UX-4W for help-gnu-emacs@gnu.org; Mon, 14 Nov 2016 07:14:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6G9f-0005XX-Vs for help-gnu-emacs@gnu.org; Mon, 14 Nov 2016 07:14:35 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:35594 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c6G9f-0005V5-QA for help-gnu-emacs@gnu.org; Mon, 14 Nov 2016 07:14:31 -0500 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1c6G9b-0002SS-QM; Mon, 14 Nov 2016 13:14:27 +0100 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111724 Archived-At: -----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-----