From: bojohan+news@dd.chalmers.se (Johan Bockgård)
Subject: Re: auto-saving in other directory
Date: Thu, 27 Nov 2003 23:20:43 +0100 [thread overview]
Message-ID: <yoijbrqxv4g4.fsf@frealaf.dd.chalmers.se> (raw)
In-Reply-To: m3ptfe5dbm.fsf@defun.localdomain
Jesper Harder <harder@myrealbox.com> writes:
> "leo" <halloleo@noospaam.myrealbox.com> writes:
>
>> for backup files (like "filename.~1~) i can easily tell emacs to
>> create them in its own subdirectory via backup-directory-alist.
>>
>> regarding auto-saving files (like "#filename#") this mechanism
>> doesn't exist.
>
> I think you should be able to do it by customizing
> `auto-save-file-name-transforms'.
I thought so too, but I have found this as well (also mentioned in the
Emacs manual):
,----[ C-h f make-auto-save-file-name RET ]
| make-auto-save-file-name is a compiled Lisp function in `files'.
| (make-auto-save-file-name)
|
| Return file name to use for auto-saves of current buffer. Does not
| consider `auto-save-visited-file-name' as that variable is checked
| before calling this function. You can redefine this for
| customization. See also `auto-save-file-name-p'.
`----
--
Johan Bockgård
next prev parent reply other threads:[~2003-11-27 22:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-27 2:49 auto-saving in other directory leo
2003-11-27 10:13 ` Jesper Harder
2003-11-27 22:20 ` Johan Bockgård [this message]
2003-11-28 3:47 ` leo
2003-11-27 19:42 ` sebyte
2003-11-28 3:50 ` leo
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yoijbrqxv4g4.fsf@frealaf.dd.chalmers.se \
--to=bojohan+news@dd.chalmers.se \
/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.
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).