Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Select message by header
@ 2012-11-21 15:21 Julien Cubizolles
  0 siblings, 0 replies; 5+ messages in thread
From: Julien Cubizolles @ 2012-11-21 15:21 UTC (permalink / raw)
  To: info-gnus-english

What's the best way to mark all messages according to the value of a
header ?

Let's say I want to move all messages from a given author, I can do from
a Summary buffer :

/ a name-of-the-author, then M P b, then B m name-of-group-where-to
move, then / w to recover the summary

The filtering/unfiltering feels unnecessary here

Or I can do 
& From name-of-the-author, then B m but then gnus asks for the
name-of-group-where-to-move for each message

How to get the best of both methods ?

Julien.


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Select message by header
  2012-12-31 16:03     ` Lars Magne Ingebrigtsen
@ 2013-01-04  8:08       ` Julien Cubizolles
  0 siblings, 0 replies; 5+ messages in thread
From: Julien Cubizolles @ 2013-01-04  8:08 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: info-gnus-english

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> But then the macro will be specific to the author name and to the name
>> of the group I used when I defined it. I was looking for a function
>> asking me the name of the author and the name of the function to perform
>> on each message of this author.
>
> Just look at the definitions of the commands in question.  Writing a
> small function to call these commands in the right sequence should be
> pretty easy, even if you don't know much about Emacs Lisp.  :-)

I'll give it a try, and hopefully learn a bit of Lisp in the process.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Select message by header
       [not found]   ` <mailman.16331.1356854082.855.info-gnus-english@gnu.org>
@ 2012-12-31 16:03     ` Lars Magne Ingebrigtsen
  2013-01-04  8:08       ` Julien Cubizolles
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-12-31 16:03 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: info-gnus-english

Julien Cubizolles <j.cubizolles@free.fr> writes:

> But then the macro will be specific to the author name and to the name
> of the group I used when I defined it. I was looking for a function
> asking me the name of the author and the name of the function to perform
> on each message of this author.

Just look at the definitions of the commands in question.  Writing a
small function to call these commands in the right sequence should be
pretty easy, even if you don't know much about Emacs Lisp.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Select message by header
  2012-12-24 15:29 ` Lars Ingebrigtsen
@ 2012-12-30  7:54   ` Julien Cubizolles
       [not found]   ` <mailman.16331.1356854082.855.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Julien Cubizolles @ 2012-12-30  7:54 UTC (permalink / raw)
  To: info-gnus-english

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> Let's say I want to move all messages from a given author, I can do from
>> a Summary buffer :
>>
>> / a name-of-the-author, then M P b, then B m name-of-group-where-to
>> move, then / w to recover the summary
>
> You could just bind that to a keyboard macro or something...

But then the macro will be specific to the author name and to the name
of the group I used when I defined it. I was looking for a function
asking me the name of the author and the name of the function to perform
on each message of this author.




_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Select message by header
       [not found] <mailman.13504.1353511336.855.info-gnus-english@gnu.org>
@ 2012-12-24 15:29 ` Lars Ingebrigtsen
  2012-12-30  7:54   ` Julien Cubizolles
       [not found]   ` <mailman.16331.1356854082.855.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2012-12-24 15:29 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: info-gnus-english

Julien Cubizolles <j.cubizolles@free.fr> writes:

> Let's say I want to move all messages from a given author, I can do from
> a Summary buffer :
>
> / a name-of-the-author, then M P b, then B m name-of-group-where-to
> move, then / w to recover the summary

You could just bind that to a keyboard macro or something...

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-04  8:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21 15:21 Select message by header Julien Cubizolles
     [not found] <mailman.13504.1353511336.855.info-gnus-english@gnu.org>
2012-12-24 15:29 ` Lars Ingebrigtsen
2012-12-30  7:54   ` Julien Cubizolles
     [not found]   ` <mailman.16331.1356854082.855.info-gnus-english@gnu.org>
2012-12-31 16:03     ` Lars Magne Ingebrigtsen
2013-01-04  8:08       ` Julien Cubizolles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).