Re: automatic removal of duplicates

2002-10-13 Thread Lukas Ruf

Sven,

On Sun, 13 Oct 2002, Sven Guckes wrote:

 
 yup.  in addition, here's a hook for this:
 
   folder-hook . delete-pattern~=
 

using your proposal let to an error message Unknown command.
Playing around let me to slight glimpse of improvement:

  folder-hook (fain|mutt|vim|linuxdebian) 'push delete-pattern~=\n'
   ^  ^^
seems to work.

wbr,

Lukas
-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org



Re: automatic removal of duplicates

2002-10-13 Thread Lukas Ruf

Sven,

On Sun, 13 Oct 2002, Sven Guckes wrote:

 
   folder-hook . delete-pattern~=
 
right at the moment, I defined 

  folder-hook . push 'D~=\n'

 
   folder-hook . limit!~=cr
 
It it works, I prefer this approach as well!

Thanks,
-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org



Re: function executed when entering a box

2002-10-13 Thread Sven Guckes

* Bernard Massot [EMAIL PROTECTED] [2002-10-12 15:49]:
 Is it possible to change the function executed first when entering a box ?
 It seems that mutt calls next-new whereas I'd like it to
 call next-unread.  I've tried to use exec first-entry
 next-unread but when I enter a box with no unread message,
 it lets the cursor on the 1st message, and I don't want that.

* On Sun, Oct 13, 2002 at 12:54:15AM +0200, Sven Guckes wrote:
 so what do you expect to happen when you enter a folder
 with *no* unread messages and you tell mutt to jump
 to the next-unread message - when there is *none*?

* Bernard Massot [EMAIL PROTECTED] [2002-10-12 23:12]:
 I'm expecting what mutt does for the moment:
 jump to last message.

but if *all* messages are *not* unread
(read: all messages have been read)
then the last one is read, too.
so in this case mutt would be doing
something wrong, now, wouldn't it?

 Mutt behaves right for me on empty boxes.

well, you cannot do a lot of wrong stuff
on *empty* folders, now, can you?  ;-)
but mutt cannot even jump to the last
messages because there is no such...

Sven  [who gave up reasoning with people
   who argue that 1+1 cannot be 10]

-- 
there are 10 kinds of people in this world -
one understand binary - and the other don't.



Re: alias creation out of received emails (mutt 1.4i)

2002-10-13 Thread Lukas Ruf

Sven,


On Thu, 10 Oct 2002, Sven Guckes wrote:

 
 it all depends on how you treat your doggie.
 did you try to teach him new tricks, perhaps?
 fed him any weird patches lately?  or
 maybe you should take it for walkies?
 
Well, if I fed any cookies I knew because I do not rely on dselect for
any important program like vim, mutt, openss[lh], postfix and
apache... However, I have not applied any patches to mutt.

 well, there is the option alias_format -
 but this would affect the presentation in the
 alias menu only.  i hope.  but if it *does*
 affect the creation of an alias with the
 create-alias command then it must be because
 you changed its value.  but you didn't, right?
 
All I get when grepping muttrc and my private lpr_settings:

  uccellina:~/.mutt!68 grep alias muttrc lpr_settings 
  muttrc:set reverse_alias   # use realname from reverse alias lookup
  muttrc:set sort_alias=alias
  muttrc:set alias_format=%4n %t %-12a  %r
  muttrc:set alias_file=~/.mutt/aliases  # add the Aliases here
  muttrc:source ~/.mutt/aliases  # and include all existing aliases

For sure alias_format I have not changed.

  Reply-To: Lukas Ruf [EMAIL PROTECTED]
 
 the Reply-To is completely redundant.
 
I know.  But for business use, I have been asked several times why I
had not set my Reply-To.  Finally, I got slightly mad about all these
questions.  Since I am using mutt (and do rawip list-administration,
if there was action ,-), I re-configured the appropriate send-hooks.
Take look now.

By the way, I remember when you send me some requests not to top-post
and neither to include the full messages.  There, you mentioned
something about guidelines you have written for posting to mailing
lists.  Would you mind sending me the link again, and would you mind
me including this link on the rawip homepage?

Thanks,
-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org



http://www.mutt.org/mail-lists.html -- Request to change

2002-10-13 Thread Lukas Ruf

Folks,

a few seconds ago, I wanted to re-subscribe under a different name on 
http://www.mutt.org/mail-lists.html

