From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13545 Path: main.gmane.org!not-for-mail From: Scott Byer Newsgroups: gmane.emacs.gnus.general Subject: Re: getting rid of ~ backup files (archive/nnfolder) Date: 09 Jan 1998 09:14:24 -0800 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152891 9784 80.91.224.250 (20 Oct 2002 22:28:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:28:11 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id KAA12617 for ; Fri, 9 Jan 1998 10:46:44 -0800 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA05163 for ; Fri, 9 Jan 1998 12:49:43 -0600 (CST) Original-Received: from smtp-relay-2.Adobe.COM (smtp-relay-2.adobe.com [192.150.11.2]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id SAA25486 for ; Fri, 9 Jan 1998 18:15:07 +0100 (MET) Original-Received: by smtp-relay-2.Adobe.COM (8.8.6) with ESMTP id JAA23587; Fri, 9 Jan 1998 09:16:43 -0800 (PST) Original-Received: by inner-relay-1.Adobe.COM (8.8.5) with ESMTP id JAA25270; Fri, 9 Jan 1998 09:14:26 -0800 (PST) Original-Received: by elroy.corp.Adobe.COM (8.7.5) with SMTP id JAA23270; Fri, 9 Jan 1998 09:14:25 -0800 (PST) Original-To: ding@ifi.uio.no In-Reply-To: 's message of "09 Jan 1998 16:29:27 +0200" Original-Lines: 33 X-Mailer: Gnus v5.4.66/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:13545 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13545 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.