From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56197 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Improving support for upgrading gnus Date: Fri, 23 Jan 2004 15:43:06 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074921173 310 80.91.224.253 (24 Jan 2004 05:12:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2004 05:12:53 +0000 (UTC) Original-X-From: ding-owner+M4737@lists.math.uh.edu Sat Jan 24 06:12:46 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AkG6A-0007qR-00 for ; Sat, 24 Jan 2004 06:12:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AkG5Y-0000SM-00; Fri, 23 Jan 2004 23:12:08 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AkG5J-0000S3-00 for ding@lists.math.uh.edu; Fri, 23 Jan 2004 23:11:53 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 3A5EC3A004B for ; Fri, 23 Jan 2004 23:11:53 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AkG5I-00028Q-00 for ; Sat, 24 Jan 2004 06:11:52 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 41 Original-NNTP-Posting-Host: dialup-216-12-206-86.ev1.net Original-X-Trace: quimby.gnus.org 1074921112 7594 216.12.206.86 (24 Jan 2004 05:11:52 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 24 Jan 2004 05:11:52 +0000 (UTC) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:gMuqSGncFYqdxOXPeWDY5B5HP1Q= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56197 My most recent post included a rewritten gnus-convert-old-newsrc. The new function should make it possible to move legacy support out of individual gnus source files and into a separate source tree. The goal is to make gnus leaner, faster, and easier to maintain without sacrificing support for the user community. Here are the key new features in gnus-convert-old-newsrc. 1) The converter functions no longer need to be defined at the time gnus-convert-old-newsrc is compiled/loaded. Unbound converters may be loaded, at run-time, from a location specified in the conversion table. - I'd like to see a consensus for moving legacy conversion code into a directory named legacy. The code in this directory will be included in the gnus build and installation but it will only be loaded when upgrading an old installation to the current version. 2) Multiple converters are sequentially invoked to successively convert very old versions into the current version. - This should make it easier to write converters since you only have to be concerned with the version immediately before the version originating the converter. 3) All conversions, whether a single trivial update or a massive sequence, must be authorized by the user. - This alters the user to the possibility that they are taking an irreversible step forward and points out that they should first make backups. Personally, I'd like to clean up gnus-agent.el by moving support for history files, uncompressed agentview files, the old regexp list in gnus-agent-expire-days, etc. in legacy/gnus-agent.el. I fairly certain other parts of gnus would also benefit. So, comments anyone? Kevin