A thing I did not like there was the way how you offer the different
mailing lists:  You offer them as radio-buttons instead of checkboxes.

Why?  Using mozilla 1.0, I was not unable to uncheck a radio-button
without pressing Reset.  This deleted also my email address.

Would anyone of the administrators mind changing the radio-buttons
into checkboxes?


Thanks,
-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org




Re: imap issues

2002-10-13 Thread dan radom

* dan radom ([EMAIL PROTECTED]) wrote:
 in the process of playing with imap i noticed something strange.  when opening any 
mailbox, the current highlighted message appears to have the same text, foreground 
and background colors.  in other words it appears as a solid red bar, where it should 
have white text.  if i move to another message sometimes the solid red bar will 
remain on that first message, and the newly selected message also appears 
hihglighted, but displays as it it should.  has anyone seen this before?

this was the problem all along

color index green default '~h ^X-Spam-Status:.*Yes'



Re: function executed when entering a box

2002-10-13 Thread Sven Guckes

* Bernard Massot [EMAIL PROTECTED] [2002-10-12 15:49]:
 Is it possible to change the function executed first when entering a box ?
 It seems that mutt calls next-new whereas I'd like it to
 call next-unread.  I've tried to use exec first-entry
 next-unread but when I enter a box with no unread message,
 it lets the cursor on the 1st message, and I don't want that.

so what do you expect to happen when you enter a folder
with *no* unread messages and you tell mutt to jump
to the next-unread message - when there is *none*?
(now, that's a tough one...)

Sven



Re: function executed when entering a box

2002-10-13 Thread Bernard Massot

mutt default's behavior is :
- if the box has no messages matching ~N or ~O, go on last message in
  the bottom of the index (right for me)
- if there are some messages matching ~N, go on the 1st message matching
  ~N (right for me)
- if there are some messages matching ~O, go on the 1st message matching
  ~O (right for me)
- if there are both messages matching ~N and ~O, go on the 1st message
  matching ~N (that's what I don't like, I'd like it to go on the 1st
  message matching ~O)

Maybe I wasn't clear enough in my previous messages but this time I
think I was !
-- 
Bernard Massot



msg31755/pgp0.pgp
Description: PGP signature


Re: host-hook

2002-10-13 Thread Bernard Massot

On Sun, Oct 13, 2002 at 12:08:18AM +0200, Hanspeter Roth wrote:
 Hello,
 
 is there a host-hook in mutt 1.4 or later?
 I would like to set the `hostname' variable depending on the
 hostname.
hostname = `hostname`
Is it what you want ?
-- 
Bernard Massot



msg31756/pgp0.pgp
Description: PGP signature


Re: automatic removal of duplicates

2002-10-13 Thread Sven Guckes

* Lukas Ruf:
 quite often I receive emails several times because
 people do not know how to handle mailing list replies.

 Is there a possibility in mutt 1.4 of which I can make use such
 that duplicates get automagically marked as deleted whenever I
 enter a new folder.  I assume, I would need to bind this to the
 my folder-hook setings.  But what would be the expression?

* Will Yardley [EMAIL PROTECTED] [2002-10-13 08:46]:
 Search for simple patterns in TFM.
~=  duplicated messages (see $duplicate_threads)

 Alternately, use procmail to filter your duplicates
 (use at your own risk) - see the procmailex man page.

yup.  in addition, here's a hook for this:

  folder-hook . delete-pattern~=

however, i do not like automatic deletions -
unless i am very very sure about it.
so i suggest to limit the view
on the non-duplicates first:

  folder-hook . limit!~=cr

untested, but should work.

Sven



automatic removal of duplicates

2002-10-13 Thread Lukas Ruf

Dear all,

quite often I receive emails several times because people do not know
how to handle mailing list replies.

Is there a possibility in mutt 1.4 of which I can make use such that
duplicates get automagically marked as deleted whenever I enter a new
folder.  I assume, I would need to bind this to the my folder-hook
setings.  But what would be the expression?


Thanks
-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org



host-hook

2002-10-13 Thread Hanspeter Roth

Hello,

is there a host-hook in mutt 1.4 or later?
I would like to set the `hostname' variable depending on the
hostname.

-Hanspeter




Re: automatic removal of duplicates

2002-10-13 Thread Will Yardley

Lukas Ruf wrote:

 quite often I receive emails several times because people do not know
 how to handle mailing list replies.
 
 Is there a possibility in mutt 1.4 of which I can make use such that
 duplicates get automagically marked as deleted whenever I enter a new
 folder.  I assume, I would need to bind this to the my folder-hook
 setings.  But what would be the expression?

Search for simple patterns in TFM.

   ~=   duplicated messages (see $duplicate_threads)

Alternately, use procmail to filter your duplicates (use at your own
risk) - see the procmailex man page.

-- 
Will Yardley
input: william   hq . newdream . net . 




Re: host-hook

2002-10-13 Thread Thorsten Haude

Hi,

* Hanspeter Roth [EMAIL PROTECTED] [02-10-13 00:08]:
I would like to set the `hostname' variable depending on the
hostname.

For your own hostname, `hostname` should do, for the receiver's
hostname, a sendhook should work.


Thorsten
-- 
If you don't claim your humanity, you will become a statistic.
- Tyler Durden



Re: host-hook

2002-10-13 Thread Nicolas Rachinsky

* Hanspeter Roth [EMAIL PROTECTED] [2002-10-13 00:08 +0200]:
 is there a host-hook in mutt 1.4 or later?
 I would like to set the `hostname' variable depending on the
 hostname.

What about set hostname=`hostname`?

Nicolas



Re: iconv stuff on solaris still unresolved

2002-10-13 Thread Sven Guckes

* René Clerc [EMAIL PROTECTED] [2002-10-12 16:46]:
 * Sven Guckes [EMAIL PROTECTED] [11-10-2002 20:25]:

 [all context]

  * Ren Clerc [EMAIL PROTECTED] [2002-10-11 16:01]:

   ^^

 This grieves me, Sven...

sorry, man.  this iconv stuff
just doesn't work on solaris.

i downloaded the latest iconv lib
and installed it, recompiled
mutt --with-iconv=$HOME -
but no go.  this *really*
bugs me, too...  *grr*

Sven



fcc-hook: how to set the current folder?

2002-10-13 Thread Lukas Ruf

Dear all,

I would like to configure mutt 1.4 for outgoing emails such that every
outgoing email is saved in an folder according to one of the following
two methods:

a) some particular folders are configured according to well-known ,-)
   email-addresses using the fcc-hook '~C pattern' 'folder_notation'
   -- solved 
  
