From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24367 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: Process-marking all unread articles Date: Sun, 18 Jul 1999 17:57:42 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87908fgp61.fsf@pc-hrvoje.srce.hr> <873dylg1k5.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1035161946 8325 80.91.224.250 (21 Oct 2002 00:59:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:59:06 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA03219 for ; Sun, 18 Jul 1999 21:07:39 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id UAB03613; Sun, 18 Jul 1999 20:00:59 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 18 Jul 1999 20:01:15 -0500 (CDT) Original-Received: from Post-Office.UH.EDU (pmdf@Post-Office.UH.EDU [129.7.1.20]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id UAA13679 for ; Sun, 18 Jul 1999 20:00:46 -0500 (CDT) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [204.252.123.139]) by Post-Office.UH.EDU (PMDF V5.2-32 #34071) with ESMTP id <0FF30027ZEQMCJ@Post-Office.UH.EDU> for ding@hpc.uh.edu; Sun, 18 Jul 1999 19:59:24 -0500 (CDT) Original-Received: from mail.networkone.net (qmailr@mail.networkone.net [209.144.112.75]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id UAA02919 for ; Sun, 18 Jul 1999 20:57:50 -0400 (EDT) Original-Received: (qmail 27932 invoked from network); Mon, 19 Jul 1999 00:57:51 +0000 Original-Received: from pm3-2-43.la.networkone.net (HELO satellite.local.lan) (reader@209.144.126.107) by mail.networkone.net with SMTP; Mon, 19 Jul 1999 00:57:51 +0000 Original-Received: (from reader@localhost) by satellite.local.lan (8.9.1/8.9.1) id RAA16535; Sun, 18 Jul 1999 17:57:42 -0700 In-reply-to: Hrvoje Niksic's message of "18 Jul 1999 22:12:10 +0200" Original-To: ding@gnus.org User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3 Original-Lines: 23 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24367 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24367 Hrvoje Niksic writes: > Kai Gro-Aß-Bjohann writes: > > > Does it work to narrow the buffer to the articles marked with SPC > > first? > > > > / m SPC RET > > This helps, thanks. Now I can do the required operation with > something like `/m SPC RET M P b M-& !' optionally followed by `/w' to > pop the process mark set. > > But now I've gotten all cocky and would like to make the thing be a > Lisp function rather than a keyboard macro. In that case `/m SPC RET' > is replaced with a simple (gnus-summary-limit-to-marks " "), and `M P > b' with (gnus-uu-mark-buffer). However, I don't know how to emulate > M-& followed by a command. > > Is there a way to do what M-& does, but from Lisp, i.e. iterate > through process-marked articles in a way? But you've forgotten to use Kai's patented `C-u 1000 !' : )