From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74633 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir summary line formatting Date: Thu, 02 Dec 2010 23:13:47 -0500 Message-ID: <87bp538pdw.fsf@andy.bu.edu> References: <87ipzc1a1q.fsf@andy.bu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291349663 28146 80.91.229.12 (3 Dec 2010 04:14:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Dec 2010 04:14:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22989@lists.math.uh.edu Fri Dec 03 05:14:19 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PON2J-0003Nf-9g for ding-account@gmane.org; Fri, 03 Dec 2010 05:14:19 +0100 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 1PON22-0006iX-SG; Thu, 02 Dec 2010 22:14:02 -0600 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 1PON21-0006iH-7l for ding@lists.math.uh.edu; Thu, 02 Dec 2010 22:14:01 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PON20-00065W-5Z for ding@lists.math.uh.edu; Thu, 02 Dec 2010 22:14:01 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PON1z-0004JZ-00 for ; Fri, 03 Dec 2010 05:13:59 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PON1z-0003JA-8C for ding@gnus.org; Fri, 03 Dec 2010 05:13:59 +0100 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Dec 2010 05:13:59 +0100 Original-Received: from cohen by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Dec 2010 05:13:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:ijy++J4NgPxY8LyQANCROIoiEGU= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74633 Archived-At: >>>>> "Katsumi" == Katsumi Yamaoka writes: Katsumi> Currently nnir- macros used in Katsumi> `gnus-summary-line-format-alist' will never be expanded. Katsumi> For instance: Katsumi> (assq ?Z gnus-summary-line-format-alist) => (90 (or Katsumi> (nnir-article-rsv (aref gnus-tmp-header 0)) 0) 100) Katsumi> But it seems to have to be: => (90 (or (elt (if (> (aref Katsumi> gnus-tmp-header 0) 0) (progn (elt nnir-artlist (1- (aref Katsumi> gnus-tmp-header 0))))) 2) 0) 100) Katsumi> To make it do that, those macros have to be loaded before Katsumi> gnus-sum, however nnir requires gnus-sum in it. Ah, good catch. I think it works without expanding the macro (at least it seems to be working for me) but it should probably be fixed to that the macro is properly expanded. I'll think on it. Best, Andy