From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12673 Path: main.gmane.org!not-for-mail From: "St. Suika Roberts" Newsgroups: gmane.emacs.gnus.general Subject: automagicly compressed nnml files Date: 24 Oct 1997 15:01:43 -0600 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152168 5083 80.91.224.250 (20 Oct 2002 22:16:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:16:08 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.7) with ESMTP id QAA10263 for ; Fri, 24 Oct 1997 16:14:30 -0700 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA19608 for ; Fri, 24 Oct 1997 18:16:06 -0500 (CDT) Original-Received: from tvi.cc.nm.us (kitty@ppp-093.unm.edu [129.24.14.93]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with ESMTP id AAA17750 for ; Sat, 25 Oct 1997 00:01:32 +0200 (MET DST) Original-Received: (from kitty@localhost) by tvi.cc.nm.us (8.8.0/8.8.0) id RAA13400; Fri, 24 Oct 1997 17:07:21 -0500 Original-To: ding@ifi.uio.no X-Mailer: Quassia Gnus v0.12/Emacs 20.2 Original-Xref: misa.genom.com queue:1 Original-Lines: 67 Xref: main.gmane.org gmane.emacs.gnus.general:12673 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12673 I've been using this for a while now, and I haven't lost any mail since I finished coding it, so I thought I'd mail it in. It adds one variable, nnmail-article-file-suffix, which is appended to the nnml-generated filename. If one has autocompression working, this will automagicly (de)compress one's mail, if one sets it to ".gz" Thanks, Suika (I had to diff off of rgnus, so I ended up lopping out several other changes. I hope these patches still work.) -- wroberts@tvi.cc.nm.us Whenever people agree with me I always feel I must be wrong. --Oscar Wilde Suika no homepage ------------------------------ cut here ------------------------------ --- rgnus/lisp/nnml.el Mon Aug 25 18:08:22 1997 +++ qgnus/lisp/nnml.el Tue Oct 7 17:18:54 1997 @@ -342,7 +354,7 @@ (set-buffer buffer) (nnml-possibly-create-directory group) (let ((chars (nnmail-insert-lines)) - (art (concat (int-to-string article) "\t")) + (art (concat (int-to-string article) nnmail-article-file-suffix "\t")) headers) (when (condition-case () (progn @@ -350,7 +362,7 @@ (point-min) (point-max) (or (nnml-article-to-file article) (concat nnml-current-directory - (int-to-string article))) + (int-to-string article) nnmail-article-file-suffix)) nil (if (nnheader-be-verbose 5) nil 'nomesg)) t) (error nil)) @@ -583,7 +600,8 @@ (nnml-possibly-create-directory (caar ga)) (let ((file (concat (nnmail-group-pathname (caar ga) nnml-directory) - (int-to-string (cdar ga))))) + (int-to-string (cdar ga)) + nnmail-article-file-suffix))) (if first ;; It was already saved, so we just make a hard link. (funcall nnmail-crosspost-link-function first file t) @@ -627,7 +645,7 @@ (setcdr active (1+ (cdr active))) (while (file-exists-p (concat (nnmail-group-pathname group nnml-directory) - (int-to-string (cdr active)))) + (int-to-string (cdr active)) nnmail-article-file-suffix)) (setcdr active (1+ (cdr active)))) (cdr active))) --- rgnus/lisp/nnmail.el Sat Aug 9 12:46:23 1997 +++ qgnus/lisp/nnmail.el Wed Oct 8 17:27:15 1997 @@ -180,6 +181,9 @@ :group 'nnmail-files :type 'file) +(defvar nnmail-article-file-suffix nil + "suffix to add to single message per file files") + (defcustom nnmail-crash-box "~/.gnus-crash-box" "File where Gnus will store mail while processing it." :group 'nnmail-files From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12690 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 25 Oct 1997 00:39:23 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035152181 5160 80.91.224.250 (20 Oct 2002 22:16:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:16:21 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.7) with ESMTP id TAA12845 for ; Fri, 24 Oct 1997 19:54:11 -0700 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA20713 for ; Fri, 24 Oct 1997 21:55:46 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id DAA04956 for ; Sat, 25 Oct 1997 03:50:50 +0200 (MET DST) Original-Received: (qmail 17005 invoked by uid 504); 25 Oct 1997 01:50:49 -0000 Original-Received: (qmail 16994 invoked from network); 25 Oct 1997 01:50:47 -0000 Original-Received: from xyplex23.uio.no (HELO sparky.gnus.org) (129.240.154.43) by claymore.vcinet.com with SMTP; 25 Oct 1997 01:50:45 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id DAA02093; Sat, 25 Oct 1997 03:43:08 +0200 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: "St. Suika Roberts"'s message of "24 Oct 1997 15:01:43 -0600" X-Mailer: Quassia Gnus v0.13/XEmacs 19.15 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > It adds one variable, nnmail-article-file-suffix, which is appended to > the nnml-generated filename. If one has autocompression working, this > will automagicly (de)compress one's mail, if one sets it to ".gz" This is already in Gnus. If you require `jka-compr', nnml will snarf gzipped articles files. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12702 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 26 Oct 1997 16:39:27 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152191 5208 80.91.224.250 (20 Oct 2002 22:16:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:16:31 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.7/8.8.8) with ESMTP id IAA02652 for ; Sun, 26 Oct 1997 08:59:04 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA11783 for ; Sun, 26 Oct 1997 11:00:25 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id QAA01966 for ; Sun, 26 Oct 1997 16:39:36 +0100 (MET) Original-Received: (qmail 24985 invoked by uid 504); 26 Oct 1997 15:39:35 -0000 Original-Received: (qmail 24982 invoked from network); 26 Oct 1997 15:39:34 -0000 Original-Received: from scup.pdc.kth.se (130.237.221.66) by claymore.vcinet.com with SMTP; 26 Oct 1997 15:39:33 -0000 Original-Received: (from jas@localhost) by scup.pdc.kth.se (8.8.7/8.8.7) id QAA29214; Sun, 26 Oct 1997 16:39:28 +0100 (MET) Original-To: ding@gnus.org Original-Lines: 25 X-Mailer: Quassia Gnus v0.12/XEmacs 20.3(beta90) - "Dublin" Xref: main.gmane.org gmane.emacs.gnus.general:12702 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12702 Lars Magne Ingebrigtsen writes: > > It adds one variable, nnmail-article-file-suffix, which is appended to > > the nnml-generated filename. If one has autocompression working, this > > will automagicly (de)compress one's mail, if one sets it to ".gz" > > This is already in Gnus. If you require `jka-compr', nnml will snarf > gzipped articles files. Does this work with nnfolders too? Couldn't get it to work anyway. (yes, i've toggled toggle-auto-compression) I started adding gzip-support for nnfolders some days ago but ran into a minor problem -- if the nnfolder file didn't exist it is created (as 0b file) somewhere before nnfolder-read-folder get invoked so I couldn't just replace the call to nnheader-find-file-noselect with a function that gzip-d's the nnfolder file and then read it as it where an ordinary nnfolder if it couldn't find the nnfolder-file. (*) Basically I want to gzip some of my nnfolders and then automagically have Gnus try to gzip -d .gz if doesn't exist, and on group-close gzip the folder again. (*): Sorry if this is a Bad way to implement it, I don't know Gnus and I probably can't program Elisp. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12711 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 27 Oct 1997 12:22:28 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152198 5254 80.91.224.250 (20 Oct 2002 22:16:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:16:38 +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 FAA03043 for ; Mon, 27 Oct 1997 05:09:09 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id HAA20617 for ; Mon, 27 Oct 1997 07:10:31 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id MAA14150 for ; Mon, 27 Oct 1997 12:23:00 +0100 (MET) Original-Received: (qmail 29143 invoked by uid 504); 27 Oct 1997 11:22:55 -0000 Original-Received: (qmail 29140 invoked from network); 27 Oct 1997 11:22:54 -0000 Original-Received: from scup.pdc.kth.se (130.237.221.66) by claymore.vcinet.com with SMTP; 27 Oct 1997 11:22:53 -0000 Original-Received: (from jas@localhost) by scup.pdc.kth.se (8.8.7/8.8.7) id MAA06749; Mon, 27 Oct 1997 12:22:29 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Simon Josefsson's message of "26 Oct 1997 16:39:27 +0100" Original-Lines: 10 X-Mailer: Quassia Gnus v0.12/XEmacs 20.3(beta90) - "Dublin" Xref: main.gmane.org gmane.emacs.gnus.general:12711 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12711 Simon Josefsson writes: > Does this work with nnfolders too? Couldn't get it to work > anyway. Thanks to St. Suika Roberts I got it to work. (If anyone else is interested: If I renamed the Gnus-folder to .gz Gnus tries to open it which will start jka-compr which will unzip it) From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12722 Path: main.gmane.org!not-for-mail From: David Hedbor Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 28 Oct 1997 21:09:12 -0800 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152207 5297 80.91.224.250 (20 Oct 2002 22:16:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:16:47 +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 WAA26317 for ; Tue, 28 Oct 1997 22:14:08 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA24786 for ; Wed, 29 Oct 1997 00:15:25 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id GAA05696 for ; Wed, 29 Oct 1997 06:09:19 +0100 (MET) Original-Received: (qmail 7429 invoked by uid 504); 29 Oct 1997 05:09:15 -0000 Original-Received: (qmail 7426 invoked from network); 29 Oct 1997 05:09:14 -0000 Original-Received: from klawatti.sealabs.com (HELO klawatti.inside.sealabs.com) (208.152.24.49) by claymore.vcinet.com with SMTP; 29 Oct 1997 05:09:14 -0000 Original-Received: from frisco.inside.sealabs.com (neotron@frisco.inside.sealabs.com [192.168.49.24]) by klawatti.inside.sealabs.com (8.8.5/8.8.5) with SMTP id VAA18867 for ; Tue, 28 Oct 1997 21:09:13 -0800 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "25 Oct 1997 00:39:23 +0100" X-Face: 3su_O5R!|})4gc|&nXdVILe~2hIncsaJF_TC>rnR NA0Aj-u\*nln*:ktY!d+[%K()Q|1*-U [+xczKd$Xev:F#3'rFgot\l.I+w>DQ%:%HOyZ]EgFw@0[gMFsR-E`Hs~tjkc>y.i#y<55R_CScR Original-Lines: 23 X-Mailer: Gnus v5.4.65/XEmacs 20.2 Xref: main.gmane.org gmane.emacs.gnus.general:12722 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12722 Lars Magne Ingebrigtsen writes: > "St. Suika Roberts" writes: > > > It adds one variable, nnmail-article-file-suffix, which is appended to > > the nnml-generated filename. If one has autocompression working, this > > will automagicly (de)compress one's mail, if one sets it to ".gz" > > This is already in Gnus. If you require `jka-compr', nnml will snarf > gzipped articles files. The whole point with this patch is that the files are _saved_ gzipped per default. Loading jka-compr makes it possible to load mail files gzipped with an external program. Not the same thing. I can add that this patch is very useful and nice. I never have to bother doing manual gzipping anymore. -- [ Below is a random fortune, which is unrelated to the above message. ] BASIC is to computer programming as QWERTY is to typing. -- Seymour Papert From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12771 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 05 Nov 1997 13:50:26 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035152249 5572 80.91.224.250 (20 Oct 2002 22:17:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:17:29 +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 NAA30022 for ; Wed, 5 Nov 1997 13:00:07 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA17936 for ; Wed, 5 Nov 1997 14:38:08 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id UAA09600 for ; Wed, 5 Nov 1997 20:30:57 +0100 (MET) Original-Received: (qmail 11144 invoked by uid 504); 5 Nov 1997 19:30:54 -0000 Original-Received: (qmail 11136 invoked from network); 5 Nov 1997 19:30:52 -0000 Original-Received: from xyplex31.uio.no (HELO sparky.gnus.org) (129.240.154.51) by claymore.vcinet.com with SMTP; 5 Nov 1997 19:30:51 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id UAA08905; Wed, 5 Nov 1997 20:30:59 +0100 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: David Hedbor's message of "28 Oct 1997 21:09:12 -0800" X-Mailer: Quassia Gnus v0.13/XEmacs 19.15 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > The whole point with this patch is that the files are _saved_ gzipped > per default. Loading jka-compr makes it possible to load mail files > gzipped with an external program. Not the same thing. No, but it also did the same thing that we already have support for. A patch for providing just automatic gzipping would be nice. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12793 Path: main.gmane.org!not-for-mail From: David Hedbor Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 06 Nov 1997 15:37:08 -0800 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152267 5723 80.91.224.250 (20 Oct 2002 22:17:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:17:47 +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 QAA20338 for ; Thu, 6 Nov 1997 16:41:49 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA06272 for ; Thu, 6 Nov 1997 18:42:32 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id AAA09923 for ; Fri, 7 Nov 1997 00:37:10 +0100 (MET) Original-Received: (qmail 16529 invoked by uid 504); 6 Nov 1997 23:37:10 -0000 Original-Received: (qmail 16526 invoked from network); 6 Nov 1997 23:37:09 -0000 Original-Received: from klawatti.sealabs.com (HELO klawatti.inside.sealabs.com) (208.152.24.49) by claymore.vcinet.com with SMTP; 6 Nov 1997 23:37:09 -0000 Original-Received: from frisco.inside.sealabs.com (neotron@frisco.inside.sealabs.com [192.168.49.24]) by klawatti.inside.sealabs.com (8.8.5/8.8.5) with SMTP id PAA11994 for ; Thu, 6 Nov 1997 15:37:08 -0800 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "05 Nov 1997 13:50:26 +0100" X-Face: 3su_O5R!|})4gc|&nXdVILe~2hIncsaJF_TC>rnR NA0Aj-u\*nln*:ktY!d+[%K()Q|1*-U [+xczKd$Xev:F#3'rFgot\l.I+w>DQ%:%HOyZ]EgFw@0[gMFsR-E`Hs~tjkc>y.i#y<55R_CScR Original-Lines: 22 X-Mailer: Gnus v5.4.65/XEmacs 20.2 Xref: main.gmane.org gmane.emacs.gnus.general:12793 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12793 Lars Magne Ingebrigtsen writes: > David Hedbor writes: > > > The whole point with this patch is that the files are _saved_ gzipped > > per default. Loading jka-compr makes it possible to load mail files > > gzipped with an external program. Not the same thing. > > No, but it also did the same thing that we already have support for. > A patch for providing just automatic gzipping would be nice. Ok, I didn't look that much in the patch. I agree that it's redundant with double support for that. It's just the saving-methods that needs to be changed. Oh, btw, is there a way to change "B m" and "B r" to use "mv" instead of loading, removing and saving the article? -- [ Below is a random fortune, which is unrelated to the above message. ] Every program has (at least) two purposes: the one for which it was written and another for which it wasn't. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12825 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 13 Nov 1997 22:14:08 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035152294 5890 80.91.224.250 (20 Oct 2002 22:18:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:18:14 +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 PAA26630 for ; Thu, 13 Nov 1997 15:57:04 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA11536 for ; Thu, 13 Nov 1997 17:57:32 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id XAA06571 for ; Thu, 13 Nov 1997 23:33:21 +0100 (MET) Original-Received: (qmail 494 invoked by uid 504); 13 Nov 1997 22:33:20 -0000 Original-Received: (qmail 491 invoked from network); 13 Nov 1997 22:33:16 -0000 Original-Received: from xyplex17.uio.no (HELO sparky.gnus.org) (129.240.154.37) by claymore.vcinet.com with SMTP; 13 Nov 1997 22:33:13 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id XAA09094; Thu, 13 Nov 1997 23:32:40 +0100 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: David Hedbor's message of "06 Nov 1997 15:37:08 -0800" X-Mailer: Quassia Gnus v0.14/XEmacs 19.15 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > Oh, btw, is there a way to change "B m" and "B r" to use "mv" instead > of loading, removing and saving the article? Nope. It has to do it that way to work in the general case. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12852 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: making gnus-summary-reparent-thread work right with nnml Date: 18 Nov 1997 17:13:56 +0100 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152317 6035 80.91.224.250 (20 Oct 2002 22:18:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:18:37 +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 KAA06421 for ; Tue, 18 Nov 1997 10:06:11 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA08371 for ; Tue, 18 Nov 1997 12:06:26 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id RAA10374 for ; Tue, 18 Nov 1997 17:18:40 +0100 (MET) Original-Received: (qmail 23869 invoked by uid 504); 18 Nov 1997 16:18:38 -0000 Original-Received: (qmail 23866 invoked from network); 18 Nov 1997 16:18:35 -0000 Original-Received: from abel.metis.no (HELO gw.metis.no) (193.90.64.1) by claymore.vcinet.com with SMTP; 18 Nov 1997 16:18:33 -0000 Original-Received: by gw.metis.no (8.8.6/8.8.6) with ESMTP id RAA07384; Tue, 18 Nov 1997 17:17:58 +0100 (MET) Original-Received: by metis.no (8.8.6/8.8.6) with ESMTP id RAA18019; Tue, 18 Nov 1997 17:17:54 +0100 (MET) Original-Received: by norne.troll.no (8.8.4/8.8.4) id RAA27575; Tue, 18 Nov 1997 17:13:56 +0100 (MET) Original-To: ding@gnus.org Original-Lines: 76 X-Mailer: Gnus v5.5/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:12852 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12852 Platform: Emacs 19.34, gnus-5.4.67 with nnml backend, SPARC, Solaris 2.5 I've never gotten gnus-summary-reparent-thread to work right. If I insert a References: header or edit an existing References: header manually with gnus-summary-edit-article, it is immediately rethreaded when I do a C-c C-c. If I use gnus-summary-reparent-thread, I don't see the new References: header when I toggle all headers with the "t" command, if the message had no References: header to begin with (this is the part I don't know how to make work). Also "Fetch parent" doesn't work for these articles. If the article already has a References header, the new article number is inserted at the start (looking at the code at the end of this message), and I belive it should be inserted at the end...? (at least that's the way I understand 2.2.5 of RFC 1036...) One way to make this work, would be to strip away the earlier contents of the References: header, before inserting the message-id of the new parent. Anyways, if someone could come up with ideas of how to fix this for an emacs lisp semi literate, I would be thankful (I'm tired of hand editing Eudora, Outlook and MSExchange messages). Thanx! - Steinar code from lisp/gnus-sum.el: ... (defun gnus-summary-reparent-thread () "Make the current article child of the marked (or previous) article. Note that the re-threading will only work if `gnus-thread-ignore-subject' is non-nil or the Subject: of both articles are the same." (interactive) (unless (not (gnus-group-read-only-p)) (error "The current newsgroup does not support article editing")) (unless (<= (length gnus-newsgroup-processable) 1) (error "No more than one article may be marked")) (save-window-excursion (let ((gnus-article-buffer " *reparent*") (current-article (gnus-summary-article-number)) ;; First grab the marked article, otherwise one line up. (parent-article (if (not (null gnus-newsgroup-processable)) (car gnus-newsgroup-processable) (save-excursion (if (eq (forward-line -1) 0) (gnus-summary-article-number) (error "Beginning of summary buffer")))))) (unless (not (eq current-article parent-article)) (error "An article may not be self-referential")) (let ((message-id (mail-header-id (gnus-summary-article-header parent-article)))) (unless (and message-id (not (equal message-id ""))) (error "No message-id in desired parent")) (gnus-summary-select-article t t nil current-article) (set-buffer gnus-original-article-buffer) (let ((buf (format "%s" (buffer-string)))) (nnheader-temp-write nil (insert buf) (goto-char (point-min)) (if (search-forward-regexp "^References: " nil t) (insert message-id " " ) (insert "References: " message-id "\n")) (unless (gnus-request-replace-article current-article (car gnus-article-current) (current-buffer)) (error "Couldn't replace article")))) (set-buffer gnus-summary-buffer) (gnus-summary-unmark-all-processable) (gnus-summary-rethread-current) (gnus-message 3 "Article %d is now the child of article %d" current-article parent-article))))) ... From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12853 Path: main.gmane.org!not-for-mail From: David Hedbor Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 18 Nov 1997 15:14:32 -0800 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152318 6043 80.91.224.250 (20 Oct 2002 22:18:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:18:38 +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 QAA12842 for ; Tue, 18 Nov 1997 16:42:50 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA13990 for ; Tue, 18 Nov 1997 18:43:07 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id AAA19626 for ; Wed, 19 Nov 1997 00:14:44 +0100 (MET) Original-Received: (qmail 26083 invoked by uid 504); 18 Nov 1997 23:14:43 -0000 Original-Received: (qmail 26080 invoked from network); 18 Nov 1997 23:14:43 -0000 Original-Received: from klawatti.sealabs.com (HELO klawatti.inside.sealabs.com) (208.152.24.49) by claymore.vcinet.com with SMTP; 18 Nov 1997 23:14:42 -0000 Original-Received: from frisco.inside.sealabs.com (neotron@frisco.inside.sealabs.com [192.168.49.24]) by klawatti.inside.sealabs.com (8.8.5/8.8.5) with SMTP id PAA17446 for ; Tue, 18 Nov 1997 15:14:33 -0800 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "13 Nov 1997 22:14:08 +0100" X-Face: 3su_O5R!|})4gc|&nXdVILe~2hIncsaJF_TC>rnR NA0Aj-u\*nln*:ktY!d+[%K()Q|1*-U [+xczKd$Xev:F#3'rFgot\l.I+w>DQ%:%HOyZ]EgFw@0[gMFsR-E`Hs~tjkc>y.i#y<55R_CScR Original-Lines: 17 X-Mailer: Gnus v5.4.65/XEmacs 20.2 Xref: main.gmane.org gmane.emacs.gnus.general:12853 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12853 Lars Magne Ingebrigtsen writes: > David Hedbor writes: > > > Oh, btw, is there a way to change "B m" and "B r" to use "mv" instead > > of loading, removing and saving the article? > > Nope. It has to do it that way to work in the general case. I am aware of that, but as I only use nnml, on a local disk, it would be nice to be able to configure the behavior. Would it be very hard to make it configurable? -- [ Below is a random fortune, which is unrelated to the above message. ] Reisner's Rule of Conceptual Inertia: If you think big enough, you'll never have to do it. From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12855 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: making gnus-summary-reparent-thread work right with nnml Date: 19 Nov 1997 10:14:45 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152319 6045 80.91.224.250 (20 Oct 2002 22:18:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:18:39 +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 DAA14904 for ; Wed, 19 Nov 1997 03:26:39 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id FAA20290 for ; Wed, 19 Nov 1997 05:26:58 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.7/8.8.7/ifi0.2) with SMTP id KAA28756 for ; Wed, 19 Nov 1997 10:19:23 +0100 (MET) Original-Received: (qmail 28371 invoked by uid 504); 19 Nov 1997 09:19:22 -0000 Original-Received: (qmail 28368 invoked from network); 19 Nov 1997 09:19:19 -0000 Original-Received: from abel.metis.no (HELO gw.metis.no) (193.90.64.1) by claymore.vcinet.com with SMTP; 19 Nov 1997 09:19:17 -0000 Original-Received: by gw.metis.no (8.8.6/8.8.6) with ESMTP id KAA10332; Wed, 19 Nov 1997 10:18:45 +0100 (MET) Original-Received: by metis.no (8.8.6/8.8.6) with ESMTP id KAA25763; Wed, 19 Nov 1997 10:18:42 +0100 (MET) Original-Received: by norne.troll.no (8.8.4/8.8.4) id KAA28258; Wed, 19 Nov 1997 10:14:45 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Steinar Bang's message of "18 Nov 1997 17:13:56 +0100" Original-Lines: 33 X-Mailer: Gnus v5.5/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:12855 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12855 >>>>> Steinar Bang : > Platform: Emacs 19.34, gnus-5.4.67 with nnml backend, SPARC, Solaris 2.5 And tm 7.105, I forgot to add. > I've never gotten gnus-summary-reparent-thread to work right. If I > insert a References: header or edit an existing References: header > manually with gnus-summary-edit-article, it is immediately rethreaded > when I do a C-c C-c. > If I use gnus-summary-reparent-thread, I don't see the new References: > header when I toggle all headers with the "t" command, if the message > had no References: header to begin with (this is the part I don't know > how to make work). Also "Fetch parent" doesn't work for these > articles. I thought that tm might be the culprit here, so I first tried toggling it off without seeing any change in the behaviour. I then started up a brand new emacs without tm (I had to load tm's emu-e19.el to be able to make 5.4.67 run on 19.34, tho... Maybe because it was loaded when Gnus was byte compiled?), and observed the same behaviour: The new References field doesn't show up when I toggle all headers or when I edit the article. "Fetch parent" reports "No references in...". But grep finds a References header in the rethreaded article... I'm clueless...:-/ - Steinar From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12881 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: making gnus-summary-reparent-thread work right with nnml Date: 23 Nov 1997 07:08:00 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035152340 6173 80.91.224.250 (20 Oct 2002 22:19:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:19:00 +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 AAA05238 for ; Sun, 23 Nov 1997 00:02:01 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA22299 for ; Sun, 23 Nov 1997 02:01:56 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with SMTP id HAA21987 for ; Sun, 23 Nov 1997 07:51:48 +0100 (MET) Original-Received: (qmail 21151 invoked by uid 504); 23 Nov 1997 06:51:48 -0000 Original-Received: (qmail 21140 invoked from network); 23 Nov 1997 06:51:45 -0000 Original-Received: from xyplex14.uio.no (HELO sparky.gnus.org) (129.240.154.34) by claymore.vcinet.com with SMTP; 23 Nov 1997 06:51:44 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id HAA16342; Sun, 23 Nov 1997 07:52:03 +0100 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: Steinar Bang's message of "18 Nov 1997 17:13:56 +0100" X-Mailer: Quassia Gnus v0.14/XEmacs 19.15 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > If the article already has a References header, the new article number > is inserted at the start (looking at the code at the end of this > message), and I belive it should be inserted at the end...? (at least > that's the way I understand 2.2.5 of RFC 1036...) Yup. Fix in Quassia Gnus v0.14. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12883 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: automagicly compressed nnml files Date: 23 Nov 1997 07:08:20 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035152343 6199 80.91.224.250 (20 Oct 2002 22:19:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:19:03 +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 AAA05296 for ; Sun, 23 Nov 1997 00:13:08 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA22422 for ; Sun, 23 Nov 1997 02:13:15 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with SMTP id IAA22839 for ; Sun, 23 Nov 1997 08:10:59 +0100 (MET) Original-Received: (qmail 21338 invoked by uid 504); 23 Nov 1997 07:10:58 -0000 Original-Received: (qmail 21335 invoked from network); 23 Nov 1997 07:10:56 -0000 Original-Received: from xyplex16.uio.no (HELO sparky.gnus.org) (129.240.154.36) by claymore.vcinet.com with SMTP; 23 Nov 1997 07:10:16 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id HAA16345; Sun, 23 Nov 1997 07:52:03 +0100 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: David Hedbor's message of "18 Nov 1997 15:14:32 -0800" X-Mailer: Quassia Gnus v0.14/XEmacs 19.15 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > > > Oh, btw, is there a way to change "B m" and "B r" to use "mv" instead > > > of loading, removing and saving the article? > > > > Nope. It has to do it that way to work in the general case. > > I am aware of that, but as I only use nnml, on a local disk, it would > be nice to be able to configure the behavior. Would it be very hard to > make it configurable? Yes. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/12921 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: making gnus-summary-reparent-thread work right with nnml Date: 24 Nov 1997 14:53:52 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152375 6402 80.91.224.250 (20 Oct 2002 22:19:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:19:35 +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 HAA19812 for ; Mon, 24 Nov 1997 07:18:14 -0800 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA03824 for ; Mon, 24 Nov 1997 09:17:58 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with SMTP id OAA11893 for ; Mon, 24 Nov 1997 14:58:47 +0100 (MET) Original-Received: (qmail 29943 invoked by uid 504); 24 Nov 1997 13:58:43 -0000 Original-Received: (qmail 29940 invoked from network); 24 Nov 1997 13:58:40 -0000 Original-Received: from abel.metis.no (HELO gw.metis.no) (193.90.64.1) by claymore.vcinet.com with SMTP; 24 Nov 1997 13:58:34 -0000 Original-Received: by gw.metis.no (8.8.6/8.8.6) with ESMTP id OAA27332; Mon, 24 Nov 1997 14:58:01 +0100 (MET) Original-Received: by metis.no (8.8.6/8.8.6) with ESMTP id OAA02304; Mon, 24 Nov 1997 14:57:56 +0100 (MET) Original-Received: by norne.troll.no (8.8.4/8.8.4) id OAA08508; Mon, 24 Nov 1997 14:53:52 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "23 Nov 1997 07:08:00 +0100" Original-Lines: 25 X-Mailer: Gnus v5.5/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:12921 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:12921 >>>>> Lars Magne Ingebrigtsen : > Steinar Bang writes: >> If the article already has a References header, the new article number >> is inserted at the start (looking at the code at the end of this >> message), and I belive it should be inserted at the end...? (at least >> that's the way I understand 2.2.5 of RFC 1036...) > Yup. Fix in Quassia Gnus v0.14. I haven't tried using reparenting on articles with an existing, bogus References header (eg. Eudora Pro 3.x), but I've noted that qgnus 0.14 immediately correctly rethreads articles without a previous references header. But! There's still no References header when you toggle on all headers after reparenting. And "Fetch parent of article" still reports no "References in article...". I see now, when I enter that group from gnus 5.5.67, that the article reparented in qgnus now has a References header. Maybe exiting and entering the group fixed it? Hmm... still not silk-smooth, tho'... - Steinar