From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13331 Path: main.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.gnus.general Subject: Re: # # # A P Date: 22 Dec 1997 10:42:23 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: Reply-To: jari.aalto@ntc.nokia.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152718 8743 80.91.224.250 (20 Oct 2002 22:25:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:18 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id BAA27537 for ; Mon, 22 Dec 1997 01:22:31 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA04481 for ; Mon, 22 Dec 1997 03:24:04 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id DAN01265; Mon, 22 Dec 1997 03:23:08 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 22 Dec 1997 02:43:01 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id CAA15355 for ; Mon, 22 Dec 1997 02:42:50 -0600 (CST) Original-Received: (qmail 20486 invoked by uid 504); 22 Dec 1997 08:42:34 -0000 Original-Received: (qmail 20483 invoked from network); 22 Dec 1997 08:42:33 -0000 Original-Received: from axl01it.ntc.nokia.com (131.228.118.232) by claymore.vcinet.com with SMTP; 22 Dec 1997 08:42:32 -0000 Original-Received: from zeus.tele.nokia.fi (zeus.tele.nokia.fi [131.228.134.50]) by axl01it.ntc.nokia.com (8.8.5/8.6.9) with SMTP id KAA24569 for ; Mon, 22 Dec 1997 10:41:50 +0200 (EET) Original-Received: from pegasus.tele.nokia.fi (pegasus.ntc.nokia.com [131.228.169.148]) by zeus.tele.nokia.fi (8.6.4/8.6.4) with ESMTP id KAA15294 for ; Mon, 22 Dec 1997 10:40:50 +0200 Original-Received: (from jaalto@localhost) by pegasus.tele.nokia.fi (8.7.5/8.7.1) id KAA29931; Mon, 22 Dec 1997 10:42:24 +0200 (EET) Original-To: Ding mailing list X-info: Quassia Gnus v0.18 In-Reply-To: Michael R Cook's message of "21 Dec 1997 16:35:50 -0500" Original-Lines: 35 X-Mailer: Quassia Gnus v0.18/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13331 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13331 97-12-21 Michael R Cook list.ding | >>>>> "LBR" == Lars Balker Rasmussen writes: | | If someone could give us a quick tutorial on how to convert a | typical #-oblivious function to be #-aware, we could send | patches, rather than just asking Lars to do the work. The framework goes something like this, this is excerpt from my TinyGnus.el package. Notice that I reset some hooks in #-processing functions. jari (put 'tign-summary-map-articles-macro 'lisp-indent-function 0) (defmacro tign-summary-map-articles-macro (&rest body) "Map through marked articles in Summary buffer. The variable `nbr' has the current article number. Use command (return) to stop the loop." (` (let* ((articles (gnus-summary-work-articles nil)) gnus-article-display-hook ;Do not run this gnus-article-prepare-hook gnus-select-article-hook gnus-article-mode-hook gnus-visual-mark-article-hook ) ;; (gnus-summary-save-process-mark) (dolist (nbr articles) (,@ body) )))) (tign-summary-map-articles-macro (gnus-summary-select-article 'all nil 'pseudo nbr) ...Do action... )