* Saving files by subject in emacs
@ 2019-02-27 19:28 M. P.
2019-02-27 20:53 ` Drew Adams
2019-02-27 21:49 ` Emanuel Berg
0 siblings, 2 replies; 6+ messages in thread
From: M. P. @ 2019-02-27 19:28 UTC (permalink / raw)
To: help-gnu-emacs
I am on a Mac and want to save emacs files to a specific folders by subject. How do I do this?
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Saving files by subject in emacs
2019-02-27 19:28 Saving files by subject in emacs M. P.
@ 2019-02-27 20:53 ` Drew Adams
2019-02-27 21:49 ` Emanuel Berg
1 sibling, 0 replies; 6+ messages in thread
From: Drew Adams @ 2019-02-27 20:53 UTC (permalink / raw)
To: M. P., help-gnu-emacs
> I am on a Mac and want to save emacs files to a specific folders by
> subject. How do I do this?
Define "by subject". Where is the subject of a file
specified?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Saving files by subject in emacs
2019-02-27 19:28 Saving files by subject in emacs M. P.
2019-02-27 20:53 ` Drew Adams
@ 2019-02-27 21:49 ` Emanuel Berg
2019-02-27 22:15 ` [OFFTOPIC] " Stefan Monnier
1 sibling, 1 reply; 6+ messages in thread
From: Emanuel Berg @ 2019-02-27 21:49 UTC (permalink / raw)
To: help-gnu-emacs
M. P. wrote:
> I am on a Mac and want to save emacs files to
> a specific folders by subject. How do
> I do this?
You just create the directory (folder) the way
you normally do [1] and when you later save
a buffer's contents (basically what you see on
the screen) to a file, type the path to the
desired dir as the file's destination.
So if you create a dir ~/girls/kate-moss/ and
have a file katie-1.txt, in that buffer, do
`C-x C-w' (`write-file') if the file at that
point is in another dir, and specify the
new, correct path.
Note that the old file is still around in its
original place, and this can be the cause of
some confusion later on when you get tired and
don't realize what file you are editing. So you
can also choose to *move* the file, for example
using Dired, an Emacs mode for all interactions
with the filesystem (= your files and dirs).
Or just remove the original file, of course,
which also Dired can do for you.
If you start a brand new file, do `C-x C-f'
(`find-file') and place it in the correct dir
to begin with, and give it a proper
"subject" name.
[1] This can also be done from Emacs BTW which
you will prefer soon enough, God willing :)
--
underground experts united
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-02-28 0:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-27 19:28 Saving files by subject in emacs M. P.
2019-02-27 20:53 ` Drew Adams
2019-02-27 21:49 ` Emanuel Berg
2019-02-27 22:15 ` [OFFTOPIC] " Stefan Monnier
2019-02-27 22:26 ` Emanuel Berg
2019-02-28 0:08 ` Van L
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).