* auto-save-file-name-transforms: When is it applied?
@ 2012-03-10 7:32 XeCycle
0 siblings, 0 replies; only message in thread
From: XeCycle @ 2012-03-10 7:32 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 715 bytes --]
Hello,
I don't like the default auto-save file name, since it doesn't
start with a period `.'. So I modified this variable:
(add-to-list 'auto-save-file-name-transforms
'("\\`\\(.*\\)/\\([^/]*\\)\\'" "\\1/.\\2" nil))
However, for a file like ~/sdf, the auto save file name became
~/#.sdf#. Seems the transform is done before prepending and
appending #. I remember some time ago, with some other
customization, the name can be like .#sdf#, but I lost that
configuration. How can I change that?
Thank you.
--
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-10 7:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-10 7:32 auto-save-file-name-transforms: When is it applied? XeCycle
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).