From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24363 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Process-marking all unread articles Date: 18 Jul 1999 22:12:10 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <873dylg1k5.fsf@pc-hrvoje.srce.hr> References: <87908fgp61.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035161942 8292 80.91.224.250 (21 Oct 2002 00:59:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:59:02 +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 QAA28041 for ; Sun, 18 Jul 1999 16:12:51 -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 PAB02923; Sun, 18 Jul 1999 15:12:38 -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 15:13:31 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA11893 for ; Sun, 18 Jul 1999 15:13:20 -0500 (CDT) Original-Received: from pc-hrvoje.srce.hr (mail@pc-hrvoje.srce.hr [161.53.2.132]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA28017 for ; Sun, 18 Jul 1999 16:12:14 -0400 (EDT) Original-Received: from hniksic by pc-hrvoje.srce.hr with local (Exim 3.02 #1 (Debian)) id 115xIA-0007SX-00 for ; Sun, 18 Jul 1999 22:12:10 +0200 Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h 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?