From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84791 Path: news.gmane.org!not-for-mail From: Christopher Culver Newsgroups: gmane.emacs.gnus.general Subject: Re: Hooks for moving an article and for setting it expirable Date: Mon, 18 Aug 2014 18:27:17 +0300 Message-ID: <87r40dhl7u.fsf@aura.christopherculver.com> References: <87silaykb6.fsf@aura.christopherculver.com> <87mwbflp13.fsf@ericabrahamsen.net> <87fvguzxke.fsf@aura.christopherculver.com> <87d2byoe97.fsf@ericabrahamsen.net> <87zjf1j4dt.fsf@aura.christopherculver.com> <87mwb1lvrz.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1408375695 7529 80.91.229.3 (18 Aug 2014 15:28:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Aug 2014 15:28:15 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33034@lists.math.uh.edu Mon Aug 18 17:28:07 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XJOqr-0008H4-DN for ding-account@gmane.org; Mon, 18 Aug 2014 17:28:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XJOqO-000165-M6; Mon, 18 Aug 2014 10:27:36 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XJOqN-00015t-Jn for ding@lists.math.uh.edu; Mon, 18 Aug 2014 10:27:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XJOqM-0002Gb-P1 for ding@lists.math.uh.edu; Mon, 18 Aug 2014 10:27:35 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XJOqK-0002jA-PP for ding@gnus.org; Mon, 18 Aug 2014 17:27:32 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XJOqK-0007xa-3h for ding@gnus.org; Mon, 18 Aug 2014 17:27:32 +0200 Original-Received: from 188.24.91.206 ([188.24.91.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Aug 2014 17:27:32 +0200 Original-Received: from crculver by 188.24.91.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Aug 2014 17:27:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 188.24.91.206 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:xU55P2KB9sMeJKPaL3kr6qQpoeE= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84791 Archived-At: Eric Abrahamsen writes: > Actually the data argument should be all you need. It will contain > several of the important email headers from the message, if that's good > enough, and that it isn't good enough, it also contains the article > number, which is all you need to retrieve the whole article. OK, that’s good. I’ve already written quite a bit of a function to do what I need, assuming that I can get the article number and then retrieve the raw article with that information. The problem now is that I have no idea what type gnus-data-header returns. Emacs' describe-function is not helpful. Is it a string equivalent to the header portion of the maildir file? Is it a key-values list, and if so, what the keys? It’s strange that a lot of these features of gnus, though they are useful for extending it, are not documented at all. Once I get my own extension working correctly, I hope that a patch to provide a bare minimum of documentation on these variables and functions will be accepted. Christopher Culver