b) all the emails I do not have specifically configured fcc-hooks for,
   I would like to store in the folder where I actually read the
   emails in.  This is most useful when replying.

For b) I would like to make use of the folder-hook.  When entering a
particular folder, I would like to set the fcc-hook such that every
outgoing email is saved in this folder.

I read again some of the mutt-documentation on the different hooks,
variables and also most of the example muttrc, but I have neither found a
solution to this problem nor a hint how I could figure out the name of
the actual folder.

Any hint is gratefully appreciated!

Thanks
-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org



Re: abook is ugly. What else is there?

2002-10-13 Thread David Britton

On Thu, Oct 10, 2002 at 11:54:00PM +, MindFuq wrote:
 
 What do you non-abook users use?  I don't care if it's textual or
 graphical.

Check out lbdb (Little Brother Data Base) -- google for 'lbdb'.  It has
a bunch of modules (including something called 'm_palm', and lots of
others) that can import address and print them out in a mutt-readable
manner (so the internal query utility can read them).  But I'll leave
that investigation to you.

/db



function executed when entering a box

2002-10-13 Thread Bernard Massot

Hi

Is it possible to change the function executed first when entering a
box ?
It seems that mutt calls next-new whereas I'd like it to call
next-unread. I've tried to use exec first-entry next-unread but when
I enter a box with no unread message, it lets the cursor on the 1st
message, and I don't want that.
-- 
Bernard Massot



msg31766/pgp0.pgp
Description: PGP signature


Re: iconv stuff on solaris still unresolved

2002-10-13 Thread Sven Guckes

* Piotr Kasztelowicz [EMAIL PROTECTED] [2002-10-12 23:04]:
 On Sun, 13 Oct 2002, Sven Guckes wrote:
  and installed it, recompiled mutt --with-iconv=$HOME -
 it can be. I have like you experiences with
 mutt, iconv, Solaris 7, gcc 3.2 and gnumake

so that makes two of us.

well, i suppose i might be related because
technically we use different versions:

  system:   SunOS 5.8 Generic_108528-13 sun4u sparc
  programs: libiconv 1.8, gcc 2.95.3, GNU make 3.77,
  mutt 1.4 + ncurses 5.2 + +HAVE_ICONV -ICONV_NONTRANS

