From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74628 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 15:08:14 -0500 Message-ID: <87wrns7xap.fsf@andy.bu.edu> References: <87ipzc1a1q.fsf@andy.bu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291320558 7738 80.91.229.12 (2 Dec 2010 20:09:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2010 20:09:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22984@lists.math.uh.edu Thu Dec 02 21:09:13 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 1POFSl-0008Nv-7O for ding-account@gmane.org; Thu, 02 Dec 2010 21:09:07 +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 1POFSF-0004mL-EB; Thu, 02 Dec 2010 14:08:35 -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 1POFSE-0004mA-DJ for ding@lists.math.uh.edu; Thu, 02 Dec 2010 14:08:34 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1POFSD-0004Wf-D7 for ding@lists.math.uh.edu; Thu, 02 Dec 2010 14:08:34 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1POFSC-0006Py-00 for ; Thu, 02 Dec 2010 21:08:32 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1POFSA-000854-PJ for ding@gnus.org; Thu, 02 Dec 2010 21:08:30 +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 ; Thu, 02 Dec 2010 21:08:30 +0100 Original-Received: from cohen by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Dec 2010 21:08:30 +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:af+VeVzOTZkjzM+u1uBmrpXxyvo= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74628 Archived-At: >>>>> "Andrew" == Andrew Cohen writes: Andrew> A (mostly) straightforward way to handle this is to use the Andrew> gnus-summary-line-format. I would like to add a couple of Andrew> specs to gnus-summary-line-format-alist to do this Andrew> (tentatively %Z for the RSV and %G for the full group name Andrew> and %g for the short name). I'd then introduce Andrew> nnir-summary-line-format which is used locally in nnir Andrew> summary buffers rather than gnus-summary-line-format (set Andrew> through a hook). OK, just pushed this change. Set nnir-summary-line-format to whatever; a nil value (the default) will use gnus-summary-line-format instead. In case anyone is interested my overly complex value is "%15{%U%}%15{│ %}%12{%-10&user-date;%}%15{ │%}%12{ %}%(%-18,18f%)%12{ %}%*%7{%B%}%«%14{%~(ignore 0)Z %}%11{%s%} %14{%g%}%»\n" Cheers, Andy