Re: index colors

1999-12-02 Thread Eugene Lee

On Wed, Dec 01, 1999 at 04:44:17PM -0500, Subba Rao wrote:
:
:Is there anyway to get different colors in the index for "From" and "Subject" ?

Use the regexp stuff in "color".  This is what I use in my muttrc:

color header magenta default ^(Subject|To|Date|From):


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: cvs mutt and lists

1999-12-02 Thread Mikko Hänninen

Timothy Ball [EMAIL PROTECTED] wrote on Wed, 01 Dec 1999:
 I just got the latest mutt outta the cvs and is it me or does the
 "lists" directive no longer work at all?

If you mean the developement version (I guess you do), you need to
use the "subscribe" command for the lists which you are subscribed
to.  The lists command still works, but the semantics have changed,
it is just used to define mailing lists in general.

See the entry for these commands in "man muttrc" for more info.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"I don't know how you do it, but it's lifting me"  -- The Corrs



A hook for a separate compose window?

1999-12-02 Thread Tom Weckström



Hi,

I would not like to reinvetn the wheel, and I am sure someone has already
done this:

I need a hook to have a separate compose window when composing a new
message. At the same time I need to be able to view the messages in my
folders (e.g. to gather some more information about the issue at hand)

I browsed through a couple of example configs but couldn't find any hint
for this kind of a hook. I am quite a beginner with Mutt, so help would be
greatly appreciated.

Please respond to my own email address, too.  I am not a member on the
mutt-users list.

Thanks in advance! :-)


Tom



-- 
Tom Weckström   [EMAIL PROTECTED]
Otakaari 20 B 39Helsinki University of Technology
02150 Espoo Department of Computer Science
09-4683249/040-5642709  http://www.niksula.cs.hut.fi/~tweckstr



/var/spool/mail

1999-12-02 Thread rino

I'm wondering how to move new mails coming from /var/spool/mail to ~/Mail?



Odd problem when bouncing a message from an IMAP server

1999-12-02 Thread Chris Green

I'm running mutt 1.1.1 on Solaris.

I recently tried to 'bounce' some messages from an IMAP4 mailbox to an
address which is hosted here on x-1.net.  I tagged nine messages and
then used ';b' to bounce them to the address ([EMAIL PROTECTED])
which is hosted here.

All nine messages failed with a "Message timed out" error.

Just in case it was really a time out due to the number of messages
and the slowness of the IMAP4 server I tried bouncing a single message
but that failed with "Message timed out" too.  A message sent directly
to [EMAIL PROTECTED] from the same copy of mutt works OK, it's only
when the messages are bounced from the IMAP4 mailbox that this problem
occurs.

The bounce message is as follows:-

[-- Attachment #1 --]

[-- Type: text/plain, Encoding: 7bit, Size: 1.4K --]

Content-type: text/plain; charset="us-ascii"

This report relates to your message:
Subject: RE: Using POP3 on MBN Virtual Server manager,
  Message-ID: [EMAIL PROTECTED],
  To: Chris Green [EMAIL PROTECTED], [EMAIL PROTECTED]

Your message was not delivered to   [EMAIL PROTECTED]
for the following reason:
Message timed out

* The following information is directed towards the local administrator
* and is not intended for the end user
*
* DR generated by: mta UK.CO.BT
* in /PRMD=UK.CO.BT/ADMD=GOLD 400/C=GB/
* at Thu, 2 Dec 1999 10:01:59 +
*
* Converted to RFC 822 at babelbrox.axion.bt.co.uk
* at Thu, 2 Dec 1999 10:03:00 +
*
* Delivery Report Contents:
*
* Subject-Submission-Identifier: [/PRMD=UK.CO.BT/ADMD=GOLD
400/C=GB/;[EMAIL PROTECTED]]
* Content-Identifier: RE: Using POP...
* Original-Encoded-Information-Types: ia5-text
* Content-Correlator: Subject: RE: Using POP3 on MBN Virtual Server manager,
*   Message-ID: [EMAIL PROTECTED],
*   To: Chris Green [EMAIL PROTECTED], [EMAIL PROTECTED]
* Recipient-Info: [EMAIL PROTECTED],
* /RFC-822=micromedia(a)isbd.net/OU=AXION/O=BT
Axion/PRMD=UK.CO.BT/ADMD=GOLD 400/C=GB/;
* FAILURE reason Unable-To-Transfer (1);
* diagnostic Maximum-Time-Expired (5);
** End of administration information

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/



Re: A hook for a separate compose window?

1999-12-02 Thread Thomas Roessler

There is no simple solution for this; you'll have to start a new
instance of mutt, or you'll have to play a bit with postpone/reply.

On 1999-12-02 11:58:48 +0200, Tom Weckström wrote:
 Date: Thu, 2 Dec 1999 11:58:48 +0200 (EET)
 From: Tom Weckström [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: A hook for a separate compose window?
 
 
 
 Hi,
 
 I would not like to reinvetn the wheel, and I am sure someone has already
 done this:
 
 I need a hook to have a separate compose window when composing a new
 message. At the same time I need to be able to view the messages in my
 folders (e.g. to gather some more information about the issue at hand)
 
 I browsed through a couple of example configs but couldn't find any hint
 for this kind of a hook. I am quite a beginner with Mutt, so help would be
 greatly appreciated.
 
 Please respond to my own email address, too.  I am not a member on the
 mutt-users list.
 
 Thanks in advance! :-)
 
 
   Tom
 
 
 
 -- 
   Tom Weckström   [EMAIL PROTECTED]
   Otakaari 20 B 39Helsinki University of Technology
   02150 Espoo Department of Computer Science
   09-4683249/040-5642709  http://www.niksula.cs.hut.fi/~tweckstr
 

-- 
http://www.guug.de/~roessler/



patch for send-hook?

1999-12-02 Thread rajukv

hi,

Since send-hook works before editing the message, it is useless when edit_headers is 
set. Is there any patch which will invoke send-hook after editing is over that is just 
before the actually sending the mail?

Thanks in advance,
Raju

-
Get free email from CNN Sports Illustrated at http://email.cnnsi.com/



Re: /var/spool/mail

1999-12-02 Thread Dirk Pirschel

On Thu, 02 Dec 1999, [EMAIL PROTECTED] wrote:

 I'm wondering how to move new mails coming from /var/spool/mail to ~/Mail?

To move read mails to ~/Mail
set move=yes
set mbox=~/Mail/whatever

or use mbox-hook ...

To move unread mails
man procmail :-)

