From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63796 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: nnfolder and version-control Date: Wed, 04 Oct 2006 15:25:46 +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 1159969039 29714 80.91.229.2 (4 Oct 2006 13:37:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2006 13:37:19 +0000 (UTC) Cc: Henrik Enberg Original-X-From: ding-owner+m12323@lists.math.uh.edu Wed Oct 04 15:37:17 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 1GV6uk-0003HQ-RD for ding-account@gmane.org; Wed, 04 Oct 2006 15:35:59 +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 1GV6uX-0006cS-00; Wed, 04 Oct 2006 08:35:45 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GV6l7-0006cN-00 for ding@lists.math.uh.edu; Wed, 04 Oct 2006 08:26:01 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1GV6kz-0000yX-Oz for ding@lists.math.uh.edu; Wed, 04 Oct 2006 08:26:01 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GV6kt-0001vj-00 for ; Wed, 04 Oct 2006 15:25:47 +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.8/8.13.8) with ESMTP id k94DPk1M019645; Wed, 4 Oct 2006 15:25:47 +0200 (MEST) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 350121216A; Wed, 4 Oct 2006 15:25:46 +0200 (CEST) Original-To: ding@gnus.org X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Followup-To: ding@gnus.org, Henrik Enberg In-Reply-To: (Reiner Steib's message of "Mon\, 15 May 2006 18\:02\:01 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-DCC-EATSERVER-Metrics: gemini 1166; Body=2 Fuz1=2 Fuz2=2 X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63796 Archived-At: On Mon, May 15 2006, Reiner Steib wrote: > 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? I didn't see a reply from Henrik, so I cc-ed him now. > --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--- I have installed this patch now (trunk). >> 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/