Re: strange alias expansion

2000-11-03 Thread Michael Tatge

Eugene Lee muttered:
 In Mutt, why does the alias:
 
   alias john John S. Doe [EMAIL PROTECTED]
 
 get expanded to:
 
   To: "John S . Doe" [EMAIL PROTECTED]
 
 And is there any way to fix it?  Thanks in advance.

I don't know why his happens, but you can get around this quoting the
real name part: alias john "John S. Doe" [EMAIL PROTECTED]

HTH,

Michael
-- 
Know Thy User.

PGP-Key: http://www.stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: colouring incomming mail

2000-11-03 Thread Conor Daly

On Mon, Oct 30, 2000 at 05:44:05AM - or thereabouts, Darrin Mison wrote:
 alright!!
 
 everyday I discover another reason why mutt totally rules.
 
   Does anybody know how I can give mail originating from a
   certain user a different colour in my index ? 
  
  Something like:
  
  color index  magenta  default  "~f 'Johan Huis'"

Or even...

color index black black "~f 'My Boss'"

:-)
-- 
Conor Daly 
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064217 Fax +353 1 8064275




change color settings depend on tty in use

2000-11-03 Thread fred smith

Gentlemen:

when I use Mutt on a direct console I like color settings. When I dial in
from work the color settings don't work very well even though I DO set
the terminal type correctly.

Is there a way I can have mutt apply different color settings depending
on terminal type, or may be depending on which tty I'm on , or some other
way to handle this issue?

thanks!

Fred
-- 
 Fred Smith -- [EMAIL PROTECTED] 
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---



Re: change color settings depend on tty in use

2000-11-03 Thread Suresh Ramasubramanian

fred smith wrote:

 Is there a way I can have mutt apply different color settings depending
 on terminal type, or may be depending on which tty I'm on , or some other
 way to handle this issue?

man test
keep different color / mono settings in separate rc files and source
them as needed in your .muttrc.

hth
+suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
There are no great men, only great challenges that ordinary men are
forced
by circumstances to meet.
-- Admiral William Halsey



Re: change color settings depend on tty in use

2000-11-03 Thread Lars Hecking


 when I use Mutt on a direct console I like color settings. When I dial in
 from work the color settings don't work very well even though I DO set
 the terminal type correctly.
 
 Is there a way I can have mutt apply different color settings depending
 on terminal type, or may be depending on which tty I'm on , or some other
 way to handle this issue?

 I am using:

 ~/.muttrc:
# Color settings
source ${HOME}/.mutt/`echo $TERM`

 Then, there are two files with different settings in .mutt, colors and mono.
 $TERM is just a link to the approproiate file:

$ ls -l ~/.mutt
-rw-r--r--   1 lhecking users1064 Aug 16  1999 colors
lrwxrwxrwx   1 lhecking users   6 May  8 22:15 dtterm - colors
lrwxrwxrwx   1 lhecking users   6 May  8 22:15 emacs - colors
lrwxrwxrwx   1 lhecking users   6 May  8 22:15 linux - colors
-rw-r--r--   1 lhecking users  22 Sep 11  1997 mono
lrwxrwxrwx   1 lhecking users   4 May  8 22:15 screen - mono
lrwxrwxrwx   1 lhecking users   4 May  8 22:15 sun - mono
lrwxrwxrwx   1 lhecking users   4 May  8 22:15 sun-cmd - mono
lrwxrwxrwx   1 lhecking users   4 May  8 22:15 vt100 - mono
lrwxrwxrwx   1 lhecking users   4 May  8 22:15 vt220 - mono
lrwxrwxrwx   1 lhecking users   6 May  8 22:15 xterm - colors
lrwxrwxrwx   1 lhecking users   6 May  8 22:15 xterm-color - colors




Re: change color settings depend on tty in use

2000-11-03 Thread Jason Helfman

Just running mutt -h, there is an option to run a:

-F file specify an alternate muttrc file

You can run an alternate .muttrc file such as:

.muttrc-home
.muttrc-work

And then easily just source out the other files from there, or put
everything in that one file.

On Fri, Nov 03, 2000 at 06:15:15AM -0500, fred smith muttered:
| Gentlemen:
| 
| when I use Mutt on a direct console I like color settings. When I dial in
| from work the color settings don't work very well even though I DO set
| the terminal type correctly.
| 
| Is there a way I can have mutt apply different color settings depending
| on terminal type, or may be depending on which tty I'm on , or some other
| way to handle this issue?
| 
| thanks!
| 
| Fred
| -- 
|  Fred Smith -- [EMAIL PROTECTED] 
|I can do all things through Christ 
|   who strengthens me.
| -- Philippians 4:13 ---

-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



Mutt + Screen + Vim question

2000-11-03 Thread Steve Bankowitz

I currently use something along the lines (in my $HOME/.muttrc)

  set editor="vim '+/^$'"

(pretty standard stuff.)  But every once and a while I would like to
jump back to Mutt to check a message.  Since I'm running screen I
thought, ``Oh, I'll just spawn vim off in another screen and then jump
back to mutt if need be.''

