Gnus development mailing list
 help / color / mirror / Atom feed
* still puzzled by what should be a common idiom
@ 1999-07-06 18:08 Randal L. Schwartz
  1999-07-06 18:43 ` Aaron M. Ucko
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Randal L. Schwartz @ 1999-07-06 18:08 UTC (permalink / raw)



I go into a fat folder and I want to narrow to just those
items that have a body that matches "foo".

What I've been doing so far is

& Body <ret> foo <ret> #
(wait for searches to set mark)
then "search" in the summary for #, which musses up if the subject has # too

What's the right ding-y way to do this?

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


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

* Re: still puzzled by what should be a common idiom
  1999-07-06 18:08 still puzzled by what should be a common idiom Randal L. Schwartz
@ 1999-07-06 18:43 ` Aaron M. Ucko
  1999-07-08  7:04   ` Lars Magne Ingebrigtsen
  1999-07-06 19:32 ` Neil Crellin
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 12+ messages in thread
From: Aaron M. Ucko @ 1999-07-06 18:43 UTC (permalink / raw)


merlyn@stonehenge.com (Randal L. Schwartz) writes:

> & Body <ret> foo <ret> #
> (wait for searches to set mark)
> then "search" in the summary for #, which musses up if the subject has # too
> 
> What's the right ding-y way to do this?

I'd expect `/ m #' [(gnus-summary-limit-to-marks "#")] to work, but it
doesn't appear to.  Lars, would it be difficult to fix this?  Anyway,
for now I guess you could set some weird mark on all the articles with
the help of M-& and then limit to that mark.

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)


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

* Re: still puzzled by what should be a common idiom
  1999-07-06 18:08 still puzzled by what should be a common idiom Randal L. Schwartz
  1999-07-06 18:43 ` Aaron M. Ucko
@ 1999-07-06 19:32 ` Neil Crellin
  1999-07-06 23:10   ` Harry Putnam
  1999-07-07 22:32   ` Randal L. Schwartz
  1999-07-06 22:36 ` Bill White
  1999-07-07  9:55 ` Kai.Grossjohann
  3 siblings, 2 replies; 12+ messages in thread
From: Neil Crellin @ 1999-07-06 19:32 UTC (permalink / raw)


merlyn@stonehenge.com (Randal L. Schwartz) writes:
> I go into a fat folder and I want to narrow to just those
> items that have a body that matches "foo".
> 
> What I've been doing so far is
> 
> & Body <ret> foo <ret> #
> (wait for searches to set mark)
> then "search" in the summary for #, which musses up if the subject has # too
> 
> What's the right ding-y way to do this?

Sounds like you want to look into the nnir stuff.

-- 
Neil Crellin <neilc@wallaby.cc>


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

* Re: still puzzled by what should be a common idiom
  1999-07-06 18:08 still puzzled by what should be a common idiom Randal L. Schwartz
  1999-07-06 18:43 ` Aaron M. Ucko
  1999-07-06 19:32 ` Neil Crellin
