Re: Filtering a message from the index - procmail

2002-03-21 Thread Rocco Rutte
Hello, On Wed, Mar 20, 2002 at 04:57:48:PM -0700 Steve Talley wrote: The pipe command doesn't save the output of the command as a new version of the message. It also doesn't mark the original message as deleted. Right. But why not write a macro which: 1) pipes the message to a command

Re: Filtering a message from the index - procmail

2002-03-21 Thread Rocco Rutte
Hi, On Wed, Mar 20, 2002 at 06:11:22:PM -0700 Steve Talley wrote: Rocco Rutte wrote: Right. But why not write a macro which: 1) pipes the message to a command (this command may be a shell script using another instance of Mutt to send the *changed* mail to yourself), What

Re: Filtering a message from the index - procmail

2002-03-21 Thread Rocco Rutte
Hi, On Thu, Mar 21, 2002 at 02:48:00:AM +0100 Sven Guckes wrote: * Rocco Rutte [EMAIL PROTECTED] [2002-03-21 01:01]: Should even fit on a line in your config as works by pressing just *one* key. I guess, this won't end up quickly and I'm running out of coffee... ;-) well, you can put

Re: Filtering a message from the index - procmail

2002-03-21 Thread David T-G
Steve -- ...and then Steve Talley said... % % If mutt has the ability to allow the user to edit a message, and then % automatically save it to the mail folder, and delete the orignal, why % shouldn't it be able to do the same with an arbitrary shell script? It can -- just as you've defined it

Re: Filtering a message from the index - procmail

2002-03-21 Thread David T-G
Mike, et al -- ...and then Mike Schiraldi said... % % Someone posted a patch a few months ago which has mutt change the file's % timestamp to one second ago before calling the editor, so that you % wouldn't need that pause. That's Byrial's ed_mtime patch. It was needed up through 1.2 but the

Re: Replacing a message with its filtered output

2002-03-21 Thread David T-G
Steve -- This is my only other response on the subject, I promise :-) ...and then Steve Talley said... % % It looks like modifying the $editor variable and resetting it later is % the easiest solution. It's a shame mutt can't do this more elegantly. I can't imagine a more elegant way, since

Re: defining a command (was Re: Filtering a message ...)

2002-03-21 Thread David T-G
Rocco -- ...and then Rocco Rutte said... % % Hi, Hello! % % On Wed, Mar 20, 2002 at 06:11:22:PM -0700 Steve Talley wrote: % % There's only one thing I really miss: I'd like to be abled to define my % own commands. Something like: % % define my-command-1

Re: wrong threading with both 'In-Reply-To' and 'References'

2002-03-21 Thread David T-G
Shawn -- ...and then Shawn McMahon said... % % begin quoting what Sven Guckes said on Wed, Mar 20, 2002 at 11:52:42PM +0100: % % Can I convince mutt to ignore the In-Reply-To % header if there is a References header? ... % % I guess he could use procmail to remove the In-Reply-To header

Re: disabling save-to-username default

2002-03-21 Thread David T-G
Nat, et al -- ...and then Nathaniel Irons said... % % On Wed, Mar 20, 2002 at 09:55:43AM -0800, Gary Johnson wrote: % On Wed, Mar 20, 2002 at 12:39:23PM -0500, David T-G wrote: % % You could either turn off $save_name, but have to remember to turn it % back on, but have to figure out

Re: wrong threading with both 'In-Reply-To' and 'References'

2002-03-21 Thread Shawn McMahon
begin quoting what David T-G said on Thu, Mar 21, 2002 at 07:28:07AM -0500: See the original mail; he already begged to not go that route because of all of his old mail that would need reprocessing. man perl :-) msg25859/pgp0.pgp Description: PGP signature

Re: mutt: compose format

2002-03-21 Thread Michael Elkins
Florian Schintke wrote: It would be great if mutt would wrap the fields dispayed in the compose window over several lines if necessary. If I mail to many people, like a bunch of students I can only see two or three of the names in the 'To:' field, because the list is too long. It would be

Re: Replacing a message with its filtered output

2002-03-21 Thread Mike Schiraldi
Perhaps something as simple as renaming the edit-message function to tweak-message, telling it to use $tweak_prog which defaults to $editor if $t_p is undefined, and explaining in the manual why tweak-message is bound to 'e' would do it. How about just adding a command called edit-with? It

Re: Replacing a message with its filtered output

2002-03-21 Thread Mike Schiraldi
Here's the patch. I wrote it, i'll let you test it. Don't forget to sleep 1 or else mutt will assume your script didn't do anything. -- Mike Schiraldi VeriSign Applied Research Index: OPS === RCS file:

how to set default from address

2002-03-21 Thread Pankaj Jangid
set from = [EMAIL PROTECTED] is not working -- Pankaj Jangid National Centre for Software Technology msg25863/pgp0.pgp Description: PGP signature

