Re: ignore
Hi, Joshua N Pritikin! Sometime (on Wednesday, May 19 at 19:06) I've received something... >Hi! > >First of all, thanks for developing such a great piece of software! > >I am interested in seeing all the mail headers and then pruning them >down. However, this doesn't seem to work: > > unignore * > ignore X-Filter In-Reply-To Autoforwarded X-UID > >After 'unignore *', mutt seems to forget about the ignores. Am I >doing something wrong? You're right. It's bug in "[un]ignore" code. Due to this bug You cannot use any [un]ignore commands on hook's. This was fixed by me and is part of our NNTP patch. Look to attachment! :-) WBR, Andrej. diff -udpr mutt-0.96.1.orig/init.c mutt-0.96.1.news/init.c --- mutt-0.96.1.orig/init.c Thu Jan 7 21:01:20 1999 +++ mutt-0.96.1.news/init.c Wed Mar 10 17:28:29 1999 @@ -286,6 +286,8 @@ int mutt_extract_token (BUFFER *dest, BU return 0; } +static short _NeedToErase = 0; + void mutt_add_to_list (LIST **list, BUFFER *inp) { LIST *t, *last = NULL; @@ -296,6 +298,8 @@ void mutt_add_to_list (LIST **list, BUFF { mutt_extract_token (&buf, inp, 0); +if (_NeedToErase && mutt_strcmp ("*", buf.data) == 0) + continue; /* check to make sure the item is not already on this list */ for (last = *list; last; last = last->next) { @@ -368,14 +372,26 @@ static void remove_from_list (LIST **l, static int parse_unignore (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err) { + char *p = s->dptr; + + /* + * since `*' cannot be placed on UnIgnore (it will be abort all Ignore), + * it just need to delete all Ignore. + */ + _NeedToErase++; mutt_add_to_list (&UnIgnore, s); + s->dptr = p; remove_from_list (&Ignore, s); + _NeedToErase = 0; return 0; } static int parse_ignore (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err) { + char *p = s->dptr; + mutt_add_to_list (&Ignore, s); + s->dptr = p; remove_from_list (&UnIgnore, s); return 0; }
Re: mutt-announce unused?
Warning Could not process message with given Content-Type: multipart/signed; boundary=y2zxS2PfCDLh6JVG; micalg=pgp-md5;protocol="application/pgp-signature"
MS Outlook Conversion
Does anyone have any Ideas on how to Convert some 8000 messages in a MS Outlook *.pst file to some think mutt manageable? Ideally I would like to pass it all through Procmail to handle all my filtering etc. Thanks in advance John
Re: MS Outlook Conversion
On Thu, May 20, 1999 at 10:43:47AM -0400, John C Borkowski III wrote: > Does anyone have any Ideas on how to Convert some 8000 > messages in a MS Outlook *.pst file to some think > mutt manageable? Best way I can think of is upload them all to an IMAP folder and get Mutt to read that. g.
Re: "default" color with slang
Paul A . <[EMAIL PROTECTED]> wrote: > > At first I just thought that's the way it works, but I've noticed that > lynx with slang (and without any COLORFGBG variable) does exactly what > I want, so it looks to me like there's something mutt could be doing > differently. I believe that Mutt uses slang's curses-emulation library, whereas Lynx is probably using Slang's direct interface. So Lynx can control the colors more directly than the curses interface allows with Slang. I think that's how it was explained to me years ago. -- David DeSimone | "The doctrine of human equality reposes on this: [EMAIL PROTECTED] | that there is no man really clever who has not Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson Convex Division |PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44
Re: mutt-announce unused?
Schröder, Martin wrote: > > > I didn't see any announcement here either,... was there one? > > Subject: [Announce] New versions. > > Message-ID: <[EMAIL PROTECTED]> > Did anybody get it on -users or -announce? I didn't. I didn't get any of them. Regards, Axel -- Axel Beckert - [EMAIL PROTECTED] - http://abe.home.pages.de/ Dept. of Computer Science, University of Saarland (Germany) Artificial Intelligence Laboratory (AI Lab), Prof. Dr. W. Wahlster; WWW-Administrator IBFI Schloss Dagstuhl; Students Representative
2 questions
Thanks for the response. I'll have to check into procmail. Sounds like heaven. Until then, mutt is still not allowing me to save to the directory in ~/Mail. The error mutt reports is "~/Mail/mutt-users is not a mailbox" An ls -l on my ~/Mail directory produces: drwx--x--x 2 bhueth bhueth 1024 May 18 09:25 debian-users drwxr-xr-x 2 bhueth bhueth 2048 May 20 12:44 drafts drwx--x--x 2 bhueth bhueth 8192 May 20 14:15 inbox drwx--x--x 2 bhueth bhueth 1024 May 18 09:13 isulinux drwxr-xr-x 2 bhueth bhueth 1024 May 18 09:22 mutt-users drwxr-xr-x 2 bhueth bhueth 5120 May 20 12:44 sent drwx--x--x 2 bhueth bhueth 2048 May 6 15:06 spam drwxr-xr-x 2 bhueth bhueth 7168 May 20 14:15 trash I have no troubles saving messages to the other boxes. Brent
Re: 2 questions
Brent Hueth <[EMAIL PROTECTED]> wrote: > > The error mutt reports is "~/Mail/mutt-users is not a mailbox" You should look at the mailbox to see what's wrong with it. > drwx--x--x 2 bhueth bhueth 1024 May 18 09:25 debian-users > drwxr-xr-x 2 bhueth bhueth 2048 May 20 12:44 drafts > drwx--x--x 2 bhueth bhueth 8192 May 20 14:15 inbox > drwx--x--x 2 bhueth bhueth 1024 May 18 09:13 isulinux > drwxr-xr-x 2 bhueth bhueth 1024 May 18 09:22 mutt-users > drwxr-xr-x 2 bhueth bhueth 5120 May 20 12:44 sent > drwx--x--x 2 bhueth bhueth 2048 May 6 15:06 spam > drwxr-xr-x 2 bhueth bhueth 7168 May 20 14:15 trash Here, mutt-users is a directory. A mailbox takes one of three forms in Mutt: 1. Mbox A flat file. A directory is not a file. 2. Maildir A directory containing three subdirectories, new, cur, and tmp. If it does not contain those directories (and only those), then it is not a maildir. 3. MH mailbox A directory that contains a .mh_sequences file (as used by MH). Of these, you probably are trying to use #2, Maildir. But something is wrong inside the mutt-users mail directory. Go and look there. Compare it to the other mailboxes in your ~/Mail directory. -- David DeSimone | "The doctrine of human equality reposes on this: [EMAIL PROTECTED] | that there is no man really clever who has not Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson Convex Division |PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44
Re: 2 questions
Warning Could not process message with given Content-Type: multipart/signed; boundary=SNIs70sCzqvszXB4; micalg=pgp-md5;protocol="application/pgp-signature"
Re: mutt-announce unused?
Warning Could not process message with given Content-Type: multipart/signed; boundary=2FkSFaIQeDFoAt0B; micalg=pgp-md5;protocol="application/pgp-signature"
Re: MS Outlook Conversion
On 20-May-1999, John C Borkowski III wrote: > Does anyone have any Ideas on how to Convert some 8000 > messages in a MS Outlook *.pst file to some think > mutt manageable? I believe I saw something called MSToNS in linuxapps.com that can convert from Outlook Express (ultimately anything that can be imported from OE) to netscape mailbox, which I presume is mbox. I haven't tried it myself. -- Ronny Haryanto
Re: MS Outlook Conversion
On Thu, May 20, 1999 at 04:24:46PM -0500, Ronny Haryanto wrote: > On 20-May-1999, John C Borkowski III wrote: > > Does anyone have any Ideas on how to Convert some 8000 > > messages in a MS Outlook *.pst file to some think > > mutt manageable? > > I believe I saw something called MSToNS in linuxapps.com that can > convert from Outlook Express (ultimately anything that can be imported > from OE) to netscape mailbox, which I presume is mbox. I haven't tried > it myself. Unfortunately netscape mailbox is nowhere near mbox :( Greetz, Peter -- | 'He broke my heart,| Peter van Dijk | I broke his neck' | [EMAIL PROTECTED] | nognikz - As the sun |Hardbeat@ircnet - #cistron/#linux.nl | | Hardbeat@undernet - #groningen/#kinkfm/#vdh |