Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-09 Thread James Griffin
Tue 7.May'13 at 11:09:54 -0400, Tim Gray > On May 07, 2013 at 02:53 PM +0100, Chris Green wrote: > >What other search programs work well with mutt? > > I used mairix long ago. I think notmuch [1] and mu [2] are superior. > I used to think notmuch had more going fo

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-08 Thread Gary Johnson
On 2013-05-08, Erik Christiansen wrote: > On 07.05.13 10:58, Gary Johnson wrote: > > On 2013-05-08, Erik Christiansen wrote: > > You might find this script, which I've named vimgrep, useful. > > > > #!/bin/bash > > > > tmp=$(mktemp) > > > > cat > $tmp > > exec < /dev/tty > >

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-08 Thread Derek Martin
On Wed, May 08, 2013 at 10:51:28PM +1000, Erik Christiansen wrote: > That hangs here, because /dev/tty is not used. (Confirmed by fuser) That's not quite right. /dev/tty is "magic" ... it refers to whatever the controlling terminal of the current process is. I can't immediately see why it's not

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-08 Thread Christian Brabandt
On Wed, May 8, 2013 14:51, Erik Christiansen wrote: > That's what I was trying to get away from, because (as described) it was > very clumsy to step blindly through the helpgrep hits, using those > commands. I have now tried your :copen suggestion with helpgrep, but > that splits the window into 3,

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-08 Thread Erik Christiansen
On 07.05.13 10:58, Gary Johnson wrote: > On 2013-05-08, Erik Christiansen wrote: > You might find this script, which I've named vimgrep, useful. > > #!/bin/bash > > tmp=$(mktemp) > > cat > $tmp > exec < /dev/tty > vim --cmd 'let &efm=&gfm' -q $tmp "$@" > rm $tmp > > It's

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Gary Johnson
On 2013-05-08, Erik Christiansen wrote: > If you always have a spare xterm or two open, then it is quick to bring > one to the foreground, whack in a quick egrep invocation, and pipe > its output to "more", or redirect it to a file, e.g: > > egrep -n 'line *number' /usr/local/src/vim73/runtime/do

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Marcelo Laia
I use notmuch! Is is perfect! If you are using Debian, apt-get install notmuch do the trick! http://notmuchmail.org/ Marcelo 2013/5/7 Will Fiveash : > On Tue, May 07, 2013 at 07:47:52AM -0700, Gary Johnson wrote: >> On 2013-05-07, Chris Green wrote: >> > On Wed, May 08, 2013 at 12:21:58AM +1000

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Will Fiveash
On Tue, May 07, 2013 at 07:47:52AM -0700, Gary Johnson wrote: > On 2013-05-07, Chris Green wrote: > > On Wed, May 08, 2013 at 12:21:58AM +1000, Erik Christiansen wrote: > > > On 07.05.13 14:53, Chris Green wrote: > > > > What other search programs work well with mutt? > > > > > > Mutt's own body s

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Chris Green
On Wed, May 08, 2013 at 12:51:35AM +1000, Erik Christiansen wrote: > On 07.05.13 15:32, Chris Green wrote: > > On Tue, May 07, 2013 at 10:21:49AM -0400, Patrick Shanahan wrote: > > > REs would be preferable but it does provide "fuzzy" searchs > > > > > Yes, I've used them occasionally, doesn't he

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Chris Green
On Tue, May 07, 2013 at 07:47:52AM -0700, Gary Johnson wrote: > On 2013-05-07, Chris Green wrote: > > On Wed, May 08, 2013 at 12:21:58AM +1000, Erik Christiansen wrote: > > > On 07.05.13 14:53, Chris Green wrote: > > > > What other search programs work well with mutt? > > > > > > Mutt's own body s

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Erik Christiansen
On 07.05.13 10:39, Patrick Shanahan wrote: > * John Niendorf [05-07-13 10:37]: > [...] > > What is egrep and how does it work? (OK I guess I could look up the man > > page.) > > Biggest question is: Is egrep a vim only thing or can a nano wimp use it > > too? ;-) > > Your question will be answ

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Erik Christiansen
On 07.05.13 15:32, Chris Green wrote: > On Tue, May 07, 2013 at 10:21:49AM -0400, Patrick Shanahan wrote: > > REs would be preferable but it does provide "fuzzy" searchs > > > Yes, I've used them occasionally, doesn't help with non alpha/number > strings though. Maybe I'm missing something, but

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Tim Gray
On May 07, 2013 at 02:53 PM +0100, Chris Green wrote: What other search programs work well with mutt? I used mairix long ago. I think notmuch [1] and mu [2] are superior. I used to think notmuch had more going for it compared to mu, but I've since settled on mu in the last year or two and h

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Gary Johnson
On 2013-05-07, Chris Green wrote: > On Wed, May 08, 2013 at 12:21:58AM +1000, Erik Christiansen wrote: > > On 07.05.13 14:53, Chris Green wrote: > > > What other search programs work well with mutt? > > > > Mutt's own body search does the job for me within a mail folder, and > > egrep provides ful

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Patrick Shanahan
* John Niendorf [05-07-13 10:37]: [...] > What is egrep and how does it work? (OK I guess I could look up the man page.) > Biggest question is: Is egrep a vim only thing or can a nano wimp use it too? > ;-) Your question will be answered when you do read the man page. -- (paka)Patrick Shanahan

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread John Niendorf
On Wed, May 08, 2013 at 12:21:58AM +1000, Erik Christiansen wrote: Mutt's own body search does the job for me within a mail folder, and egrep provides full Extended Regular Expressions when searching some set of my 1106 mail folders. What is egrep and how does it work? (OK I guess I could loo

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Chris Green
On Wed, May 08, 2013 at 12:21:58AM +1000, Erik Christiansen wrote: > On 07.05.13 14:53, Chris Green wrote: > > What other search programs work well with mutt? > > Mutt's own body search does the job for me within a mail folder, and > egrep provides full Extended Regular Expressions when searching

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Chris Green
On Tue, May 07, 2013 at 10:21:49AM -0400, Patrick Shanahan wrote: > * Chris Green [05-07-13 09:55]: > > I currently use mairix to search through my mutt mail, it's OK but has a > > couple of disadvantages:- > > I use mairix, also > > > It's word oriented so one can't search for anything tha

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Erik Christiansen
On 07.05.13 14:53, Chris Green wrote: > What other search programs work well with mutt? Mutt's own body search does the job for me within a mail folder, and egrep provides full Extended Regular Expressions when searching some set of my 1106 mail folders. Over more than a decade of mutt use, they'v

Re: Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Patrick Shanahan
* Chris Green [05-07-13 09:55]: > I currently use mairix to search through my mutt mail, it's OK but has a > couple of disadvantages:- I use mairix, also > It's word oriented so one can't search for anything that it doesn't > recognise as a word, I'd really prefer REs or something like.

Search utilities for use with mutt - I use mairix but it's not perfect

2013-05-07 Thread Chris Green
I currently use mairix to search through my mutt mail, it's OK but has a couple of disadvantages:- It's word oriented so one can't search for anything that it doesn't recognise as a word, I'd really prefer REs or something like. It 'finds' the relevant messages by copying them to a ne