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: Any way to speed up regexp based coloring in bodies?

2013-05-08 Thread hubert depesz lubaczewski
On śro, maj 08, 2013 at 09:24:12 +1000, Cameron Simpson wrote: > message-hook . 'uncolor body "(http|https|ftp)://"'' > message-hook "~z 1-16384" 'color body color163 default > "(http|https|ftp)://"' Tested, and it works great (well, there is a typo in first line - '' at the and, and should b

Re: Any way to speed up regexp based coloring in bodies?

2013-05-08 Thread hubert depesz lubaczewski
On śro, maj 08, 2013 at 09:24:12 +1000, Cameron Simpson wrote: > Does it take this long with the simplified regexp above, or only > your more complicated ones? It is possibly to accidentally write > quite expensive regexps. Yes. It is slow even with simpler regexps. It looks like if the regexp mat

Re: Relative timestamp ?

2013-05-08 Thread Christian Brabandt
On Wed, May 8, 2013 10:25, Max Rydahl Andersen wrote: > Hi, > > Is it in any way possible to have mutt show relative time instead of just > date for emails ? > > i.e. 10 min ago, Today, yesterday, 2 days ago and then dates when beyond a > week. > > Similar to what thunderbird, gmail, apple mail and

Relative timestamp ?

2013-05-08 Thread Max Rydahl Andersen
Hi, Is it in any way possible to have mutt show relative time instead of just date for emails ? i.e. 10 min ago, Today, yesterday, 2 days ago and then dates when beyond a week. Similar to what thunderbird, gmail, apple mail and other mail clients do ? I looked in the various format strings I

Sending mail to mutt-users from gmail ?

2013-05-08 Thread Max Rydahl Andersen
Hey, I got all html stuff disabled on gmail webui but when I try post here via gmail my emails are being rejected as being html mail. Anyone know how to avoid that for the times where I don't have access to mutt ? /max