How I solved the problem: As background, my mail is kept in mail/
under my home directory /home/ylee. I created mail/backups/ and added
to ~/.vm

(setq backup-directory-alist '(("/home/.*/mail/.*" . "backups/"))

Now all backup files for files in any mail/ directory in the /home
hierarchy go into backups/ relative to mail/ , while other ~ files
continue to be created in the same directory as the original.

I see a potential issue with the above affecting files in another
directory called mail/ located elsewhere (say testproject/mail/), but
don't know enough regexp to know whether this can be avoided.


_______________________________________________
Mairix-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mairix-users

Reply via email to