CU
Dirk

-- 
Dirk Pirschel
E-Mail: [EMAIL PROTECTED] (PGP key on request)

"If Microsoft can change and compete on quality, I've won." -- Linus Torvalds



Multiple Personalities

1999-12-02 Thread Raymond A. Meijer

Hi,

I'm trying to create multiple personalities in mutt, each with his
own settings. I went through doc and man pages and I've checked
several web sites, but I don't get any further.

I have several e-mail addresses like [EMAIL PROTECTED] and for
example [EMAIL PROTECTED]

I want to be able to receive all messages to these accounts into
1 mailbox and read that mailbox with mutt. That's easy enough of
course.

Now when I reply to a message sent to [EMAIL PROTECTED], the custom
headers (From, Reply-To and Organization) and other settings for
[EMAIL PROTECTED] should be used.

When I reply to a message sent to [EMAIL PROTECTED] I want mutt to use
the settings for that account.

How do I set up something like that? I'm currently using several
seperate accounts, which is really annoying...

Can somebody send me some tips or point me to a web page?


Thanks a lot!!

Ray

-- 
[EMAIL PROTECTED]
ICQ: 2987375



Re: A hook for a separate compose window?

1999-12-02 Thread J Horacio MG

On Thu, Dec 02, 1999 at 12:18:07PM +0100, Thomas Roessler said:
 There is no simple solution for this; you'll have to start a new
 instance of mutt, or you'll have to play a bit with postpone/reply.
 
 On 1999-12-02 11:58:48 +0200, Tom Weckström wrote:
  
  I would not like to reinvetn the wheel, and I am sure someone has already
  done this:
  
  I need a hook to have a separate compose window when composing a new
  message.

For this I do as T.R. said, or open mutt on a second VT (if that's
available in your system)

  At the same time I need to be able to view the messages in my
  folders (e.g. to gather some more information about the issue at hand)

Here I choose to attach a message ``A'' but never tag it to be actually
attached.

BTW,
There's a utility called `splitvt' which does just what it says (uh... 
bw only, but at least you can enlarge one of the screens).

-- 
Horacio LC_mutt=es_ES
mailto:[EMAIL PROTECTED]http://carlotha.ciberia.es/mutt/
~ Spain ~ Spanje ~ Spanien

Key fingerprint = F4EE AE5E 2F01 0DB3 62F2  A9F4 AD31 7093 4233 7AE6



charset bug? @@

1999-12-02 Thread Edmund GRIMLEY EVANS

The message I'm replying to appeared to demonstrate some kind of
charset conversion bug with the mutt from CVS and glibc's character
set definition files.

I'm attempting to reproduce it with this message. The subject line is
supposed to be: charset bug? @ @

The first @ is in iso-8859-1, and the second @ is in iso-8859-15.
I observed that the @ in the second @ was not converted ...

Major bug, eh?

Edmund



Re: charset bug? @@

1999-12-02 Thread Thomas Roessler

On 1999-12-02 15:35:35 +, Edmund GRIMLEY EVANS wrote:

 The first @ is in iso-8859-1, and the second @ is in
 iso-8859-15. I observed that the @ in the second @ was not
 converted ...

