From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63202 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: nnfolder and version-control Date: Mon, 15 May 2006 18:02:01 +0200 Message-ID: References: <87br6jcx63.fsf@rocksteady.printf.se> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147709111 25505 80.91.229.2 (15 May 2006 16:05:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 May 2006 16:05:11 +0000 (UTC) Original-X-From: ding-owner+m11729@lists.math.uh.edu Mon May 15 18:05:09 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FffYx-0004mY-Ee for ding-account@gmane.org; Mon, 15 May 2006 18:04:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FffYs-0000ri-00; Mon, 15 May 2006 11:04:46 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FffWN-0000rc-00 for ding@lists.math.uh.edu; Mon, 15 May 2006 11:02:11 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FffWG-0006xS-F8 for ding@lists.math.uh.edu; Mon, 15 May 2006 11:02:11 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FffWF-0006zd-00 for ; Mon, 15 May 2006 18:02:03 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.6/8.13.6) with ESMTP id k4FG223K027476 for ; Mon, 15 May 2006 18:02:02 +0200 (MEST) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id E697511A11; Mon, 15 May 2006 18:02:01 +0200 (CEST) Original-To: ding@gnus.org X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB;kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od (Lars Magne Ingebrigtsen's message of "Fri, 14 Apr 2006 15:17:44 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-DCC-EATSERVER-Metrics: gemini 1166; Body=1 Fuz1=1 Fuz2=1 X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63202 Archived-At: On Fri, Apr 14 2006, Lars Magne Ingebrigtsen wrote: > Henrik Enberg writes: > >> I recently switched to a nnfolder backend for some archive groups, and >> now I notice that I have lotsa foo.~n~ files that are quite large. Rmail >> sets version-control to 'never, maybe gnus should do the same for such >> files. > > Hm... good point. Henrik, could you try the following patch and report back? --8<---------------cut here---------------start------------->8--- --- nnheader.el 08 Feb 2006 13:32:50 +0100 7.20 +++ nnheader.el 15 May 2006 17:53:24 +0200 @@ -980,6 +980,7 @@ (after-insert-file-functions nil) (enable-local-eval nil) (coding-system-for-read nnheader-file-coding-system) + (version-control 'never) (ffh (if (boundp 'find-file-hook) 'find-file-hook 'find-file-hooks)) --8<---------------cut here---------------end--------------->8--- > Any opinions? If we disable `version-control' for nnfolder, we should probably do the same for nnmbox and nnbabyl, so I'd bind it in `nnheader-find-file-noselect'. I'm not sure about all occurrences of `nnheader-find-file-noselect', though: --8<---------------cut here---------------start------------->8--- -*- mode: grep; default-directory: "~/src/links/plain_No/lisp/" -*- Grep started at Mon May 15 17:49:51 grep -nH -e nnheader-find-file-noselect *.el gnus-soup.el:220: (let* ((msg-buf (nnheader-find-file-noselect gnus-soup.el:224: (nnheader-find-file-noselect gnus-soup.el:378: (set-buffer (nnheader-find-file-noselect file 'force)) gnus-soup.el:401: (set-buffer (nnheader-find-file-noselect file)) gnus-soup.el:516: (nnheader-find-file-noselect msg-file))) gnus-start.el:593: (set-buffer (nnheader-find-file-noselect gnus-current-startup-file)) gnus-start.el:2262: (set-buffer (nnheader-find-file-noselect newsrc-file)) nnbabyl.el:586: (nnheader-find-file-noselect nnfolder.el:877: (nnheader-find-file-noselect file t))))) nnheader.el:973:(defun nnheader-find-file-noselect (&rest args) nnmbox.el:625: (nnheader-find-file-noselect Grep finished (matches found) at Mon May 15 17:49:51 --8<---------------cut here---------------end--------------->8--- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/