Re: How to match a whole word?

2010-12-23 Thread Yue Wu
On Mon, Dec 20, 2010 at 11:05:53PM +, ja...@daemon.gnix.co.uk wrote:
  
  On Sun, Dec 19, 2010 at 07:40:03PM +, ja...@daemon.gnix.co.uk wrote:
   why can't you just compile it yourself and select the options you need
   and install the required libraries to suit?
 
 also, just to add to my earlier message, you could check the makefile in
 /usr/ports/mail/mutt-devel/ as it will provide you with 'knobs' you can
 activate by putting the appropriate entry in /etc/make.conf to set
 compile-time options; however, the option you are refering to is a
 default i think. check it to make sure. 

Realy sorry for replying so late! I didn't find any knob relative to
the regex, and no any explicitly declaration to disable such a
feature, and if the option is on by default (I think it should be),
maybe there is something wrong elsewhere, for example, mutt will
detect if there is some lib to support the gnu regex before turn the
option on, I will try to figure it out when I'm free.

Thank you for help!

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China


Re: Thunderbird-like mail archives (macro)

2010-12-23 Thread Michael Tatge
* On Tue, Dec 07, 2010 05:37PM + seanh (snh...@gmail.com) muttered:
 I'm trying to emulate Thunderbird 3's mail archiving behaviour in mutt. In
 Thunderbird if you select a mail or mails and hit the archive button or press
 the 'a' key then it moves the mail(s) into an archive folder. For each account
 it creates a folder called Archives with sub-folders for each year into which
 the mails are moved: Archives/2010, Archives/2009

Have a look at archivemail ( http://archivemail.sourceforge.net/ )

HTH,

Michael
-- 
We are using Linux daily to UP our productivity - so UP yours!
-- Adapted from Pat Paulsen by Joe Sloan

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Thunderbird-like mail archives (macro)

2010-12-23 Thread Kirill Miazine

How about this:

macro index,pager a save-message=Archives/`date +%Y`enter

* Michael Tatge [2010-12-23 11:51]:

* On Tue, Dec 07, 2010 05:37PM + seanh (snh...@gmail.com) muttered:

I'm trying to emulate Thunderbird 3's mail archiving behaviour in mutt. In
Thunderbird if you select a mail or mails and hit the archive button or press
the 'a' key then it moves the mail(s) into an archive folder. For each account
it creates a folder called Archives with sub-folders for each year into which
the mails are moved: Archives/2010, Archives/2009


Have a look at archivemail ( http://archivemail.sourceforge.net/ )

HTH,

Michael


--
Kirill Miazine
mailto:k...@krot.org
http://km.krot.org/


Re: Thunderbird-like mail archives (macro)

2010-12-23 Thread Daniel Schömer
Hi!

seanh schrieb:
 [...]
 
 But this still saves each message to an archive folder based on the current
 year when mutt was started, rather than on the year of the message. You can't
 define a save-hook based on the year of the message because there isn't an
 expando for that, only for the full date. I think it would require an external
 script, as suggested.

I use this save-hook with mutt 1.5.21:

  save-hook . +.INBOX.%[%Y]

I get '+.INBOX.2008' when I use the save-message command on
a message from 2008. I'm not sure if the sent-date or
received-date is used.

Daniel



Little plus signs

2010-12-23 Thread llwyble

I'm sorry if this was answered, I sent the question before but I think I had
my procmail entry screwed up and the answer possibly got canned.   :)

Is there any way to get the little plus signs to go away in Mutt that appear
at the beginning of a line break like this:

+blah blah

I would like the broken lines to continue so links won't be broken. Using
konsole in KDE let's me just click on the link in Mutt and go to the
website.

Thanks

-- 



If ye love wealth better than liberty, the tranquility of servitude
than the animated contest of freedom, go from us in peace. We ask
not your counsels or arms. Crouch down and lick the hands which
feed you. May your chains sit lightly upon you, and may posterity
forget that you were our countrymen.

Samuel Adams, August 1, 1776 at the Philadelphia State House





Re: Little plus signs

2010-12-23 Thread Leo Vegoda
On Thu, Dec 23, 2010 at 08:58:09PM -0600, llwy...@suddenlink.net wrote:
 
 I'm sorry if this was answered, I sent the question before but I think I had
 my procmail entry screwed up and the answer possibly got canned.   :)
 
 Is there any way to get the little plus signs to go away in Mutt that appear
 at the beginning of a line break like this:
 
 +blah blah
 
 I would like the broken lines to continue so links won't be broken. Using
 konsole in KDE let's me just click on the link in Mutt and go to the
 website.

I believe you want:

set markers = no

in your .muttrc file.

http://www.mutt.org/doc/devel/manual.html#markers

HTH,

Leo


Re: Little plus signs

2010-12-23 Thread llwyble
On Thu, Dec 23, 2010 at 07:15:50PM -0800, Leo Vegoda wrote:
 On Thu, Dec 23, 2010 at 08:58:09PM -0600, llwy...@suddenlink.net wrote:
  
  I'm sorry if this was answered, I sent the question before but I think I had
  my procmail entry screwed up and the answer possibly got canned.   :)
  
  Is there any way to get the little plus signs to go away in Mutt that appear
  at the beginning of a line break like this:
  
  +blah blah
  
  I would like the broken lines to continue so links won't be broken. Using
  konsole in KDE let's me just click on the link in Mutt and go to the
  website.
 
 I believe you want:
 
 set markers = no
 
 in your .muttrc file.
 
 http://www.mutt.org/doc/devel/manual.html#markers

Thanks a lot for the quick answer. I used Mutt for years back in the late
90's and early 2000's then went to graphical stuff. Now I'm back.  :)

Just taking a little while to get used to it again. I forgot how fast this
little mail app is. Powerful too.

 
 HTH,
 
 Leo

-- 



If ye love wealth better than liberty, the tranquility of servitude
than the animated contest of freedom, go from us in peace. We ask
not your counsels or arms. Crouch down and lick the hands which
feed you. May your chains sit lightly upon you, and may posterity
forget that you were our countrymen.

Samuel Adams, August 1, 1776 at the Philadelphia State House





Re: Thunderbird-like mail archives (macro)

2010-12-23 Thread Brandon Sandrowicz
On Thu, Dec 23, 2010 at 10:06:48PM +0100, Kirill Miazine wrote:
 * Michael Tatge [2010-12-23 11:51]:
 * On Tue, Dec 07, 2010 05:37PM + seanh (snh...@gmail.com) muttered:
 I'm trying to emulate Thunderbird 3's mail archiving behaviour in mutt. In
 Thunderbird if you select a mail or mails and hit the archive button or 
 press
 the 'a' key then it moves the mail(s) into an archive folder. For each 
 account
 it creates a folder called Archives with sub-folders for each year into 
 which
 the mails are moved: Archives/2010, Archives/2009
 
 Have a look at archivemail ( http://archivemail.sourceforge.net/ )
 
 HTH,
 
 Michael
 
 How about this:
 
 macro index,pager a save-message=Archives/`date +%Y`enter
 
 -- 
 Kirill Miazine
 mailto:k...@krot.org
 http://km.krot.org/

That doesn't take into account the date that the mail was sent and/or
received.
-- 
Brandon