What's your local character set, what do you mean by "not
converted", and does your system have a character set definition
file for iso-8859-15?

-- 
http://www.guug.de/~roessler/



iso-8859-15 [Re: charset bug? @@]

1999-12-02 Thread J Horacio MG

On Thu, Dec 02, 1999 at 03:35:35PM +, Edmund GRIMLEY EVANS said:
 The message I'm replying to appeared to demonstrate some kind of
 charset conversion bug with the mutt from CVS and glibc's character
 set definition files.
 
 I'm attempting to reproduce it with this message. The subject line is
 supposed to be: charset bug? @ @
 
 The first @ is in iso-8859-1, and the second @ is in iso-8859-15.
 I observed that the @ in the second @ was not converted ...
 
 Major bug, eh?

Sorry, I changed the charsets in my system to iso-8859-15, and tried
them in mutt: set charset="iso-8859-15"
that didn't work, and I forgot to change it back to iso-8859-1.

oh, now it works for ¤ (euro sign) and ¢ (cent sign)... even with set
charset="iso-8859-1"
Does this bother anyone?  I read a message from mutt in xfmail and as it
wouldn't recognize iso-8859-1 it would read assume us-ascii.


Bye,

-- 
Horacio LC_mutt=es_ES
mailto:[EMAIL PROTECTED]http://carlotha.ciberia.es/mutt/
~ Spain ~ Spanje ~ Spanien

Key fingerprint = F4EE AE5E 2F01 0DB3 62F2  A9F4 AD31 7093 4233 7AE6



Re: Odd problem when bouncing a message from an IMAP server

1999-12-02 Thread Chris Green

On Thu, Dec 02, 1999 at 05:37:33PM +0100, Thomas Roessler wrote:
 On 1999-12-02 15:20:54 +, Chris Green wrote:
 
  I've found out that the same occurs when bouncing messages from
  other non-inbox folders on my local drive.  Bouncing a message
  from my inbox is OK though.
 
 Is it remotely possible that your mail system looks at the "Date"
 header of messages and makes problems when that one is too far in
 the past?
 
I suppose that's possible but it seems unlikely, I'll try manually
fudging a message to look as if it's in the past though.  This is a
pretty straightforward Solaris 2.6 system in a large installation.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/



Re: charset bug? @@

1999-12-02 Thread Edmund GRIMLEY EVANS

Thomas Roessler [EMAIL PROTECTED]:

  The first @ is in iso-8859-1, and the second @ is in
  iso-8859-15. I observed that the @ in the second @ was not
  converted ...
 
 What's your local character set, what do you mean by "not
 converted", and does your system have a character set definition
 file for iso-8859-15?

My local character set is UTF-8, of course, so the unconverted
character is replaced by the replacement character, which is a bullet
with a small reverse-field question mark in it with my font.

It looks as though there's something odd with my charmaps:

$ grep 40 /usr/share/i18n/charmaps/ISO-8859-15 
At   /x40 U0040 COMMERCIAL AT
commercial-at/x40 U0040 COMMERCIAL AT
@/x40 U0040 COMMERCIAL AT
Oa   /x40 U0040 COMMERCIAL AT
$ grep 40 /usr/share/i18n/charmaps/ISO-8859-1  
At   /x40   U0040 COMMERCIAL AT
commercial-at/x40   U0040 COMMERCIAL AT

I wanted to reproduce the problem with an unmodified mutt, just in
case I've broken it in the course of my hackery, but "cvs co mutt" is
doing about 1 bps at the moment ...

For the UTF-8 mutt I tore the charset stuff into two parts with an API
between them that is identical to the standard iconv. I didn't do
anything with the code that wasn't close to the tear, so I probably
haven't broken it, but I'll have another look at home and issue a full
confession if it does turn out to be my fault after all.

Edmund



Re: index colors

1999-12-02 Thread David DeSimone

Eugene Lee [EMAIL PROTECTED] wrote:

  Is there anyway to get different colors in the index for "From" and
  "Subject" ?

   color header magenta default ^(Subject|To|Date|From):

That colorizes the headers in the pager, but I think he was asking about
the index display.  Such as, can the "From" address and the "Subject"
portions of the display, be put in different colors?  The answer is NO.

This has been lovingly termed "the rainbow effect," as far as features
that users think that they want.  I believe that, long ago, someone did
implement this in an old version of Mutt, and he reported that it looked
awful.  So it was never folded into Mutt.

-- 
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
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



suggestion for sender-hook

1999-12-02 Thread Ronny Haryanto

Hi,

I just have a suggestion for adding some kind of "personality-hook" or
"sender-hook" to Mutt. Hopefully I haven't missed anything in the
documentations, if so then I apologize.