so - is anyone using mutt 1.4 with iconv on solaris successfully?
mind you - i am not root, so all my stuff resides in my $HOME.

i once tried to resolve this but i think the bottom line was
that it all is of no use because the solaris admin chose to
install only the language stuff for C - and no others...

Sven

===
$ ls -l libiconv-1.8.tar.gz
.. 3514117 May 29 19:46 libiconv-1.8.tar.gz

$ gcc --version
2.95.3

$ make --version
GNU Make version 3.77..

$ mutt -v
Mutt 1.4i (2002-05-29) ...
System: SunOS 5.8 (sun4u) [using ncurses 5.2]
Compile options: ...  +HAVE_ICONV  -ICONV_NONTRANS

$ uname -a
SunOS ritz 5.8 Generic_108528-13 sun4u sparc



Re: Macros using flag-message - set resolve

2002-10-13 Thread René Clerc

* Sven Guckes [EMAIL PROTECTED] [11-10-2002 20:25]:

[all context]

 * Ren Clerc [EMAIL PROTECTED] [2002-10-11 16:01]:

  ^^

This grieves me, Sven...

-- 
René Clerc  - ([EMAIL PROTECTED])

No woman, no cry.
-Bob Marley 



msg31768/pgp0.pgp
Description: PGP signature


Re: fcc-hook: how to set the current folder?

2002-10-13 Thread Elimar Riesebieter

On Sun, 13 Oct 2002 the mental interface of 
Lukas Ruf told:

 Dear all,
 
 I would like to configure mutt 1.4 for outgoing emails such that every
 outgoing email is saved in an folder according to one of the following
 two methods:
 
 a) some particular folders are configured according to well-known ,-)
email-addresses using the fcc-hook '~C pattern' 'folder_notation'
-- solved 
   
 b) all the emails I do not have specifically configured fcc-hooks for,
I would like to store in the folder where I actually read the
emails in.  This is most useful when replying.
 
 For b) I would like to make use of the folder-hook.  When entering a
 particular folder, I would like to set the fcc-hook such that every
 outgoing email is saved in this folder.

This means you want set record=+inbox ?

Maybe fcc-hook . inbox , but this is a contradiction!

HTH

-- 
  Ersatz des Zufalls durch den Irrtum.
-unknown-



msg31769/pgp0.pgp
Description: PGP signature


Re: function executed when entering a box

2002-10-13 Thread Bernard Massot

On Sun, Oct 13, 2002 at 12:54:15AM +0200, Sven Guckes wrote:
 * Bernard Massot [EMAIL PROTECTED] [2002-10-12 15:49]:
  Is it possible to change the function executed first when entering a box ?
  It seems that mutt calls next-new whereas I'd like it to
  call next-unread.  I've tried to use exec first-entry
  next-unread but when I enter a box with no unread message,
  it lets the cursor on the 1st message, and I don't want that.
 
 so what do you expect to happen when you enter a folder
 with *no* unread messages and you tell mutt to jump
 to the next-unread message - when there is *none*?
I'm expecting what mutt does for the moment : jump to last message.
Mutt behaves right for me on empty boxes.
-- 
Bernard Massot



msg31770/pgp0.pgp
Description: PGP signature


Re: host-hook

2002-10-13 Thread Hanspeter Roth

  On Oct 13 at 02:20, Bernard Massot spoke:

 hostname = `hostname`
 Is it what you want ?

No. I want something like this:

if [ `hostname` == host1 ]; then
set hostname=host2
fi

It should also affect the domain in the envelope when using bounce.

-Hanspeter




Re: host-hook

2002-10-13 Thread Nicolas Rachinsky

* Hanspeter Roth [EMAIL PROTECTED] [2002-10-13 18:04 +0200]:
   On Oct 13 at 02:20, Bernard Massot spoke:
 
  hostname = `hostname`
  Is it what you want ?
 
 No. I want something like this:
 
 if [ `hostname` == host1 ]; then
   set hostname=host2
 fi
 
 It should also affect the domain in the envelope when using bounce.

Write a shellscript, which outputs the info you want (depending on
whatever you want) and source it with 'source pathtoscript|'.

Nicolas



Re: fcc-hook: how to set the current folder?

2002-10-13 Thread David T-G

Luka --

