From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Saving files by subject in emacs Date: Wed, 27 Feb 2019 22:49:04 +0100 Message-ID: <86pnrcuckv.fsf@zoho.eu> References: <15F8F192-510A-4FEB-971D-A725A97C30FB@icloud.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="79924"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 27 22:50:54 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz76M-000KbI-4U for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Feb 2019 22:50:54 +0100 Original-Received: from localhost ([127.0.0.1]:51187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz76K-00020u-Se for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Feb 2019 16:50:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz74s-0001JU-Th for help-gnu-emacs@gnu.org; Wed, 27 Feb 2019 16:49:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gz74q-0003Da-RS for help-gnu-emacs@gnu.org; Wed, 27 Feb 2019 16:49:21 -0500 Original-Received: from [195.159.176.226] (port=37696 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gz74p-000377-NG for help-gnu-emacs@gnu.org; Wed, 27 Feb 2019 16:49:19 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gz74h-000Il8-VB for help-gnu-emacs@gnu.org; Wed, 27 Feb 2019 22:49:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Cancel-Lock: sha1:j3ev9phzdi7ar9DZUAW5MV15Qwk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:119543 Archived-At: 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