Re: editing to/from etc in compose window
On Mon 08-Apr-2002 at 01:25:08 +1200, Volker Kuhlmann wrote: built-in editor - Right at the end of the manual of course ;-). Hm, I presume you must mean the editor window key bindings. Sorry, but the editor window is when I edit message bodies. If editing e.g. the fcc field in composer after pressing f is also the editor, the manual should say so. True, there are two different things in the manual both called editor, one is internal and line-oriented, the other is a user-specified external program. Actually, the built-in editor _can_ be used instead of vi/vim/pico etc.. If you make sure you have no $EDITOR or $VISUAL set in your environment and then ':unset editor' before composing a message, then it is used by default (I can't think of any real use for this). -- Bruno
Re: syntax highlighting in mutt
* Jim MacBaine [EMAIL PROTECTED] [2002-04-05 16:52]: Hello everybody, I'm regularly recieving perl and java programs and I have to sort out the good from the bad. Perl - good. Java - bad. Done. :) Right now I'm using mutt and use a mailcap entry to open the attachments in NEdit to have the syntax highlighted and help my brain sorting the code. Why are you attempting to do this in your MUA? But it would be great to have a auto_view filter that shows the mail coloured. Something like lynx -dump with the right escape sequences. Have you considered using vim as your pager? I've not digged deeper into vi/vim than the basic editing functions, but perhaps it can be misused for this... vim already does syntax highlighting, if you have it configured for it, so that should be a good way to go. (darren) -- A computer lets you make more mistakes faster than any other invention, with the possible exceptions of handguns and Tequila. -- Mitch Ratcliffe
Re: syntax highlighting in mutt
* Thomas Dickey [EMAIL PROTECTED] [2002-04-05 17:57]: On Fri, Apr 05, 2002 at 06:01:44PM -0500, David T-G wrote: ...and then Jim MacBaine said... I'm regularly recieving perl and java programs and I have to sort out the good from the bad. The perl sounds fun, but I feel for you for the java junk ;-) At least java has a well-defined grammar which makes it easy to parse. (perl, otoh...) Perl parser? Sure, look at perly.c and toke.c in the perl source... I haven't seen a syntax highlighter for perl that handles all of perl (counting vim, vile, emacs). As a professional perl programmer, I have to say that I've found vim to be the least deficient in parsing perl syntax. Better than Emacs' cperl-mode (not a flame, and observation!) and light year's better than anything else (have you how atrocious enscript's syntax highlighting for perl is?). The things most highlighter seem to have a problem with (inculding emacs) is POD, regexes, and the alternative quoting mechanisms. Perhaps that should be a feature of perl 6. Actually, it is. (darren) -- We must respect the other fellow's religion, but only in the sense and to the extent that we respect his theory that his wife is beautiful and his children smart. -- H.L.Mencken
Re: syntax highlighting in mutt
On Mon, 8 Apr 2002, darren chamberlain wrote: As a professional perl programmer, I have to say that I've found vim to be the least deficient in parsing perl syntax. Better than Emacs' cperl-mode (not a flame, and observation!) and light year's better than anything else (have you how atrocious enscript's syntax highlighting for perl is?). The things most highlighter seem to have a problem with (inculding emacs) is POD, regexes, and the alternative quoting mechanisms. not at all - I see (whenever I work on that one) that vim has about as many defects in its parser as vile. ymmv. -- T.E.Dickey [EMAIL PROTECTED] http://invisible-island.net ftp://invisible-island.net
Generic display filter with Procmail-like rules
Hi. After trying and liking a lot t-prot[1], I wanted something more general, with Procmail-like rules. And I wanted to code some thing useful for fun. I have therefore quickly written a very poorly documented generic display filter, which can do all t-prot does and more (fix signatures, quoting, remove over-quoting, footers, etc). Potentially, pretty much any kind of filtering could be done on messages. Even though it's not user-friendly (i.e. not documented and you need to grok Perl and guess what I had in mind sometimes), I put it on the Web in case it is useful to somebody else, and I am therefore announcing it to Mutt users: http://larve.net/people/hugo/2002/04/mutt-display-filter Comments and contributions are welcome. Regards, Hugo 1. http://www.escape.de/users/tolot/mutt/t-prot/ -- Hugo Haas [EMAIL PROTECTED] - http://larve.net/people/hugo/ Alright Brain... It's all up to you. -- Homer J. Simpson
Re: undelete
VB wrote: Once I mark a message as deleted and exit mutt, where does it move the message? I.e., is the message recoverable/undeletable after exiting mutt? In most cases, a deleted message is not recoverable. The only exceptions to this rule are for MH style mailboxes where messages get renamed with a comma prepended (controlled via $mh_delete), or maildir-style mailboxes with the $maildir_trash option set.
Re: undelete
On Mon, Apr 08, 2002 at 09:21:21AM -0800, [EMAIL PROTECTED] wrote: Once I mark a message as deleted and exit mutt, where does it move the message? Assuming you answered yes to the 'delete ... messages?' question, it goes to the Great Mailbox in the Sky. I.e., is the message recoverable/undeletable after exiting mutt? No. Caveat: depending on the type of mailbox you have, and the setting of your configuration variables, it may have moved it to a 'trash' mailbox. Have a look at the mutt manual. -- David SmithWork Email: [EMAIL PROTECTED] STMicroelectronics Home Email: [EMAIL PROTECTED] Bristol, England
[feature requests] view attached file.
Hello, Maybe this kind of request have been made before ... I don't know. I use 2 or 3 softwares that do the same things (example image viewer), but I would like to choose the correct viewer (xv doesn't support animated gif but it is lighter that any other image viewer I have). It would be great if mutt propose all the viewer for that content-type according to the mailcap file. if I receive for instance a file that content type is application/software-A, how would I be able to use the viewer I want ? Most of the time, I use the software A, but sometimes A is not enough efficient so I need to use software B. This request would solved an other well-known problem which is the octet-stream content type, I know that there is a patch for that, but my request is slightly different. Thank you for reading me : ) mutt is great ! William. clef-PGP : http://william.wu.free.fr/wu.asc -- wise men don't say what they know. fool men don't know what they say.
Re: Outhouse on Mutt-Users?
Hi, On Mon, Apr 08, 2002 at 07:43:54PM +0200, Sven Guckes wrote: | Message-ID: 20020403210712.A1308@PROGENY | User-Agent: Mutt/1.3.19i broken MID and old mutt version. upgrade and get a FQDN! :-p Will upgrade when I get the urge to do my patch cocktail, but it doesn't apply cleanly so I need some spare time. As regards FQDN, if you'll pay for it! It's currently a dodgy NAT'd set-up. The Received headers show this one up ;-) Luke
Re: toggle-read?
On Mon, Apr 08, 2002 at 01:31:04PM -0500, David T-G wrote: ...and then Bo Peng said... % % Is there a toggle-read function somewhere? Sometimes, I want to toggle emails % as read without really reading them. I am using setflag O (old) but this is % not exactly what I want. You can write ('w') or clear ('W') any flag you want. In addition, you can toggle the new flag with 'N'. See 2.3.1.1 in the manual and your index help screen for more info. hmmm... on my mutt (1.3.28i) I don't see that. What I use is N - toggle-new. :) -- Dan Boger Linux MVP brainbench.com msg26877/pgp0.pgp Description: PGP signature
problem saving tagged attachments
Hello, I can't quite figure out what's going on. I am tagging some attachments, and then trying to save them (just like I do anything with tagged messages - 'a', then 's'.. 'a' in my case is for ';', i think, and in my mind means 'apply' after pine), but I get a prompt for which folder to save for _every_ attachment. I'd like to be asked only once. Sorry if this is discussed in the manual, and I'd missed. Please point me to the right place if that's the case. thanks, denis -- // mailto: Denis Perelyubskiy [EMAIL PROTECTED] // icq : 12359698 // PGP : http://www.cs.ucla.edu/~denisp/files/pgp.asc
Re: Outhouse on Mutt-Users?
begin quoting what Luke Ross said on Mon, Apr 08, 2002 at 06:57:44PM +0100: As regards FQDN, if you'll pay for it! It's currently a dodgy NAT'd set-up. The Received headers show this one up ;-) So's mine, but I still have an FQDN. Gotta learn to use the tools to your advantage. -- Shawn McMahon| Information may want to be free, but fiber http://www.eiv.com | optic cable wants to be one million US AIM: spmcmahonfedex, smcmahoneiv | dollars per mile. msg26879/pgp0.pgp Description: PGP signature
Re: toggle-read?
Dan -- ...and then Dan Boger said... % % On Mon, Apr 08, 2002 at 01:31:04PM -0500, David T-G wrote: % ...and then Bo Peng said... % % % % Is there a toggle-read function somewhere? Sometimes, I want to toggle emails % % as read without really reading them. I am using setflag O (old) but this is % % not exactly what I want. % % You can write ('w') or clear ('W') any flag you want. In addition, you % can toggle the new flag with 'N'. See 2.3.1.1 in the manual and your % index help screen for more info. % % hmmm... on my mutt (1.3.28i) I don't see that. What I use is N - What don't you see? % toggle-new. Yep; good, unless you want to set replied or flagged or ... % % :) % % -- % Dan Boger % Linux MVP % brainbench.com % :-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 PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26880/pgp0.pgp Description: PGP signature
Re: toggle-read?
Thank you. Toggle-new, when applied to new email, is exactly toggle-read! Bo On Mon, Apr 08, 2002 at 02:39:31PM -0400, Dan Boger wrote: Date: Mon, 8 Apr 2002 14:39:31 -0400 From: Dan Boger [EMAIL PROTECTED] To: Mutt Users' List [EMAIL PROTECTED] Subject: Re: toggle-read? On Mon, Apr 08, 2002 at 01:31:04PM -0500, David T-G wrote: ...and then Bo Peng said... % % Is there a toggle-read function somewhere? Sometimes, I want to toggle emails % as read without really reading them. I am using setflag O (old) but this is % not exactly what I want. You can write ('w') or clear ('W') any flag you want. In addition, you can toggle the new flag with 'N'. See 2.3.1.1 in the manual and your index help screen for more info. hmmm... on my mutt (1.3.28i) I don't see that. What I use is N - toggle-new. :) -- Dan Boger Linux MVP brainbench.com -- Bo Peng Department of Statistics Rice University http://www.stat.rice.edu/~bpeng
Re: toggle-read?
A macro to toggle all new email as read, if anyone is interested: macro »·index»··\Cr»··»···T~N\nN\Ct.\n»·Mark all new messages as read The middle N part is what I was looking for. On Mon, Apr 08, 2002 at 01:31:04PM -0500, David T-G wrote: ...and then Bo Peng said... % % Is there a toggle-read function somewhere? Sometimes, I want to toggle emails % as read without really reading them. I am using setflag O (old) but this is % not exactly what I want. You can write ('w') or clear ('W') any flag you want. In addition, you can toggle the new flag with 'N'. See 2.3.1.1 in the manual and your index help screen for more info. hmmm... on my mutt (1.3.28i) I don't see that. What I use is N - toggle-new. :)
Re: Outhouse on Mutt-Users?
On Mon, Apr 08, 2002 at 07:43:54PM +0200, Sven Guckes wrote: | Message-ID: 20020403210712.A1308@PROGENY | User-Agent: Mutt/1.3.19i broken MID and old mutt version. upgrade and get a FQDN! :-p I think you're wrong: a dot in the Message-ID's RHS is not mandatory, and the Message-ID is not required to match your sending mail domain. (This is recommended, not required.) See RFC 2822, section 3.6.4. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: [feature requests] view attached file.
I use 2 or 3 softwares that do the same things (example image viewer), but I would like to choose the correct viewer (xv doesn't support animated gif but it is lighter that any other image viewer I have). It would be great if mutt propose all the viewer for that content-type according to the mailcap file. Use a shell script to view */*, and have the shell script Do The Right Thing. (darren) -- Believe those who are seeking the truth; doubt those who find it. -- Andre Gide
Re: toggle-read?
On Mon, Apr 08, 2002 at 01:49:25PM -0500, David T-G wrote: % You can write ('w') or clear ('W') any flag you want. In addition, you % can toggle the new flag with 'N'. See 2.3.1.1 in the manual and your % index help screen for more info. % % hmmm... on my mutt (1.3.28i) I don't see that. What I use is N - What don't you see? sorry - was looking for the keyword write instead of ^w. yes, set/clear flag is defenitly there, and useful too! % toggle-new. Yep; good, unless you want to set replied or flagged or ... good point. I do believe the original question was how to mark as read which, to me, means not new :) heh, guess the perl moto applies to mutt as well :) -- Dan Boger [EMAIL PROTECTED] msg26885/pgp0.pgp Description: PGP signature
help with folder hook?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone... Could someone help me sort this folder-hook out please? folder-hook =Tioka/nick set my_hdr Reply-To: Nick Wilson [EMAIL PROTECTED] That doesn't work and it will not work without the 'set' either so I'm a little stumped :-) Many thanks... - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8segBHpvrrTa6L5oRAh4cAKCggzYP/gYyrhjm4QLebff/NOO1PgCeN6mF XMryEwpmB+9QQOrPZNTcBno= =Giwr -END PGP SIGNATURE-
Re: toggle-read?
Dan -- ...and then Dan Boger said... % % On Mon, Apr 08, 2002 at 01:49:25PM -0500, David T-G wrote: % % You can write ('w') or clear ('W') any flag you want. In addition, you ... % % % % hmmm... on my mutt (1.3.28i) I don't see that. What I use is N - % % What don't you see? % % sorry - was looking for the keyword write instead of ^w. yes, % set/clear flag is defenitly there, and useful too! Ah. Gotcha. I was confused by your reply :-) % % % toggle-new. % % Yep; good, unless you want to set replied or flagged or ... % % good point. I do believe the original question was how to mark as % read which, to me, means not new :) Right, and that's what it means to me, too. He seemed happy enough with the result, though I personally don't see why doesn't just set $move or at least $mark_old if he's going to mark everything new as read ... I think he could learn about some new flags :-) % % heh, guess the perl moto applies to mutt as well :) You betcha / I agree wholeheartedly / Quite right, old chap :-) % % -- % Dan Boger % [EMAIL PROTECTED] :-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 PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26887/pgp0.pgp Description: PGP signature
Re: [feature requests] view attached file.
Darren, et al -- ...and then darren chamberlain said... % ... % It would be great if mutt propose all the viewer for that content-type % according to the mailcap file. % % Use a shell script to view */*, and have the shell script Do The % Right Thing. ... and then call it mutt-octet-filter and download it instead of reinventing the wheel :-) At least, I *think* that m-o-f can be extended to work interactively as well as simply making intelligent decisions on its own. Worth a look. % % (darren) HTH HAND % % -- % Believe those who are seeking the truth; doubt those who find it. % -- Andre Gide :-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 PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26888/pgp0.pgp Description: PGP signature
Re: help with folder hook?
Nick -- ...and then Nick Wilson said... % % -BEGIN PGP SIGNED MESSAGE- % Hash: SHA1 % % Hi everyone... % Could someone help me sort this folder-hook out please? I can try... % % folder-hook =Tioka/nick set my_hdr Reply-To: Nick Wilson [EMAIL PROTECTED] % % That doesn't work and it will not work without the 'set' either so I'm a % little stumped :-) You definitely don't want the set in there; my_hdr is a command, not a parameter. How does it not work? What does mutt do or not do? I have send-hook . my_hdr From: [EMAIL PROTECTED] (David T-G) and so I can't see why yours wouldn't work unless - you're not entering =Tioka/nick like you think you are - your quoting is throwing you off and I don't think either very likely... % % Many thanks... HTH HAND :-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 PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26889/pgp0.pgp Description: PGP signature
Re: help with folder hook?
* Nick Wilson [EMAIL PROTECTED] [2002-04-08 15:20]: Hi everyone... Could someone help me sort this folder-hook out please? folder-hook =Tioka/nick set my_hdr Reply-To: Nick Wilson [EMAIL PROTECTED] folder-hook =Tioka/nick set my_hdr Reply-To: Nick Wilson [EMAIL PROTECTED] I think you need to put set inside the quotes. (darren) -- Maybe this world is another planet's hell. -- Aldous Huxley
OT: What are RFCs? (Was: Re: Outh...)
* David Champion [EMAIL PROTECTED] [2002-04-08 14.06 -0500]: [...snip...] (This is recommended, not required.) See RFC 2822, section 3.6.4. Sorry for going OT, but could someone please point me to a site or document which explains _what_ an RFC (yeah, request for comment, I managed to google that far :-) ) really /is/, and what types of RFCs there are and why thera are more than one type of RFC? TIA, -- Martin | PGP/GPG: | Don't trust me: Karlsson | 9C924660 | I always lie. msg26892/pgp0.pgp Description: PGP signature
Re: OT: What are RFCs? (Was: Re: Outh...)
On Mon, Apr 08, 2002 at 11:21:46PM +0200, Martin Karlsson wrote: * David Champion [EMAIL PROTECTED] [2002-04-08 14.06 -0500]: [...snip...] (This is recommended, not required.) See RFC 2822, section 3.6.4. Sorry for going OT, but could someone please point me to a site or document which explains _what_ an RFC (yeah, request for comment, I managed to google that far :-) ) really /is/, and what types of RFCs there are and why thera are more than one type of RFC? http://www.rfc-editor.org/ To answer the other questions backwards: There is more than one type of RFC because people need more than one type. The types of RFC are Standards, Informational, and Experimental. Standards are exactly that: if you want to interoperate with other people using a particular protocol, this is the official description of how to do it. Informational/Experimental are exactly that: if you want to know how other people are doing things which haven't been standardized yet, or can't or won't be standardized, or aren't easily standardized, or a summary of several approaches, this is what you want to read. Typical labels: STD for standard, BCP for best current practices, FYI for informational. Finally, why they are called RFCs: At a meeting discussing what would become NCP in 1969, a grad student was assigned to take notes. As he wasn't sure he had written everything down exactly right, he wrote Request For Comments across the top when he made copies and distributed them. -dsr-
Re: un-alternates?
* On 2002.04.06, in [EMAIL PROTECTED], * Rob 'Feztaa' Park [EMAIL PROTECTED] wrote: Alas! David T-G spake thus: % Use perl or python or egrep of emacs or some of the more modern vi % clones etc. Agreed; a little perl one-liner was what I had in mind, since I vaguely recall that egrep is *not* the same as mutt. But can we assume that perl is the same? I don't believe that we can. That's the essence of the question; unfortunately it needs someone who's been paying attention to code evolution (or a C reader with way too much free time) to answer it. Hmm -- or a quick hack that uses perl's regex.c. I'll get on that. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: OT: What are RFCs? (Was: Re: Outh...)
* Shawn McMahon [EMAIL PROTECTED] [2002-04-08 19.13 -0400]: begin Martin Karlsson quotation: Sorry for going OT, but could someone please point me to a site or document which explains _what_ an RFC (yeah, request for comment, I Yeah; the VERY FIRST HIT on Google if you type RFC as your search term. You mean the site David Champion pointed me to a few hours ago? Actually I was looking for something less technical and somewhat more pedagogical than the RFC-editor, but reading some other docs I also found has made it a little clearer. Thanks David and dsr. -- Martin | PGP/GPG: | Don't trust me: Karlsson | 9C924660 | I always lie. msg26899/pgp0.pgp Description: PGP signature
Re: un-alternates?
Hi, * David Champion [04/09/02 00:40:53 CEST] wrote: [ regular expressions in mutt ] But can we assume that perl is the same? Not until quite long test runs. I don't believe that we can. That's the essence of the question; unfortunately it needs someone who's been paying attention to code evolution (or a C reader with way too much free time) to answer it. Yep. Maybe I'm missing something at this point, but why not grep 'mutt -v' to find out what of kind of regexps used and use the same code to produce a short parser for the contrib directory? IMO, it would take less time to do that than to find some existing software expected to behave as mutt does (without verification). Cheers, Rocco. msg26900/pgp0.pgp Description: PGP signature
Re: un-alternates?
On 17:40 08 Apr 2002, David Champion [EMAIL PROTECTED] wrote: | Agreed; a little perl one-liner was what I had in mind, since I vaguely | recall that egrep is *not* the same as mutt. | | But can we assume that perl is the same? I don't believe that we can. No, but close enough to pick the common errors and give nice diagnostics. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ The code was willing, It considered your request, But the chips were weak. - Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html
imap behavior
In MS Outlook, actual deletion from the imap server is a two-step process. First, the item is marked for deletion. Here the message is not really gone because it can be undeleted. While marked for deletion, however, it can be hidden from view such that the user can pretend as if it really deleted. This is useful because it allows you to hold-on to messages you may need later, but are reluctant to delete. This is why I like imap. When one truly wants to delete a message in MS Outlook, the purge command is chosen whereupon all messages on the imap server that happen to be marked for deletion are purged, i.e., truly deleted and gone forever. I use purge when my server space quota is approached. Is mutt capable of simulating this behavior; does it retain the marked for deletion and purged distinction? So far, mutt takes my messages off of the imap server, and is so impolite that it does *not* leave a copy for future reference. I.e., there is nothing left to purge. I perused http://www.mutt.org/doc/manual/manual-6.html#commands and I did not see that mutt follows the MS Outlook conventions I described. I saw mh_purge is related to renaming deleted messages, but it's not clear if this is what I am referring to. Can someone please speak to this? Van
Re: imap behavior
On Mon, Apr 08, 2002 at 09:12:59PM -0800, VB wrote: I perused http://www.mutt.org/doc/manual/manual-6.html#commands and I did not see that mutt follows the MS Outlook conventions I described. I saw mh_purge is related to renaming deleted messages, but it's not clear if this is what I am referring to. Can someone please speak to this? In its simplest form: 6.3.32. delete Type: quadoption Default: ask-yes Controls whether or not messages are really deleted when closing or synchronizing a mailbox. If set to yes, messages marked for deleting will automatically be purged without prompting. If set to no, messages marked for deletion will be kept in the mailbox. Mutt can be set to ask if you want it to actually delete read messages. I use this in its ask-yes state when changing folders to clean up behind me. What you are probably looking for is no. -- David Rock [EMAIL PROTECTED] msg26903/pgp0.pgp Description: PGP signature