@ 1999-07-06 22:36 ` Bill White
  1999-07-06 23:04   ` Aaron M. Ucko
  1999-07-07  9:55 ` Kai.Grossjohann
  3 siblings, 1 reply; 12+ messages in thread
From: Bill White @ 1999-07-06 22:36 UTC (permalink / raw)
  Cc: merlyn

In article <m11zelmz0z.fsf@halfdome.holdit.com>, merlyn@stonehenge.com (Randal L. Schwartz) writes:

  randal> I go into a fat folder and I want to narrow to just those
  randal> items that have a body that matches "foo".

  randal> What I've been doing so far is

  randal> & Body <ret> foo <ret> #
  randal> (wait for searches to set mark)
  randal> then "search" in the summary for #, which musses up if the subject has # too

  randal> What's the right ding-y way to do this?

'/ n' narrows to articles marked with #. You can then use '/ w' to
widen the Summary buffer back to the way it was before the narrowing.

Thanks to Kai who posted this once upon a time.

Well, here's larsi's explanation from the manual at Gnus->The Summary
Buffer->Limiting:

`/ n'
     Limit the summary buffer to the current article
     (`gnus-summary-limit-to-articles').  Uses the process/prefix
     convention (*note Process/Prefix::.).

`/ w'
     Pop the previous limit off the stack and restore it
     (`gnus-summary-pop-limit').  If given a prefix, pop all limits off
     the stack.

bw
--
Bill White . billw@wolfram.com . http://members.wri.com/billw


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

* Re: still puzzled by what should be a common idiom
  1999-07-06 22:36 ` Bill White
@ 1999-07-06 23:04   ` Aaron M. Ucko
  1999-07-06 23:34     ` François Pinard
  0 siblings, 1 reply; 12+ messages in thread
From: Aaron M. Ucko @ 1999-07-06 23:04 UTC (permalink / raw)


Bill White <billw@wolfram.com> writes:

> '/ n' narrows to articles marked with #. You can then use '/ w' to
> widen the Summary buffer back to the way it was before the narrowing.

Oops, that works too.  I still think `/ m #' ought to work for
consistency, though.

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)


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

* Re: still puzzled by what should be a common idiom
  1999-07-06 19:32 ` Neil Crellin
@ 1999-07-06 23:10   ` Harry Putnam
  1999-07-07 22:32   ` Randal L. Schwartz
  1 sibling, 0 replies; 12+ messages in thread
From: Harry Putnam @ 1999-07-06 23:10 UTC (permalink / raw)


Neil Crellin <neilc@wallaby.cc> writes:

> merlyn@stonehenge.com (Randal L. Schwartz) writes:
> > I go into a fat folder and I want to narrow to just those
> > items that have a body that matches "foo".
> > 
> > What I've been doing so far is
> > 
> > & Body <ret> foo <ret> #
> > (wait for searches to set mark)
> > then "search" in the summary for #, which musses up if the subject has # too
> > 
> > What's the right ding-y way to do this?
> 
> Sounds like you want to look into the nnir stuff.


You need to say `/ n ' after the seaches are over.
`gnus-summary-limit-to-articles'  With process (#) set gnus limits to
those articles.






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

* Re: still puzzled by what should be a common idiom
  1999-07-06 23:04   ` Aaron M. Ucko
@ 1999-07-06 23:34     ` François Pinard
  1999-07-07  1:41       ` Aaron M. Ucko
  0 siblings, 1 reply; 12+ messages in thread
From: François Pinard @ 1999-07-06 23:34 UTC (permalink / raw)
  Cc: ding

amu@MIT.EDU (Aaron M. Ucko) writes:

> Bill White <billw@wolfram.com> writes:

> > '/ n' narrows to articles marked with #. You can then use '/ w' to
> > widen the Summary buffer back to the way it was before the narrowing.

> Oops, that works too.  I still think `/ m #' ought to work for
> consistency, though.

The `mark' concept is a bit overloaded in Gnus.  `/ m' is probably meant for
`read marks' only.  I'm not sure.  Does it work for `Saved' or `Answered'
marks?  I would guess not.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard



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

* Re: still puzzled by what should be a common idiom
  1999-07-06 23:34     ` François Pinard
@ 1999-07-07  1:41       ` Aaron M. Ucko
  0 siblings, 0 replies; 12+ messages in thread
From: Aaron M. Ucko @ 1999-07-07  1:41 UTC (permalink / raw)
  Cc: ding

François Pinard <pinard@iro.umontreal.ca> writes:

> The `mark' concept is a bit overloaded in Gnus.  `/ m' is probably meant for
> `read marks' only.  I'm not sure.  Does it work for `Saved' or `Answered'
> marks?  I would guess not.

Good point; `/ m A RET' yields nothing in a *Summary* buffer with
several answered messages.  That just means extending its
functionality could be even more useful, thought...especially combined
with negation.

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)


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

* Re: still puzzled by what should be a common idiom
  1999-07-06 18:08 still puzzled by what should be a common idiom Randal L. Schwartz
                   ` (2 preceding siblings ...)
  1999-07-06 22:36 ` Bill White
@ 1999-07-07  9:55 ` Kai.Grossjohann
  3 siblings, 0 replies; 12+ messages in thread
From: Kai.Grossjohann @ 1999-07-07  9:55 UTC (permalink / raw)


Randal L. Schwartz <merlyn@stonehenge.com> writes:

> I go into a fat folder and I want to narrow to just those
> items that have a body that matches "foo".

I still think that nnir.el is the way to go.  But people have reported
difficulties with it :-(  So I'd appreciate it if you tried setting up
a Glimpse index or (better still) a freeWAIS-sf index and then used
nnir.el to search it.

kai
-- 
Life is hard and then you die.


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

* Re: still puzzled by what should be a common idiom
  1999-07-06 19:32 ` Neil Crellin
  1999-07-06 23:10   ` Harry Putnam
@ 1999-07-07 22:32   ` Randal L. Schwartz
  1 sibling, 0 replies; 12+ messages in thread
From: Randal L. Schwartz @ 1999-07-07 22:32 UTC (permalink / raw)
  Cc: ding

>>>>> "Neil" == Neil Crellin <neilc@wallaby.cc> writes:

Neil> Sounds like you want to look into the nnir stuff.

I just installed this.  Cool!  I was already glimpsing my mail
each night... just needed a way to hook it in.

Thanks for the pointer.

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


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

* Re: still puzzled by what should be a common idiom
  1999-07-06 18:43 ` Aaron M. Ucko
@ 1999-07-08  7:04   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 12+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-07-08  7:04 UTC (permalink / raw)


amu@MIT.EDU (Aaron M. Ucko) writes:

> I'd expect `/ m #' [(gnus-summary-limit-to-marks "#")] to work, but it
> doesn't appear to.

`/ n' limits to the process-marked articles.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: still puzzled by what should be a common idiom
@ 1999-07-07  7:21 Jaap-Henk Hoepman
  0 siblings, 0 replies; 12+ messages in thread
From: Jaap-Henk Hoepman @ 1999-07-07  7:21 UTC (permalink / raw)


[-- Attachment #1: Type: message/rfc822, Size: 1102 bytes --]


I once wanted to do a similar thing and was surprised to find a lot of limiting 
commands (in the menu) for matching subjects, authors, etc, but not one
for any string in the body of a message. I think it would be consistent if gnus
also had gnus-summary-limit-to-body function. 

Jaap-Henk

-- 
Jaap-Henk Hoepman             | Come sail your ships around me
Dept. of Computer Science     | And burn these bridges down
University of Twente          |       Nick Cave - "Ship Song"
Email: hoepman@cs.utwente.nl === WWW: www.cs.utwente.nl/~hoepman
Phone: +31 53 4893795 === Secr: +31 53 4893770 === Fax: +31 53 4894590
PGP ID: 0xF52E26DD  Fingerprint: 1AED DDEB C7F1 DBB3  0556 4732 4217 ABEF

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

end of thread, other threads:[~1999-07-08  7:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-06 18:08 still puzzled by what should be a common idiom Randal L. Schwartz
1999-07-06 18:43 ` Aaron M. Ucko
1999-07-08  7:04   ` Lars Magne Ingebrigtsen
1999-07-06 19:32 ` Neil Crellin
1999-07-06 23:10   ` Harry Putnam
1999-07-07 22:32   ` Randal L. Schwartz
1999-07-06 22:36 ` Bill White
1999-07-06 23:04   ` Aaron M. Ucko
1999-07-06 23:34     ` François Pinard
1999-07-07  1:41       ` Aaron M. Ucko
1999-07-07  9:55 ` Kai.Grossjohann
1999-07-07  7:21 Jaap-Henk Hoepman

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).