From: Emanuel Berg <moasenwood@zoho.eu>
To: help-gnu-emacs@gnu.org
Subject: Re: Saving files by subject in emacs
Date: Wed, 27 Feb 2019 22:49:04 +0100 [thread overview]
Message-ID: <86pnrcuckv.fsf@zoho.eu> (raw)
In-Reply-To: 15F8F192-510A-4FEB-971D-A725A97C30FB@icloud.com
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
next prev parent reply other threads:[~2019-02-27 21:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2019-02-27 22:15 ` [OFFTOPIC] " Stefan Monnier
2019-02-27 22:26 ` Emanuel Berg
2019-02-28 0:08 ` Van L
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=86pnrcuckv.fsf@zoho.eu \
--to=moasenwood@zoho.eu \
--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.