Re: Filtering a message from the index - procmail

2002-03-21 Thread David Champion
* On 2002.03.20, in [EMAIL PROTECTED], * Rocco Rutte [EMAIL PROTECTED] wrote: There's only one thing I really miss: I'd like to be abled to define my own commands. Something like: define my-command-1 'mutt-command-1mutt-command-2enter' define my-command-2

Re: Filtering a message from the index - procmail

2002-03-21 Thread darren chamberlain
Quoting David Champion [EMAIL PROTECTED] [Mar 21, 2002 13:15]: * On 2002.03.20, in [EMAIL PROTECTED], * Rocco Rutte [EMAIL PROTECTED] wrote: There's only one thing I really miss: I'd like to be abled to define my own commands. Something like: define my-command-1

Re: Replacing a message with its filtered output

2002-03-21 Thread Steve Talley
Mike Schiraldi wrote: Perhaps something as simple as renaming the edit-message function to tweak-message, telling it to use $tweak_prog which defaults to $editor if $t_p is undefined, and explaining in the manual why tweak-message is bound to 'e' would do it. How about just adding a

Re: Filtering a message from the index - procmail

2002-03-21 Thread Steve Talley
David T-G wrote: Steve -- ...and then Steve Talley said... If mutt has the ability to allow the user to edit a message, and then automatically save it to the mail folder, and delete the orignal, why shouldn't it be able to do the same with an arbitrary shell script? It can -- just

Re: wrong threading with both 'In-Reply-To' and 'References'

2002-03-21 Thread Steve Talley
David T-G wrote: Can I convince mutt to ignore the In-Reply-To header if there is a References header? ... I guess he could use procmail to remove the In-Reply-To header if there is a References header. Or rewrite it to say the same thing. See the original mail; he already

Re: how to set default from address

2002-03-21 Thread Sam
Try, my_hdr From: [EMAIL PROTECTED] (My Name) Sam On Thu, 21 Mar 2002, Pankaj Jangid wrote: set from = [EMAIL PROTECTED] is not working -- Pankaj Jangid National Centre for Software Technology -- Satyajit Grover http://www.cs.pdx.edu/~satyajit/

Re: Changing/inserting headers with a macro

2002-03-21 Thread Daniel Bye
Thanks to those of you who came back with useful suggestions. David Ellement suggested this little concoction, and that's what I'm using now: macro index M :my_hdr Importance: high\nmail Thanks again Dan. On Wed, Mar 20, 2002 at 08:08:09PM +, Daniel Bye wrote: Hi all, Wonder if

Re: Changing/inserting headers with a macro

2002-03-21 Thread David T-G
Dan -- ...and then Daniel Bye said... % % Thanks to those of you who came back with useful suggestions. HTH % % David Ellement suggested this little concoction, and that's what I'm using % now: % % macro index M :my_hdr Importance: high\nmail From the manual 3.12. User defined

Re: disabling save-to-username default

2002-03-21 Thread Nathaniel Irons
On Thu, Mar 21, 2002 at 07:53:53AM -0500, David T-G wrote: % $save_name refers to copies of outgoing messages, correct? (Otherwise % the documentation is wrong). It has been verified to me off-list that $save_name will not only determine the target for your fcc but also for where a

Re: disabling save-to-username default

2002-03-21 Thread David T-G
Nat -- ...and then Nathaniel Irons said... % % On Thu, Mar 21, 2002 at 07:53:53AM -0500, David T-G wrote: % % % $save_name refers to copies of outgoing messages, correct? (Otherwise % % the documentation is wrong). % % It has been verified to me off-list that $save_name will not only ...

Re: Changing/inserting headers with a macro

2002-03-21 Thread Daniel Bye
On Thu, Mar 21, 2002 at 02:40:09PM -0500, David T-G wrote: it appears to me that you'll want a default send-hook that will undo this for you UNLESS YOU INTEND TO COMMUNICATE ONLY WITH AOL USERS FROM NOW ON ;-) Yeah, I simply defined this macro: macro index m :unmy_hdr Importance\nmail

Re: Replacing a message with its filtered output

2002-03-21 Thread Steve Talley
This is cool! Thanks Mike! One suggestion I could see for improvement would be to prompt for a filter program (instead of an alternate editor) and then replace the message with the STDOUT of the filter. That way simple things like: sed 's/\re:/Re:/i' or grep -v '^X-Priority' would

Re: hellos goodbyes thanks signoffs and sigs

2002-03-21 Thread Sven Guckes
* Daniel Bye [EMAIL PROTECTED] [2002-03-21 20:07]: % % Thanks again HTH HAND % % Dan. :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL

Re: Changing/inserting headers with a macro - vi example

