From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53618 Path: main.gmane.org!not-for-mail From: John Owens Newsgroups: gmane.emacs.gnus.general Subject: Re: marks in gnus / uw imapd: what marks / how to set? Date: Mon, 4 Aug 2003 09:39:10 -0700 Sender: ding-owner@lists.math.uh.edu Message-ID: <16174.35886.132000.409517@ece.ucdavis.edu> References: <16174.26916.787632.310427@samba3.ece.ucdavis.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1060015199 9429 80.91.224.253 (4 Aug 2003 16:39:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2003 16:39:59 +0000 (UTC) Cc: John Owens , ding@gnus.org Original-X-From: ding-owner+M2162@lists.math.uh.edu Mon Aug 04 18:40:16 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 19jiNb-0004C5-00 for ; Mon, 04 Aug 2003 18:40:15 +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 19jiMj-0001XY-00; Mon, 04 Aug 2003 11:39:21 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19jiMb-0001XQ-00 for ding@lists.math.uh.edu; Mon, 04 Aug 2003 11:39:13 -0500 Original-Received: (qmail 15574 invoked by alias); 4 Aug 2003 16:39:12 -0000 Original-Received: (qmail 15569 invoked from network); 4 Aug 2003 16:39:12 -0000 Original-Received: from samba3.ece.ucdavis.edu (169.237.32.21) by sclp3.sclp.com with SMTP; 4 Aug 2003 16:39:12 -0000 Original-Received: from WEETABIX (weetabix.ece.ucdavis.edu [169.237.74.64]) by samba3.ece.ucdavis.edu (8.11.6/8.11.6) with ESMTP id h74GdBZ32001; Mon, 4 Aug 2003 09:39:11 -0700 Original-To: Simon Josefsson In-Reply-To: X-Mailer: VM 7.17 under Emacs 21.3.1 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53618 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53618 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) which are then read by the following elisp code: (defsubst vm-attributes-of (message) (aref message 2)) (defsubst vm-new-flag (message) (aref (aref message 2) 0)) (defsubst vm-unread-flag (message) (aref (aref message 2) 1)) (defsubst vm-deleted-flag (message) (aref (aref message 2) 2)) (defsubst vm-filed-flag (message) (aref (aref message 2) 3)) (defsubst vm-replied-flag (message) (aref (aref message 2) 4)) (defsubst vm-written-flag (message) (aref (aref message 2) 5)) (defsubst vm-forwarded-flag (message) (aref (aref message 2) 6)) (defsubst vm-edited-flag (message) (aref (aref message 2) 7)) (defsubst vm-redistributed-flag (message) (aref (aref message 2) 8)) So in the header above, the 5th 't' corresponds to vm-replied-flag. Really, I'd be very happy if this capability was added, and am happy to take direction as to how I could help. JDO