Currently, clever combinations of folder-hooks, send-hooks and some
other Mutt config variables can be used to achieve "multiple
personality". However that implies at least one limitation, namely the
need of using one folder for each "personality". And send-hooks are
primarily concerned with the recipient(s) of a message, not the
sender.

I still find it not trivial to do this: "If I am sending the message
as user@host, regardless of in which folder I am, then do this and
that".

Would this be useful to many people? Would it be hard to implement? Or
would it just add bloats to Mutt?

-- 
Ronny Haryanto



Re: index colors

1999-12-02 Thread Carl Cotner

On Thu, Dec 02, 1999 at 12:17:55PM -0600, David DeSimone wrote:
 Eugene Lee [EMAIL PROTECTED] wrote:
 
   Is there anyway to get different colors in the index for "From" and
   "Subject" ?
 
color header magenta default ^(Subject|To|Date|From):
 
 That colorizes the headers in the pager, but I think he was asking about
 the index display.  Such as, can the "From" address and the "Subject"
 portions of the display, be put in different colors?  The answer is NO.
 
 This has been lovingly termed "the rainbow effect," as far as features
 that users think that they want.  I believe that, long ago, someone did
 implement this in an old version of Mutt, and he reported that it looked
 awful.  So it was never folded into Mutt.

This is my number one desired feature for mutt. In an old MUA of my own
design, the actual subject part of the "Subject:" line was highlighted
instead of the whole line. Like so:

 Subject: this is the subject
  ^^^
  this is highlighted

I much prefer this as it draws your eye to the data you want to see, not
the label for the data. It seems like this could be handled with regular
expressions that designated how to highlight only part of the match. Like
this, for example,

 ^Subject: ((.*))$

where the "match" is only the part of the target which matches the
expression between the double parentheses. This might have other uses as
as well.

Carl


P.S. Thanks all for such a great mail reader!



send-hook not intuitive

1999-12-02 Thread Ronny Haryanto

Hi,

I would like to give some comments on "send-hooks".

Intuitively, when I first see the send-hook command I thought that it
was a hook that is executed after the message is semi-final (no more
change from the user whatsoever, but Mutt might still want to do
something with it) and before being sent. (So after pressing 'y' in
the compose window, and before actually sending the message to
sendmail).

However, later on the documentation points out that "send-hook's are
only executed ONCE after getting the initial list of recipients". I
don't have a problem with it being executed once, I think it should
only be executed once. But I do have a problem with WHEN it is
executed. So, IMHO, "compose-hook" would be a better name for this
hook.

Just a thought...

-- 
Ronny Haryanto



Re: index colors

1999-12-02 Thread Jeremy Blosser

Carl Cotner [[EMAIL PROTECTED]] wrote:
 On Thu, Dec 02, 1999 at 12:17:55PM -0600, David DeSimone wrote:
  Eugene Lee [EMAIL PROTECTED] wrote:
  
Is there anyway to get different colors in the index for "From" and
"Subject" ?
  
 color header magenta default ^(Subject|To|Date|From):
  
  That colorizes the headers in the pager, but I think he was asking about
  the index display.  Such as, can the "From" address and the "Subject"
  portions of the display, be put in different colors?  The answer is NO.
  
  This has been lovingly termed "the rainbow effect," as far as features
  that users think that they want.  I believe that, long ago, someone did
  implement this in an old version of Mutt, and he reported that it looked
  awful.  So it was never folded into Mutt.
 
 This is my number one desired feature for mutt. In an old MUA of my own
 design, the actual subject part of the "Subject:" line was highlighted
 instead of the whole line. Like so:
 
  Subject: this is the subject
   ^^^
   this is highlighted

This is yet another concept from the ones discussed above.  Just so we keep
track of what's being talked about, there have been 3 color issues
mentioned so far:

1) Q: Can Mutt color different parts of the same line different colors in the
  message index?
   A: No.

2) Q: Can Mutt color different headers different colors in the pager?
   A: Yes.

and now we have:

3) Q: Can Mutt color different parts of the same header line different
  colors in the pager?
   A: No.

(1) and (3) are related since they both deal with coloring a single line
multiple colors, but they apply to different contexts and aren't the same
thing.  (3) could be done with regexps, as noted, but (1) couldn't
really... it would have to be specified per index field.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


Re: Multiple Personalities

1999-12-02 Thread Robert Chien

 Now when I reply to a message sent to [EMAIL PROTECTED], the custom
 headers (From, Reply-To and Organization) and other settings for
 [EMAIL PROTECTED] should be used.

Hi Raymond,

Check out section 4.4 on "Using Hooks"
http://www.mutt.org/doc/manual/manual-4.html#ss4.4

Depending on your situation, hooks can be tricky. A general
rule-of-thumb is to remember that hooks are "sticky". In
most cases, you want to set up a default hook. Read the
manual, it should help.

Robert