Re: reconstituting mangled quotes

2001-07-17 Thread Biju Chacko

On Mon, Jul 16, 2001 at 11:20:15AM -0700, Chris Fuchs wrote:
 On Mon, Jul 16, 2001 at 01:00:09PM -0500, David Champion wrote:
  Thanks, looks like I'll add vim to my mutt learning curve.
 
 Are you already using vim? No reason to start, just to get word wrap.
 par (under vi) handles this, and I'd be shocked -- shocked, I tell you
 -- if emacs does not.
 
 Shockingly enough I'm not using either, rather an editor developed
 in-house.

If you can easily run external programs from it, then look into 'par'.

-- Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Newbie question

2001-07-17 Thread Biju Chacko

On Tue, Jul 17, 2001 at 06:21:44PM +0530, Fox Mulder wrote:
 Now when i start mutt, i get only the spool. I have to do a c=foldrname to get
 to the folder. i expect this is normal. Is there some way in which i can get
 to know if any new messages are in the other folders without actually going
 into them? it so happens that i get most of the mail in the spool, and rerely
 check the other 2 folders since there is not very heavy traffic there.

check out 'set mailboxes=' in the manual


 also, is it possible to transfer a mail from 1 folder to another?
 

the default key-binding for that is 's'.

-- Biju


-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: feature request

2001-07-12 Thread Biju Chacko

On Thu, Jul 12, 2001 at 11:35:43AM +0200, Erwin Kaiser wrote:
 2. Often I get mail with a lot of adresses in the Cc: field which
 I'd like to take into my alias list. So: Could the taking alias
 feature be expanded to other entries and mulpiple entries?

see http://webrum.uni-mannheim.de/jura/moritz/mail2muttalias.shtml

for a script that does more-or-less what you want.

-- Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Simple mutt question ... I think?

2001-07-11 Thread Biju Chacko

On Wed, Jul 11, 2001 at 09:16:25PM +1000, Anthony Green wrote:
 
 Most, if not all email programs these days have you reply to a message
 *above* the email text that you have been sent and quote it in some
 form .. the 's etc.
 
 So ... if the signature was appended at the top of the email it would
 appear directly under this text I am writing rather than all the way at
 the bottom. When you have a email with multiple replies or even more
 than 1 screen of info . the signature is lost at the bottom.

Actually, netiquette demands that you reply _below_ quoted text, in which case
the position of the signature is correct. See Sven Guckes page for more info:

http://learn.to/edit_messages

Hope this helps,

-- Biju


-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Tool to view M$ Word and Excel attachments in Mutt?

2001-06-30 Thread Biju Chacko

On Fri, Jun 29, 2001 at 11:11:52AM -0400, Louis LeBlanc wrote:
 I know this has been discussed before, but I can't seem to find it
 now.
 
 I am trying to find a way to view M$Word and Excel docs as attachments
 in Mutt.  I have to either get this working, or go back to an OS I'd
 rather not really use.  For some reason, mswordview is not working
 anymore with my mutt install, so I'd like to give another tool I heard
 about (here, I think) a shot, especially since it also works on Excel.
 
 Please let me know where to find the tool.  It is something like
 excel2html or xl2html or something and I can't remember anything about
 the Word tool.

My .mailcap :

application/msword; catdoc %s; copiousoutput
application/x-msexcel; xls2csv %s; copiousoutput


-- Biju


-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: pop_checkinterval=xx

2001-06-08 Thread Biju Chacko

On Fri, Jun 08, 2001 at 02:20:54PM -0500, Scott Davis wrote:
 set pop_checkinterval=60  or using
 set pop_checkinterval=60or using
 set pop_check_interval=60
 ...among other desperate variables of the option...
 
 I get an 'unknown variable' error...  Anyone seen this before or know of a
 fix?  The other POP3 stuff in my .muttrc is fully functional.

As far as I can make out from the manual, there isn't such an option. I would
strongly suggest that you use fetchmail for this. This really isn't mutt's job,
so it doesn't do it very well.

Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: folder list binding

2001-06-03 Thread Biju Chacko

On Sun, Jun 03, 2001 at 08:43:31PM +0100, John Levon wrote:
 How can I do this so one key will always bring up the folder list ?
 There didn't seem to be such a function list-folders in the reference.

This works for me:

macro index   f6 c?\t Display Folder List

 Finally, how do I get mutt to actually show the outgoing message in the compose
 window, so I can review it one last time w/o having to re-enter my editor ? It
 shows it as an attachment currently

Hi-light the message and hit enter.

HTH,

Biju


-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Editing Aliases

2001-06-01 Thread Biju Chacko

On Tue, May 29, 2001 at 10:50:16AM +0530, Suresh Ramasubramanian wrote:
 Biju Chacko [mutt-users] 29/05/01 10:45 +0530: 
  I have written  one that emulates the look-and-feel of mutt. It's a little
  buggy, and not very featureful, but if anybody is interested I'll make it
  available for download. Mail me offlist.
  
  Put it up on sourceforge (or wherever) and post the url, please ..

I have put up the program at:

http://people.exocore.com/biju/downloads/AliasEdit-0.1.tar.gz

Please note: you will need Python 2.0 or higher to run the program. Comments
offlist please.

thanks,

Biju


-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Editing Aliases

2001-05-28 Thread Biju Chacko

On Mon, May 28, 2001 at 11:50:18AM -0700, Dale Morris wrote:
 I have a *newbie* questioan. Is it good to have my muttrc setup files
 configured so I can edit aliases? I have been using the setup files
 prepared by Sven Guckes (great!) and although everything else is
 covered, I can find no key sequence that allows me to edit aliases. I
 am wondering if there is a reason for this? I can't believe that
 anything this detailed would overlook alias editing, unless it was
 intentional. 

