Re: Conditionals in macros?

2000-08-02 Thread Brett Coon
On Wednesday, David T-G said something like: > ...and then Brett Coon said... > % I'd like to map the key to go to the next new message if > % there is one, else the next unread message. How can I do that? > > That's a great idea, but I think that the current answer is that it can't > be

Re: Conditionals in macros?

2000-08-02 Thread David T-G
Brett -- ...and then Brett Coon said... % I'd like to map the key to go to the next new message if % there is one, else the next unread message. How can I do that? That's a great idea, but I think that the current answer is that it can't be done. There has been talk of implementing S-Lan

Re: conditionals

2000-07-23 Thread Thomas Roessler
On 2000-07-22 14:43:18 -0700, Eugene Lee wrote: > Can't you do something like: > > source ~/.mutt/$TERM > > and then just create a different muttrc file for each terminal? Yes, certainly. But only if you really know what terminals you may ever be using. Given the recent inflation of xt

Re: conditionals

2000-07-22 Thread Eugene Lee
On Sat, Jul 22, 2000 at 10:58:18AM +0200, Thomas Roessler wrote: : On 2000-07-21 17:25:30 +0200, Johannes Zellner wrote: : : > is it possible to have conditionals in ~/.muttrc ? : > I want for example slightly different colors in : > xterm than in linux console. : : I'm doing it this way: : : s

Re: conditionals

2000-07-22 Thread Thomas Roessler
On 2000-07-21 17:25:30 +0200, Johannes Zellner wrote: > is it possible to have conditionals in ~/.muttrc ? > I want for example slightly different colors in > xterm than in linux console. I'm doing it this way: source ~/.mutt/colors.`if [ "$TERM" = "linux" ] ; then echo \ linux ; else e

Re: conditionals in .muttrc

1999-07-30 Thread Tom Hall
On Thu, Jul 22, 1999 at 09:08:00AM -0400, Erik Jacobsen wrote: > ... > a quick but does-the-job solution is to use "source ~/.muttrc-$TERM" from > your .muttrc file. of course the files can go anywhere to avoid > "dot-clutter", and can have settings (or not) for color, etc. I use a newer version

Re: conditionals in .muttrc

1999-07-22 Thread Erik Jacobsen
On Thu, Jul 22, 1999 at 6:20 AM, David Thorburn-Gundlach typed: > Hi, folks -- > > I think I saw this a long time ago, but I now cannot find any such > reference in the manual or in the sample .muttrc. > > Is there a way that I can test for my terminal type, like vt100, and > set some things b