all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* writing and saving a text file
@ 2016-11-14  2:25 Matthew Pritchard
  2016-11-14  9:20 ` tomas
  0 siblings, 1 reply; 6+ messages in thread
From: Matthew Pritchard @ 2016-11-14  2:25 UTC (permalink / raw
  To: help-gnu-emacs

How do edit and save a file to a specified directory?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: writing and saving a text file
  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
  0 siblings, 1 reply; 6+ messages in thread
From: tomas @ 2016-11-14  9:20 UTC (permalink / raw
  To: help-gnu-emacs

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

On Sun, Nov 13, 2016 at 06:25:22PM -0800, Matthew Pritchard wrote:
> How do edit and save a file to a specified directory?

Either via the menu "File -> Save As..." or with the key combination
"C-x C-w" (remember as "write to file".

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

iEYEARECAAYFAlgpgfUACgkQBcgs9XrR2kYXcgCdEOQpl8A6zS9oaIYiLEfo7WG6
QcQAn1kKGZ8oQTm1kQ2JkwNJ+Ye7TV6Y
=V1vk
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: writing and saving a text file
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Filipe Silva @ 2016-11-14 11:54 UTC (permalink / raw
  To: tomas; +Cc: help-gnu-emacs

May I add a quick tip: C-x C-s is the equivalent of "save as...".


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

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sun, Nov 13, 2016 at 06:25:22PM -0800, Matthew Pritchard wrote:
> > How do edit and save a file to a specified directory?
>
> Either via the menu "File -> Save As..." or with the key combination
> "C-x C-w" (remember as "write to file".
>
> regards
> - -- t
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlgpgfUACgkQBcgs9XrR2kYXcgCdEOQpl8A6zS9oaIYiLEfo7WG6
> QcQAn1kKGZ8oQTm1kQ2JkwNJ+Ye7TV6Y
> =V1vk
> -----END PGP SIGNATURE-----
>
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: writing and saving a text file
  2016-11-14 11:54   ` Filipe Silva
@ 2016-11-14 12:13     ` Kaushal Modi
  2016-11-14 12:14     ` tomas
  1 sibling, 0 replies; 6+ messages in thread
From: Kaushal Modi @ 2016-11-14 12:13 UTC (permalink / raw
  To: Filipe Silva, tomas; +Cc: help-gnu-emacs

Didn't you mean C-x C-w (as the "'save-as" equivalent) ?

C-x C-s saves the current buffer.

On Mon, Nov 14, 2016, 6:55 AM Filipe Silva <filipe.silva@gmail.com> wrote:

> May I add a quick tip: C-x C-s is the equivalent of "save as...".
>
-- 

Kaushal Modi


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: writing and saving a text file
  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
  1 sibling, 1 reply; 6+ messages in thread
From: tomas @ 2016-11-14 12:14 UTC (permalink / raw
  To: Filipe Silva; +Cc: help-gnu-emacs

-----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-----



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: writing and saving a text file
  2016-11-14 12:14     ` tomas
@ 2016-11-14 16:30       ` Filipe Silva
  0 siblings, 0 replies; 6+ messages in thread
From: Filipe Silva @ 2016-11-14 16:30 UTC (permalink / raw
  To: tomas; +Cc: help-gnu-emacs

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-----
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-14 16:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.