Hi,

You may want to install an address book program. Abook (
http://abook.sourceforge.net/ ) is a very full featured one.

I have written  one that emulates the look-and-feel of mutt. It's a little
buggy, and not very featureful, but if anybody is interested I'll make it
available for download. Mail me offlist.

I suppose with ppl hollering at me, I'll get round to fixing the bugs. ;-)

Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Passing the From address to a script

2001-05-18 Thread Biju Chacko

On Fri, May 18, 2001 at 02:13:26PM +0530, Suresh Ramasubramanian wrote:
 Biju Chacko [mutt-users] 18/05/01 14:08 +0530: 
 
  I was wondering if it would be possible to call them directly from mutt. I could
  not find anything in the manual about this. I am thinking in terms of something
  like:
  macro index f5 !/home/biju/bin/somescript.sh $from_address\n
  Is this possible? Or do I have to use formail? Or am I on the wrong track
  altogether and there is some different, easier approach ?
  
  This should work quite well.

it doesn't.

 
  For example, I use
 
  macro generic f1 !less /usr/doc/mutt/manual.txt\n Show Mutt documentation
  macro index   f1 !less /usr/doc/mutt/manual.txt\n Show Mutt documentation
  macro pager   f1 !less /usr/doc/mutt/manual.txt\n Show Mutt documentation

I too use the same macros. My question was whether it was possible to pass the
from address of the current mail to a macro easily ? I know it's possible to do
it with formail, but I am looking for something a little more direct.

Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Passing the From address to a script

2001-05-18 Thread Biju Chacko

On Fri, May 18, 2001 at 10:39:21AM -0500, Jason White wrote:
 Here's something I wrote to parse headers.  It doesn't use GOTO, deals
 with headers in a case insensitive manner, and deals with multi-line
 header content.  $content contains the entire multi-line header with
 leading spaces removed and newlines converted to spaces.

 snipped perl code 

Actually mail header parsing is easily done with formail:

macro index | formail -x From: | somescript.sh pass from address to script

will do the trick just fine. I was wondering whether mutt provided a similar
facility.

Biju


-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: request for SMTP integration (was Re: Mail using non-local SMTP server.)

2001-05-16 Thread Biju Chacko

On Wed, May 16, 2001 at 02:40:33PM +0200, Andre Majorel wrote:
 Then you would better serve your agenda by contributing to that
 project than by lobbying for Mutt to bend in that direction. If
 you want to work on an SMTP-aware MUA, more power to you. But
 don't make Mutt users pay for something they won't use.

While I agree with the need to keep one's MUAs and MTAs seperate, I find your
argument flawed. There are literally dozens of features of Mutt that I don't
use. Does that mean I ought to object to development in those areas? I don't
think so.

If somebody wants SMTP support -- well he is free to maintain a patch to do
so... or if he is unable to do it himself, to lobby for somebody to do it.

Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Colors when replying to messages

2001-04-26 Thread Biju Chacko

On Thu, Apr 26, 2001 at 10:32:48AM +0200, Marco Fioretti wrote:
 The editor looks like some vi to me, from its behavior. I have done 
 
 find /usr /etc -type f -iname *vi*|grep -i mutt
 
 and found /usr/share/vim/vim56/syntax/muttrc.vim
 If I grep -i color on it, I get what follows below.
 
 In short, I think your suggestions and comments do make a lot of sense,
 but can't see in my setup anything related to them. I wonder if at this
 point I should ask for some muttrc.vim file and compare against mine.
 
 Any suggestion is appreciated.

Hi,

Assuming that mutt is calling vim as it's editor, then the file that you are
looking for is:

/usr/share/vim/vim56/syntax/mail.vim

The file you found (/usr/share/vim/vim56/syntax/muttrc.vim) controls syntax
highlighting for muttrc files.

regards,

Biju

-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Stupid Ques

2001-04-21 Thread Biju Chacko

On Fri, Apr 20, 2001 at 11:42:39PM +0530, Pradeep Sangunni wrote:
 When I press a to get the address it usually takes the add of the 
 From. Address how to i go about gettin the To address
 Can i edit the .muttrc file as to when A is ivoked i get to take
 all address from the msg.

Look for a link to mail2muttalias.py on mutt.org

Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: address book

2001-04-11 Thread Biju Chacko

On Wed, Apr 11, 2001 at 07:02:47AM -0400, Frederick V. Heitkamp wrote:
 Is there a way to pull specific addresses out
 of message headers and add them to the address
 book?

Fred,

look at mail2muttalias.py:

http://webrum.uni-mannheim.de/jura/moritz/mail2muttalias.shtml

regards,

Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: Mutt-based web mail

2001-04-10 Thread Biju Chacko

On Tue, Apr 10, 2001 at 01:18:23PM +0100, M. Fioretti wrote:
 The question is, is anybody around offering a
 free email account accessible via WWW, but
 mutt based? 

Hi,

There are several free shell providers -- hobbiton.org, sdf.lonestar.org, etc.
Don't they offer mutt as an optional mailer?

Biju

-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: change-folder macro

2001-03-23 Thread Biju Chacko

On Fri, Mar 23, 2001 at 09:53:39AM +0100, Kirill Miazine wrote:
 There's one type of macro I can't get working: Pressing Ctrl-q should bring me
 to the qmail folder (=qmail) and Ctrl-m should bring me to the mutt folder
 (=mutt).

did you try:

macro index \cq "c=qmail\n" "Change to QMail folder"
macro index \cm "c=mutt\n" "Change to Mutt folder"

bind for pager, etc if required.

BTW, I haven't actually tried this -- so normal disclaimers apply! ;-)

Biju


-- 
-----
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-