2002-03-21 Thread Sven Guckes
* Daniel Bye [EMAIL PROTECTED] [2002-03-21 20:07]: On Thu, Mar 21, 2002 at 02:40:09PM -0500, David T-G wrote: it appears to me that you'll want a default send-hook that will undo this for you UNLESS YOU INTEND TO COMMUNICATE ONLY WITH AOL USERS FROM NOW ON ;-) Yeah, I simply defined this

Re: Changing/inserting headers with a macro - vi example

2002-03-21 Thread Simon White
21-Mar-02 at 22:32, Sven Guckes ([EMAIL PROTECTED]) wrote : however, you will thereby lose 'm' for the mail command. maybe you have no use for this, but... Not if you have remapped another key to the mail command, such as if you were an ex PINE junkie who keeps hitting c and ends up changing

Re: Replacing a message with its filtered output

2002-03-21 Thread Sven Guckes
* Steve Talley [EMAIL PROTECTED] [2002-03-21 20:35]: One suggestion I could see for improvement would be to prompt for a filter program (instead of an alternate editor) and then replace the message with the STDOUT of the filter. jeez - what else does mutt have to get for this? if you want

Re: Changing/inserting headers with a macro - vi example

2002-03-21 Thread Daniel Bye
Right, let's see how many faux pas I can commit _this_ time... On Thu, Mar 21, 2002 at 10:32:39PM +0100, Sven Guckes wrote: Yeah, I simply defined this macro: macro index m :unmy_hdr Importance\nmail which clears the my_hdr: thing. however, you will thereby lose 'm' for the mail

Re: defining a command - internal langauge

2002-03-21 Thread Sven Guckes
* Jeremy Blosser [EMAIL PROTECTED] [2002-03-21 16:49]: Anyway, this is probably just one more place where a real internal scripting backend with variables and loops, etc., would be nice to have. Everyone knows it, but no one is up to the work yet it seems. ;) LISP. There - I've said it.

Re: Replacing a message with its filtered output

2002-03-21 Thread Mike Schiraldi
or grep -v '^X-Priority' would work. .. which you can use via a subshell. I don't know. It would be nice to press the key bound to filter and type, like, perl -pe 's/.*?//g' to remove all HTML tags from a message. Or tr A-Za-z N-ZA-Mn-za-m to rot13 a message. Of course, that'd mess up

Re: defining a command - internal langauge

2002-03-21 Thread Michael Elkins
Sven Guckes wrote: * Jeremy Blosser [EMAIL PROTECTED] [2002-03-21 16:49]: Anyway, this is probably just one more place where a real internal scripting backend with variables and loops, etc., would be nice to have. Everyone knows it, but no one is up to the work yet it seems. ;) LISP.

ASCII Ribbon Campaign

2002-03-21 Thread Sven Guckes
* Daniel Bye [EMAIL PROTECTED] [2002-03-21 22:09]: macro index m :unmy_hdr Importance\nmail which clears the my_hdr: thing. however, you will thereby lose 'm' for the mail command. Well, no - the new definition of m turns off the header, then invokes mutt's internal mail command... It

Re: Replacing a message with its filtered output

2002-03-21 Thread Steve Talley
Mike Schiraldi wrote: or grep -v '^X-Priority' would work. .. which you can use via a subshell. I don't know. It would be nice to press the key bound to filter and type, like, perl -pe 's/.*?//g' to remove all HTML tags from a message. Or tr A-Za-z N-ZA-Mn-za-m to rot13 a

Re: Replacing a message with its filtered output

2002-03-21 Thread Rob Reid
Why do you need to *replace* the message with its filtered version? At 5:18 PM EST on March 21 Mike Schiraldi sent off: I don't know. It would be nice to press the key bound to filter and type, like, perl -pe 's/.*?//g' to remove all HTML tags from a message. It's practically a necessity

Re: Replacing a message with its filtered output

2002-03-21 Thread Rob Reid
At 6:50 PM EST on March 21 Steve Talley sent off: One more example: formail -i 'References: ...' to force a message into a thread (and overcome poorly-behaved mailers that leave out the References: and In-Reply-To: headers). I like patch-1.3.25.cd.edit_threads.9.1 for that. -- It

Re: defining a command - internal langauge

2002-03-21 Thread Shawn McMahon
begin quoting what Michael Elkins said on Thu, Mar 21, 2002 at 02:25:46PM -0800: This converstion comes up every once in a while and devolves into my programming language is better than yours ultimately. Just put an INTERCAL interpreter in there. Or, better yet, befunge. Then you can say

Re: Replacing a message with its filtered output

2002-03-21 Thread Gary Johnson
On Thu, Mar 21, 2002 at 07:10:40PM -0500, Rob Reid wrote: Why do you need to *replace* the message with its filtered version? At 5:18 PM EST on March 21 Mike Schiraldi sent off: I don't know. It would be nice to press the key bound to filter and type, like, perl -pe 's/.*?//g' to

