From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53619 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: marks in gnus / uw imapd: what marks / how to set? Date: Mon, 04 Aug 2003 19:51:39 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <16174.26916.787632.310427@samba3.ece.ucdavis.edu> <16174.35886.132000.409517@ece.ucdavis.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1060019524 17896 80.91.224.253 (4 Aug 2003 17:52:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2003 17:52:04 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M2163@lists.math.uh.edu Mon Aug 04 19:52:21 2003 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 19jjVN-0007S5-00 for ; Mon, 04 Aug 2003 19:52:21 +0200 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 19jjUv-0001jH-00; Mon, 04 Aug 2003 12:51:53 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19jjUn-0001jB-00 for ding@lists.math.uh.edu; Mon, 04 Aug 2003 12:51:45 -0500 Original-Received: (qmail 18158 invoked by alias); 4 Aug 2003 17:51:45 -0000 Original-Received: (qmail 18153 invoked from network); 4 Aug 2003 17:51:45 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 4 Aug 2003 17:51:45 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h74HpdgW024160 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 4 Aug 2003 19:51:40 +0200 Original-To: John Owens Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030804:jowens@ece.ucdavis.edu:adca0e1b5b72f88f X-Hashcash: 0:030804:jowens@ece.ucdavis.edu:adca0e1b5b72f88f X-Payment: hashcash 1.2 0:030804:ding@gnus.org:28dad2de7aa04de9 X-Hashcash: 0:030804:ding@gnus.org:28dad2de7aa04de9 In-Reply-To: <16174.35886.132000.409517@ece.ucdavis.edu> (John Owens's message of "Mon, 4 Aug 2003 09:39:10 -0700") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53619 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53619 John Owens writes: > Simon Josefsson writes: > The Gnusish way to do this would be to make Gnus read VM mailboxes > properly. I wonder if this is difficult. Is the VM mailbox format > described anywhere? Maybe it is just babyl and some external marks > stuff? I'm not really familiar with VM. > > It's not a hard format. My elisp fu is weak, but I would certainly be > willing to help with the transition. It's a simple format: every > message has the following header: > > X-VM-v5-Data: ([nil nil nil nil t nil nil nil nil] > ["2009" "Monday" "4" "August" "2003" "09:23:04" "+0200" "Simon Josefsson" "jas@extundo.com" "" "58" "Re: marks in gnus / uw imapd: what marks / how to set?" "^From:" nil nil "8" nil nil (number " " mark " R Simon Josefsson Aug 4 58/2009 " thread-indent "\"Re: marks in gnus / uw imapd: what marks / how to set?\"\n") nil nil nil nil nil nil] > nil) What format is the file? mbox, babyl, etc? It sounds pretty simple to add a nnvm, if the files is in a already supported format. Simply copy nnmbox or nnbabyl, remove some cruft and add a nnvm-request-update-info that frob Gnus's flags using the headers. Hm, if you can create a VM mailbox with say 5 messages with some different flags and make it available, I can attempt to create a nnvm. If someone knows a reason this hasn't been done before, I'm all ears.