Gnus development mailing list
 help / color / mirror / Atom feed
* How to search inside emails?
@ 2014-12-28 19:52 Sharon Kimble
  2014-12-28 20:42 ` Adam Sjøgren
  2014-12-29  7:32 ` Steinar Bang
  0 siblings, 2 replies; 6+ messages in thread
From: Sharon Kimble @ 2014-12-28 19:52 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

I know how to search in the titles of saved posts, but how can I
search *inside* each and every email please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: How to search inside emails?
  2014-12-28 19:52 How to search inside emails? Sharon Kimble
@ 2014-12-28 20:42 ` Adam Sjøgren
  2015-01-03 15:11   ` Sharon Kimble
  2015-01-03 19:30   ` Sharon Kimble
  2014-12-29  7:32 ` Steinar Bang
  1 sibling, 2 replies; 6+ messages in thread
From: Adam Sjøgren @ 2014-12-28 20:42 UTC (permalink / raw)
  To: ding

Sharon writes:

> I know how to search in the titles of saved posts, but how can I
> search *inside* each and every email please?

M-s in a *Summary* buffer searches through the articles:

,----
| M-s runs the command gnus-summary-search-article-forward, which is an
| interactive compiled Lisp function in `gnus-sum.el'.
| 
| It is bound to M-s, <menu-bar> <Gnus> <Search articles forward...>.
| 
| (gnus-summary-search-article-forward REGEXP &optional BACKWARD)
| 
| Search for an article containing REGEXP forward.
| If BACKWARD, search backward instead.
`----

For a more "search engine"-like experience, look at nnir.


  Best regards,

    Adam

-- 
 "Et FN-møde er ligesom et fællesmøde på Christiania:         Adam Sjøgren
  Alle skal være enige."                                 asjo@koldfront.dk




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

* Re: How to search inside emails?
  2014-12-28 19:52 How to search inside emails? Sharon Kimble
  2014-12-28 20:42 ` Adam Sjøgren
@ 2014-12-29  7:32 ` Steinar Bang
  1 sibling, 0 replies; 6+ messages in thread
From: Steinar Bang @ 2014-12-29  7:32 UTC (permalink / raw)
  To: ding

>>>>> Sharon Kimble <boudiccas@skimble.plus.com>:

> I know how to search in the titles of saved posts, but how can I
> search *inside* each and every email please?

That depends on the backend.  If the backend is nnimap and if the imap
server supports search (dovecot does), then 'G G' will search inside the
posts. 

I have no idea what's necessary for other mail backends.




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

* Re: How to search inside emails?
  2014-12-28 20:42 ` Adam Sjøgren
@ 2015-01-03 15:11   ` Sharon Kimble
  2015-01-03 19:19     ` Adam Sjøgren
  2015-01-03 19:30   ` Sharon Kimble
  1 sibling, 1 reply; 6+ messages in thread
From: Sharon Kimble @ 2015-01-03 15:11 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]

Sharon writes:

> I know how to search in the titles of saved posts, but how can I
> search *inside* each and every email please?

M-s in a *Summary* buffer searches through the articles:

,----
| M-s runs the command gnus-summary-search-article-forward, which is an
| interactive compiled Lisp function in `gnus-sum.el'.
| 
| It is bound to M-s, <menu-bar> <Gnus> <Search articles forward...>.
| 
| (gnus-summary-search-article-forward REGEXP &optional BACKWARD)
| 
| Search for an article containing REGEXP forward.
| If BACKWARD, search backward instead.
`----

For a more "search engine"-like experience, look at nnir.


  Best regards,

    Adam

Thanks for this Adam, I've just got round to trying it out, and its
not working as I expect, like, how do you continue the search from
one found mail? I've tried "M-s"/"M-r" again, but its prompting me
to choose my search term again which just then finds the mail that
I've already found! So it never advances like "I-search" does.

I'll have a look at "nnir" and see if I can get what I want from it.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: How to search inside emails?
  2015-01-03 15:11   ` Sharon Kimble
@ 2015-01-03 19:19     ` Adam Sjøgren
  0 siblings, 0 replies; 6+ messages in thread
From: Adam Sjøgren @ 2015-01-03 19:19 UTC (permalink / raw)
  To: ding

Sharon writes:

> its not working as I expect, like, how do you continue the search from
> one found mail? I've tried "M-s"/"M-r" again, but its prompting me to
> choose my search term again which just then finds the mail that I've
> already found! So it never advances like "I-search" does.

It does continue the search from where I am when I press M-s again (of
course if the search text matches several times in an article, it will
stay within the same article).

M-s starts searching at the article you are on, so if you want to skip
the current article, just go to the next and then press M-s.


  Best regards,

    Adam

-- 
 "Perl 5 is a velociraptor, but we need an                    Adam Sjøgren
  acceloraptor now."                                     asjo@koldfront.dk




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

* Re: How to search inside emails?
  2014-12-28 20:42 ` Adam Sjøgren
  2015-01-03 15:11   ` Sharon Kimble
@ 2015-01-03 19:30   ` Sharon Kimble
  1 sibling, 0 replies; 6+ messages in thread
From: Sharon Kimble @ 2015-01-03 19:30 UTC (permalink / raw)
  To: ding

In reply to a message sent by asjo@koldfront.dk (Adam Sjøgren) 6 days ago: 

<#secure method=pgpmime mode=sign>
> Sharon writes:
>
>> I know how to search in the titles of saved posts, but how can I
>> search *inside* each and every email please?
>
> M-s in a *Summary* buffer searches through the articles:
>
> ,----
> | M-s runs the command gnus-summary-search-article-forward, which is an
> | interactive compiled Lisp function in `gnus-sum.el'.
> | 
> | It is bound to M-s, <menu-bar> <Gnus> <Search articles forward...>.
> | 
> | (gnus-summary-search-article-forward REGEXP &optional BACKWARD)
> | 
> | Search for an article containing REGEXP forward.
> | If BACKWARD, search backward instead.
> `----
>
> For a more "search engine"-like experience, look at nnir.
>
>
Thanks for this Adam, I've finally got it working.

I was using "gnus" from source, which gave me version "Ma Gnus
v0.12" and I could never load "gnus-namazu.el" no matter where I
physically put it. So as I'd already got "namazu" installed from the
debian jessie repos, I commented out the source lines leading to my
git repo of gnus, and then restarted emacs, and ditto gnus. I'm now
running "Gnus v5.13" and I've been able to start namazu off and
index all my emails, and had several preliminary searches. I'll use
it in earnest tomorrow. I've also sorted out why I wasn't able to
reply to emails properly, being unable to have quoted text
showing. So things are back to normal again, hooray! :)

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0




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

end of thread, other threads:[~2015-01-03 19:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-28 19:52 How to search inside emails? Sharon Kimble
2014-12-28 20:42 ` Adam Sjøgren
2015-01-03 15:11   ` Sharon Kimble
2015-01-03 19:19     ` Adam Sjøgren
2015-01-03 19:30   ` Sharon Kimble
2014-12-29  7:32 ` Steinar Bang

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