Well if I do just that:

  set editor="screen vim -f '+/^$'"

Screen spawns off a vim session just fine, but the contents of the file
is empty.  I used the `-f` thinking that vim was detaching from the
shell, but know difference is noticed.

So my next try was to write a quick wrapper around screen and vim and
pass it argv1.

  % cat hack 
  #!/bin/sh
  /usr/apps/bin/screen /usr/apps/bin/vim -- $1

And in my .muttrc file.

  set editor="/home/sbank/hack"

Still no go.  Screen spawns with vim, but no e-mail message to edit.

Does anyone have any suggestions?  (I looked in the mail archives, but
all I came up with is someone saying you should try the `-x` option to
vim.  Which is clearly wrong if you just do a quick man on vim.)

Thanks,
Steve



Re: Mutt + Screen + Vim question

2000-11-03 Thread Brian D. Winters

On Fri, Nov 03, 2000 at 03:19:30PM -0500, Steve Bankowitz wrote:
 (pretty standard stuff.)  But every once and a while I would like to
 jump back to Mutt to check a message.  Since I'm running screen I
 thought, ``Oh, I'll just spawn vim off in another screen and then jump
 back to mutt if need be.''

Why not leave your editor stuff alone, and spawn another mutt in
another screen?

Brian



Re: Mutt crashing when I try to retrieve a postponed message.

2000-11-03 Thread Rod Pike

On Sun, Oct 29, 2000 at 09:28:58PM -0200, Rod Pike wrote:
 Sorry for that follow-up post.  One of these days I'm going to figure out how
 to use mutt.  Again and hopefully the beginning of a thread...
 
 I'm running mutt 1.2.5i and a UW IMAP server.  I don't even know where to start
 as I haven't been able to figure out how to trap error messages/logs.
 
 Here's my postponed setting.
 
 set postponed={my.imap.server}Drafts
 
 Any help would be greatly appreciated.
 
 Cheers,
 -- 
 Rod Pike
 rodneyp @ utanet.at

Is there nobody who can help me here?  

Although I am initially enjoying learning the power of Mutt, loosing postponed
messages is a major stumbling block.  I fear I may have to return to using
Netscape/Outlook for reading mail.

Rod
-- 
Rod Pike
rodneyp @ utanet.at



Re: Mutt + Screen + Vim question

2000-11-03 Thread Steve Bankowitz

Brian D. Winters [[EMAIL PROTECTED]] wrote:
 On Fri, Nov 03, 2000 at 03:19:30PM -0500, Steve Bankowitz wrote:
  (pretty standard stuff.)  But every once and a while I would like to
  jump back to Mutt to check a message.  Since I'm running screen I
  thought, ``Oh, I'll just spawn vim off in another screen and then jump
  back to mutt if need be.''
 
 Why not leave your editor stuff alone, and spawn another mutt in
 another screen?

How would I do that?  Would I write a macro for `m`?

  macro index m |screen mutt  %s

Or something along those lines?



Re: Mutt + Screen + Vim question

2000-11-03 Thread Brian D. Winters

On Fri, Nov 03, 2000 at 07:07:28PM -0500, Steve Bankowitz wrote:
 Brian D. Winters [[EMAIL PROTECTED]] wrote:
  On Fri, Nov 03, 2000 at 03:19:30PM -0500, Steve Bankowitz wrote:
   (pretty standard stuff.)  But every once and a while I would like to
   jump back to Mutt to check a message.  Since I'm running screen I
   thought, ``Oh, I'll just spawn vim off in another screen and then jump
   back to mutt if need be.''
  
  Why not leave your editor stuff alone, and spawn another mutt in
  another screen?
 
 How would I do that?  Would I write a macro for `m`?

And how would you invoke that 'm' macro from inside vim??? :)  The
solution I'm suggesting has absolutely nothing to do with mutt and
everything to do with screen.  Mutt can't do what you think you want
it to do.  You need to tell screen you want a new screen, and you want
to run mutt in that new screen.

The only way to interrupt composing a message and use mutt to browse
e-mail is to postpone the current message (exit your editor, then
invoke postpone-message, probably with the 'P' key), browse away,
and then resume the postponed message (probably with 'R').  You can't
"jump back to mutt" from your editor, because mutt is waiting for vim
to terminate, and if I read your message correctly, you want to browse
messages in mutt without exiting vim.  That just won't work.

Brian



Re: end hangs mutt for long messages

2000-11-03 Thread Byrial Jensen

On Fri, Oct 27, 2000 at 18:38:17 -0700, Neelakanth wrote:
 
 Hi ,
 I just tried hitting the end key in the pager. For small messages it
 works fine, but when I tried it for a long message (40K) it hung.

It doesn't hang, it works and it eventually show the end of the
message. The problem is that the algorithm used to find the used
quote levels in the message is ineffecient for large messages.
There is nothing to do, but have patience or rewrite the code.

-- 
Byrial
http://home.worldonline.dk/~byrial/