From: Scott Byer <byer@Adobe.COM>
Subject: Re: getting rid of ~ backup files (archive/nnfolder)
Date: 09 Jan 1998 09:14:24 -0800 [thread overview]
Message-ID: <uyb0py3gv.fsf@corp.adobe.com> (raw)
In-Reply-To: 's message of "09 Jan 1998 16:29:27 +0200"
jari aalto writes:
jari> Hi,
jari> Were there an option in recent ding that prevented creating
jari> the archive and nnfolder backup files, they are really annoying. I
jari> prefer backups everywhere else but not for mailbox files. (I have cron
jari> gzip for them)
jari> If not, what's the code to prevent them?
jari> jari
Here's what I use:
(defvar backup-skip
"\\(^/Dev/\\)\\|\\(^/tmp/\\)\\|/Mailboxes/\\|/News/\\|newsrc"
"A regular expression to match against each file name. If the file name
being tested for backupability matches, don't back it up.")
(defun backup-prevent-check (file)
(not (string-match backup-skip file)))
(setq backup-enable-predicate 'backup-prevent-check)
--
Scott Byer, Computer Scientist mailto:byer@adobe.com
Adobe Systems Incorporated, Mailstop W10 These are my opinions, and
345 Park Avenue do not necessarily reflect
San Jose, CA 95110-9704 the opinions of my employer.
prev parent reply other threads:[~1998-01-09 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-09 14:29 jari.aalto
1998-01-09 17:14 ` Scott Byer [this message]
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=uyb0py3gv.fsf@corp.adobe.com \
--to=byer@adobe.com \
/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 NNTP newsgroup(s).