...and then Lukas Ruf said...
% 
...
% b) all the emails I do not have specifically configured fcc-hooks for,
%I would like to store in the folder where I actually read the
%emails in.  This is most useful when replying.
% 
% For b) I would like to make use of the folder-hook.  When entering a
% particular folder, I would like to set the fcc-hook such that every
% outgoing email is saved in this folder.

Why bother to be folder-specific?  Back to TFM and you'll find the
abbreviation for the current folder can help:

  fcc-save-hook . ^

Of course, you follow that with your specific cases and away you go.


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!




msg31773/pgp0.pgp
Description: PGP signature


Re: iconv stuff on solaris still unresolved

2002-10-13 Thread David Champion

* On 2002.10.12, in [EMAIL PROTECTED],
*   Sven Dogbert Guckes [EMAIL PROTECTED] wrote:
 
 so - is anyone using mutt 1.4 with iconv on solaris successfully?
 mind you - i am not root, so all my stuff resides in my $HOME.

I'm using 1.5.1 on Solaris, and before that I used 1.3.x on Solaris, all
successfully. I use the native iconv, though, not libiconv. I didn't do
anything special; it just worked.

+HAVE_ICONV  +ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  

I've built 1.4 on Solaris with no trouble, but I don't regularly use it.


 i once tried to resolve this but i think the bottom line was
 that it all is of no use because the solaris admin chose to
 install only the language stuff for C - and no others...

Well, that would be a problem. But it's not fair or correct to say that
this iconv stuff just doesn't work on Solaris.

-- 
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special coffee's
 University of Chicago  bitter and sourtaste. LET'S HAVE SUCH A COFFEE! NOW!
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.



Re: host-hook

2002-10-13 Thread Hanspeter Roth

  On Oct 13 at 18:49, Nicolas Rachinsky spoke:

 Write a shellscript, which outputs the info you want (depending on
 whatever you want) and source it with 'source pathtoscript|'.

Ok. Thank you.

-Hanspeter



Re: fcc-hook: how to set the current folder?

2002-10-13 Thread Lukas Ruf

Elimar,

On Sun, 13 Oct 2002, Elimar Riesebieter wrote:

 
 This means you want set record=+inbox ?
 
 Maybe fcc-hook . inbox , but this is a contradiction!
 

I do not have a folder named inbox.  It does not really solve my
problem.  Thanks, anyway.

-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org



Re: fcc-hook: how to set the current folder?

2002-10-13 Thread Lukas Ruf

David,

On Sun, 13 Oct 2002, David T-G wrote:

 
 Why bother to be folder-specific?  Back to TFM and you'll find the
 abbreviation for the current folder can help:
 
   fcc-save-hook . ^
 
Pardon my non-understanding, but searching the text version of the
manual for the current folder as well as trying your proposal have
not helped me solving my problem.  When I define a fcc-save-hook as
proposed, the Fcc: in the send menu (?) reads 
Fcc: ^
-- but there is no message appended to the current folder.

Maybe, I misinterpreted something?

Thanks for any help!
-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org



Re: fcc-hook: how to set the current folder?

2002-10-13 Thread Elimar Riesebieter

On Sun, 13 Oct 2002 the mental interface of 
Lukas Ruf told:

 Elimar,
 
 On Sun, 13 Oct 2002, Elimar Riesebieter wrote:
 
  
  This means you want set record=+inbox ?
  
  Maybe fcc-hook . inbox , but this is a contradiction!
  
 
 I do not have a folder named inbox.  It does not really solve my
 problem.  Thanks, anyway.

inbox is the folder where your incoming mails are saved! If you
are using procmail it is your DEFAULT=$MAILDIR/YourInbox. If not try
/var/spool/mail/YourUserName!

Uff!

-- 
  Excellent day for drinking heavily. 
  Spike the office water cooler;-)



msg31778/pgp0.pgp
Description: PGP signature


Re: fcc-hook: how to set the current folder?

2002-10-13 Thread Lukas Ruf

Elimar,

thanks.

On Sun, 13 Oct 2002, Elimar Riesebieter wrote:

 
 inbox is the folder where your incoming mails are saved! If you
 are using procmail it is your DEFAULT=$MAILDIR/YourInbox. If not try
 /var/spool/mail/YourUserName!
 