Re: Filtering a message from the index - procmail

2002-03-21 Thread Cameron Simpson
On 11:44 21 Mar 2002, Steve Talley [EMAIL PROTECTED] wrote: | David T-G wrote: | ...and then Steve Talley said... | If mutt has the ability to allow the user to edit a message, and | then automatically save it to the mail folder, and delete the | orignal, why shouldn't it be able to do the

Re: Replacing a message with its filtered output

2002-03-21 Thread Rob Reid
At 7:33 PM EST on March 21 Gary Johnson sent off: On Thu, Mar 21, 2002 at 07:10:40PM -0500, Rob Reid wrote: # Despite the name, stripmime.pl is really for deHTMLization. macro index H |/home/reid/bin/stripmime.pl /var/spool/mail/reid i.e. it makes a copy that goes in my inbox, and

Getting the location of the current folder

2002-03-21 Thread Rob Reid
Is there a way to pass the location of the current folder to the shell? This is being discussed in the filtering thread, but I also want to use it in my thread killfiler. There are some threads (including in my inbox) that I don't want being counted as new mail, so I filter them out with a

Re: defining a command

2002-03-21 Thread Rocco Rutte
Hi, On Thu, Mar 21, 2002 at 07:25:50:AM -0500 David T-G wrote: ...and then Rocco Rutte said... % There's only one thing I really miss: I'd like to be abled to define my % own commands. Something like: % % define my-command-1 'mutt-command-1mutt-command-2enter' % define

Re: defining a command

2002-03-21 Thread Rocco Rutte
Hi, On Thu, Mar 21, 2002 at 10:56:43:AM -0600 Jeremy Blosser wrote: Anyway, this is probably just one more place where a real internal scripting backend with variables and loops, etc., would be nice to have. Yepp. Everyone knows it, but no one is up to the work yet it seems. ;) It would be

experience/questions : switching from Netscape to mutt

2002-03-21 Thread Flavien
Hi, As the subject says, I recently switched from Netscape to mutt, a couple of weeks ago. I wanted to do it for a long time, for several reasons, but you know how lazy one can be when it comes to changing ones habits... :o) I spent some time on the configuration, and it's _almost_ perfect

Re: Replacing a message with its filtered output

2002-03-21 Thread Gary Johnson
On Thu, Mar 21, 2002 at 07:58:16PM -0500, Rob Reid wrote: At 7:33 PM EST on March 21 Gary Johnson sent off: You're going to too much work, and I would imagine that the results don't look very good. To fix HTML e-mail, just put this in your mailcap file: text/html; w3m -dump %s;

Re: experience/questions : switching from Netscape to mutt

2002-03-21 Thread Will Yardley
Flavien wrote: *) I filter my fetchmailed-mails through procmail and send the mails to the appropriate folders (especially mailing lists). Mutt does not show N in front of the dirs. just to check, do you have them listed in your muttrc as 'mailboxes' ? *) Aliases : Do I really have to

Re: Mail is not reaching destination

2002-03-21 Thread Justin R. Miller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Said Jerry Van Brimmer on Thu, Mar 21, 2002 at 08:19:40PM -0800: I'm new to Mutt. I have been able to get Mutt set up so that I can POP download my email and read it, but I can't get mail to reach it's destination. When I press y to send, I can

Re: Mail is not reaching destination

2002-03-21 Thread Jerry Van Brimmer
Yes, I am using sendmail, but I have no clue as to where sendmail's log file is. Do you know? Thanks On Fri, 22 Mar 2002 00:20:35 -0500 Justin R. Miller [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Said Jerry Van Brimmer on Thu, Mar 21, 2002 at 08:19:40PM -0800:

Re: Mail is not reaching destination

2002-03-21 Thread Will Yardley
Jerry Van Brimmer wrote: Yes, I am using sendmail, but I have no clue as to where sendmail's log file is. Do you know? this depends on your operating system. sounds from your original message like you're using linux; most likely your logs will be in /var/log - the mail stuff will possibly

Re: Replacing a message with its filtered output

2002-03-21 Thread Rocco Rutte
Hi, On Thu, Mar 21, 2002 at 04:33:47:PM -0800 Gary Johnson wrote: You're going to too much work, and I would imagine that the results don't look very good. To fix HTML e-mail, just put this in your mailcap file: text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput and this in

Re: experience/questions : switching from Netscape to mutt

2002-03-21 Thread Rocco Rutte
Hi, On Fri, Mar 22, 2002 at 01:10:52:AM +0100 Flavien wrote: *) When reading a list, I often press 'd'. I would like mutt to display the next _unread_ message, and not the next message in the list (I have the messages sorted by thread, thus it often displays messages I already read). Just