From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79498 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: accessing article information Date: Tue, 19 Jul 2011 18:16:50 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87d3hng6vr.fsf@yun.yagibdah.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311092486 32298 80.91.229.12 (19 Jul 2011 16:21:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jul 2011 16:21:26 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27794@lists.math.uh.edu Tue Jul 19 18:21:22 2011 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 1QjD2w-0008Ti-DA for ding-account@gmane.org; Tue, 19 Jul 2011 18:21:22 +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 1QjD21-00079r-Bn; Tue, 19 Jul 2011 11:20:25 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QjD20-00079d-4M for ding@lists.math.uh.edu; Tue, 19 Jul 2011 11:20:24 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QjD1m-0005ZS-NZ for ding@lists.math.uh.edu; Tue, 19 Jul 2011 11:20:24 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QjD1j-0004jh-Qq for ding@gnus.org; Tue, 19 Jul 2011 18:20:07 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QjD1j-0007oT-Ew for ding@gnus.org; Tue, 19 Jul 2011 18:20:07 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jul 2011 18:20:07 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Jul 2011 18:20:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEWWZkgJAwZXMSovDxND IR+MARxHAAACR0lEQVQ4jWXUi3HsIAwFUIV1ASvjAkBQgEEuwEb0X9O74P0k85jJTDYnSEKIJSks Yrl31aOJBLqXUmaWliL/XU+lhb3UdP0PD96kxUuNuSGES6yqHyhXI9MB5FS7FQCiN+EolPsxMrvj 6H3AHTMJuWwTer8hlxucy20dsVB5v55GHQcpAHEiOqB3mSDBXcV+Qe6SCwBRJcUb6oDHgHVCPix1 cV1mvY+GUBOwuyTfs9ZZ1vKCA7+LzvOK7RkU3AzFkDChOleXnRLaMoG3Cf5wKBD52wg9gUOIibnG jZw73Unyhq2lxFvidREREtd6WROxbzkn49N4n0BzB+BJSzLzdPkzN1d3FPwGMrNniOxSkPME4BwA tNSSrZSYcsinuDcgOaDSY8sLSQvo/528hTNFqyFu4kJu9IHRN4BcK/qcUVXI9gEFlArAwDm3fMH3 ZiwFh0ZNknXAPvrurV04ukwIYn/A8+YoIPk5upvoHFAwMSgb96tCbdxHHoDedGZlNnlwDcjE2NFx p8VjcruiCdH7E5lGqKObFowxt847Yd/p8DQAGA4xPfAYEtcfr4YbfPAaMT1VUsEOzGNgRdsI/RyA eVmyjQH2zptlxdDw+kMIVMxw5403RNLMQSf00vHOjCtxLd5rL7svA+bzQLm785FHfeWJf3wD21Nc jZ7HOdefX3AxJuHy8xEdgO0LAQ/7Xt61+AGki58vgXyW9Qt8xxkLudbHF0YQHY9//LzA2F5/P95f MzfMZ/NZXa2wf+3AubDDH8Vz1Q2f9B/sCoS0y8jVBQAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Coil's _Astral Disaster_: "MU-UR" User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:F3GICON/bW9QRpPbRfOBAMmgIFQ= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79498 Archived-At: lee writes: > how do you access information about an article from within a > `gnus-user-format-function-*' called when generating the summary buffer? > The documentation says: > > ,---- [ info (gnus) Summary Buffer Lines ] > | `u' > | User defined specifier. The next character in the format string > | should be a letter. Gnus will call the function > | `gnus-user-format-function-X', where X is the letter following > | `%u'. The function will be passed the current header as argument. > | The function should return a string, which will be inserted into > | the summary just like information from any other summary specifier. > `---- > > What does the header passed to the function look like? It's a header vector. Use `mail-header-number' etc to access the slots. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/