Well, I know the name inbox from my pine-times -- some two or three
years ago.  I do not like it since I make heavily use of procmail to
distribute my emails to appropriate folders.  For this reason, I call
my inbox +def, which stands for default, i.e. the mails I could not
automagically deliver to the appropriate folder.

What I meant is that I would like to configure a
fcc-hook/fcc-save-hook the way that if I reply to a single user of a
mailing list, the email gets saved into the appropriate folder.  For
example, assume I would have sent this email to you only.  However,
since the email was delivered to my =mutt folder, I would like to have
the outgoind email sent into =mutt too.  But, since I do not know how
to specify the current folder, I have specified 
fcc-save-hook . =def 
in my muttrc.

The other proposal sent by David directed to the point I wanted to
know.  However, neither TFM nor the hint could really help me.

If anyone has any further help, I would really appreciate!  

Thanks!
-- 
Lukas Ruf
http://www.lpr.ch http://www.maremma.ch
http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}
Wanna know anything about raw ip? Join [EMAIL PROTECTED] on www.rawip.org



Re: automatic removal of duplicates

2002-10-13 Thread Sven Guckes

* Lukas Ruf [EMAIL PROTECTED] [2002-10-13 14:00]:
 On Sun, 13 Oct 2002, Sven Guckes wrote:
folder-hook . delete-pattern~=

 using your proposal let to an error message Unknown command.
 Playing around let me to slight glimpse of improvement:

   folder-hook (fain|mutt|vim|linuxdebian) 'push delete-pattern~=\n'
^  ^^
 seems to work.

yep - it needs to be pushed.

however, i still prefer to issue such commands myself, so i may
them a macro - where i usually leave out the \n so i can still
decide whether to accept by typing enter - or abort with CTRL-G.
so that's why the \n was missing - feature! :-)

but for deleting duplicates i simply *know*
that the pattern is ~= - so i do not really
need a macro for that.  it's too easy...  ;-)

Sven



Re: imap issues - color issue?

2002-10-13 Thread Sven Guckes

* dan radom [EMAIL PROTECTED] [2002-10-12 23:38]:
 * dan radom ([EMAIL PROTECTED]) wrote:
  in the process of playing with imap i noticed something
  strange.  when opening any mailbox, the current
  highlighted message appears to have the same text,
  foreground and background colors.  in other words it
  appears as a solid red bar, where it should have white
  text.  if i move to another message sometimes the solid
  red bar will remain on that first message, and the newly
  selected message also appears higlighted, but displays
  as it it should.  has anyone seen this before?

 this was the problem all along
 color index green default '~h ^X-Spam-Status:.*Yes'

so the green on default thing made mutt place
the red bar at the bottom of the screen?  huh??

Sven  [green things?  it's *gotta* be aliens...]



Re: function executed when entering a box

2002-10-13 Thread Sven Guckes

* Bernard Massot [EMAIL PROTECTED] [2002-10-12 23:41]:
 mutt default's behavior is :
 - if the box has no messages matching ~N or ~O,
   go on last message in the bottom of the index (right for me)
 - if there are some messages matching ~N,
   go on the 1st message matching ~N (right for me)
 - if there are some messages matching ~O,
   go on the 1st message matching ~O (right for me)
 - if there are both messages matching ~N and ~O,
   go on the 1st message matching ~N (that's what I don't
   like, I'd like it to go on the 1st message matching ~O)

i'd limit to (~N|~O) and then jump to the first entry -
but this might be either ~N or ~O - depending on the case.
anyway, i suppose this requires a change of the code...

Sven



Re: imap issues - color issue?

2002-10-13 Thread dan radom

* Sven Guckes ([EMAIL PROTECTED]) wrote:
 so the green on default thing made mutt place
 the red bar at the bottom of the screen?  huh??
 
 Sven  [green things?  it's *gotta* be aliens...]

yup.  when vt100 worked fine i figured it was a runaway color line in muttrc.  i 
commented then out one by one and that was the culprit.  thanks for the help.

dan



Changing From header

2002-10-13 Thread Brian Bray


I've been looking around for a painless way to modify the From header based on 
which account I am using.

I am sure this has been done as I can't be the only person with way too many 
email accounts.  I am looking for a patch or keybinding that will allow me to 
scroll through a list of email address that I use.  This would be nice if it 
worked just like the t key does when sending mail ie: I could hit F then tab 
to scroll through a list of my email addresses.

Is there a patch that will add this to mutt or is it already there and I am 
just missing it?

-Brian