abook is ugly. What else is there?

2002-10-11 Thread MindFuq

I just installed abook.  How can you folks stand it?  It's so ugly the
way it tries to be graphical.  Each tab has only 4 or 5 fields.  It
has the disadvantages of textual interfaces as well as the
disadvantages of graphical interfaces.  It would have been better just
to put all the fields on a single screen and forget the tabs.

Furthermore, it doesn't support categories; so my friends have to be
listed next to my coworkers and vendors.

Then it also has the problem where if you're hitting backspace to
erase text, the cursor position shifts so that you don't know what
you've deleted.  (mutt also has this problem)

Anyway, (hope no one is offended), what alternatives are there to
abook?  I would most like to find something that's interoperable
between a palm and mutt, which probably doesn't exist.  But what about
something that can import CSV or ABA formatted address books, and
export a mutt alias file?

What do you non-abook users use?  I don't care if it's textual or
graphical.



Re: list of key bindings

2002-10-11 Thread Thorsten Haude

Hi,

* Susan Kleinmann [EMAIL PROTECTED] [02-10-11 03:44]:
I must still be doing something wrong:  I can't believe that every single
person who uses mutt has to cut and paste all 3 or 4 help screens into an 
editor, then do a bunch of editing, just to find out which few keys are 
available to assign to macros.

I usually just assign a key. If it was already taken then probably not
by a function I will miss much. In any case, I can change it back
easily.


I also can't believe that users are really restricted to single
keystrokes to identify macros.

With qualifier, yes, I think that's true. Let's see what the others
have to say.


Here are a couple of specific ambiguities in the manual:
Section 3.3 says that the key to which a function can be mapped may consist
of: 
...
f1
f10
Some messages in the mutt-users archives implies that the 
above really means:  f1...f10

I don't know that part of the manual, but I use several function keys.


Section 3.2 in the manual says that one can define aliases using
alias key address [, address, ...]
but then says aliases can be used to map a short string to a full
address.  So is key to be understood as a short string in all cases?

It is in this case. While entering an address, the usual single key
commands don't work, you are in (line) editor land now.


Thorsten
-- 
Is there a suspect in your family? - Contact the Ministry of Information.



Re: abook is ugly. What else is there?

2002-10-11 Thread Chris Green

On Thu, Oct 10, 2002 at 11:54:00PM +, MindFuq wrote:
 
 Then it also has the problem where if you're hitting backspace to
 erase text, the cursor position shifts so that you don't know what
 you've deleted.  (mutt also has this problem)
 
This sounds more like a terminal set up problem (TERM variable) than a
mutt/abook problem.

-- 
Chris Green ([EMAIL PROTECTED])



send hooks again .. not working

2002-10-11 Thread Toby Coleridge

i have the following:

send-hook . my_hdr From: [EMAIL PROTECTED]
send-hook @student\.lboro\.ac\.uk my_hdr From: me@myuniemailadrress

however when I send mail to [EMAIL PROTECTED] I get it from [EMAIL PROTECTED] 
not the send-hook as I believe I should .. any ideas?

Thanks
Toby



Re: list of key bindings

2002-10-11 Thread Michael Tatge

Susan Kleinmann ([EMAIL PROTECTED]) muttered:
 I must still be doing something wrong:  I can't believe that every single
 person who uses mutt has to cut and paste all 3 or 4 help screens into an 
 editor, then do a bunch of editing, just to find out which few keys are 
 available to assign to macros.

Why don't you just try the key yout want to use and see wheather it's
bound or not.

 f1
 f10
 Some messages in the mutt-users archives implies that the 
 above really means:  f1...f10

Yes?

 So is key to be understood as a short string in all cases?

Of cause.
macro index .test :color index green blue .enter Make all ugly

 it struck me that mutli-key macros must indeed be possible.

They are.

 But if key is to be understood as short string for macros then how
 does the command parser know when the beginning of a short string has
 been entered, as opposed to a series of individual commands?

It can't. They must be unique for every menu resp. context. That is you
should not use ths string alpha for a pager macro since a is bound to
create-alias.
Alias keys are only evaluated at to, cc, bcc prompts.

HTH,

Michael
-- 
We all know Linux is great...it does infinite loops in 5 seconds.
(Linus Torvalds about the superiority of Linux on the Amterdam
Linux Symposium)

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



Re: send hooks again .. not working

2002-10-11 Thread Michael Tatge

Toby Coleridge ([EMAIL PROTECTED]) muttered:
 i have the following:
 
 send-hook . my_hdr From: [EMAIL PROTECTED]
 send-hook @student\.lboro\.ac\.uk my_hdr From: me@myuniemailadrress

send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'

HTH,

Michael
-- 
...Deep Hack Mode--that mysterious and frightening state of
consciousness where Mortal Users fear to tread.
(By Matt Welsh)

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



Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge

Hi Michael,

nope still doesnt work I noticed that I have set from at the top of my muttrc is this 
causing problems for send hooks?

Thanks
Toby.

On Fri, Oct 11, 2002 at 11:42:44AM +0200, Michael Tatge wrote:
 Toby Coleridge ([EMAIL PROTECTED]) muttered:
  i have the following:
  
  send-hook . my_hdr From: [EMAIL PROTECTED]
  send-hook @student\.lboro\.ac\.uk my_hdr From: me@myuniemailadrress
 
 send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'
 
 HTH,
 
 Michael
 -- 
 ...Deep Hack Mode--that mysterious and frightening state of
 consciousness where Mortal Users fear to tread.
 (By Matt Welsh)
 
 PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge

No the email address in the compose window is still wrong ... ?

Toby

On Fri, Oct 11, 2002 at 01:10:05PM +0200, René Clerc wrote:
 * Toby Coleridge [EMAIL PROTECTED] [11-10-2002 12:50]:
 
  I do however have this in my sendmail.mc / cf :
  
  define(`confDOMAIN_NAME', `4mationnet.com')dnl
  
  because I am behind a private network and I get lots of 550 returned mail.
  
  would this make a difference?
 
 I don't know, I know nothing of sendmail. However, you should be able
 to verify if your send-hook works by checking the From: entry in the
 compose menu (just before you press 'y' to send the mail). Does that
 show the correct from?
 
 -- 
 René Clerc  - ([EMAIL PROTECTED])
 
 Retteb sif lahd, noces ehttub, but the second half is better.
 -A palindrome





Re: Request for new facility in mutt - or am I missing something?

2002-10-11 Thread Rocco Rutte

Hi,

* Chris Green [02-10-11 13:38:49 +0200] wrote:
 1 Does save-hook *only* allow changing the name of the
   mbox to save to rather than the 'any command' that other
   hooks allow?

Yes.

   If so then I'd like a new hook of some sort that allows
   me to perform some arbitrary action when saving a
   message, it doesn't actually have to be as clever as the
   existing hooks as really want to execute the command
   *whenever* a message is saved.

Use a macro to ``redefine'' saving:

  macro pager s push '$youractionsave-message'

   bye, Rocco



Re: Send Hooks ..

2002-10-11 Thread Sven Guckes

* Toby Coleridge [EMAIL PROTECTED] [2002-10-10 20:25]:
 If I setup two send hooks as follows:
 send-hook .my_hdr From: [EMAIL PROTECTED] ;
 send-hook blah my_hdr From: [EMAIL PROTECTED] ;

what are the semicola for?  delete them.

 am i right in thinking that the second send
 hook will be activated on any To: or Cc:
 (or Bcc?) that contains blah in the address

yes

 does this behave in a reg exp manner?

the first parameter to the
send-hook command is a pattern, eg

  ~t foo
  ~c foo
  ~C foo

rtfm to understand.

 will it match all of the following :
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

 or does it only match after the @ ?

it's a sub-match which matches anywhere.

ps: set tw=70

Sven



Re: send hooks again .. not working

2002-10-11 Thread Sven Guckes

* Toby Coleridge [EMAIL PROTECTED] [2002-10-11 10:10]:
send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'
   nope still doesnt work I noticed that I have set from at the
   top of my muttrc is this causing problems for send hooks?
  Do you have other send-hooks, defined
  _after_ this one that override this setting?
 Nope no other send hooks defined ..

set envelope_from and do *not* let
the MTA rewrite your from lines, ok?

and if you keep top-posting then
we will simply ignore you...

rewriting the messages so that other users can be
reading them as hints from the archive costs time.
so put your answers *after* the question.  got that?

Sven

-- 
Sven Guckes  [EMAIL PROTECTED]
LEARN TO Please do not quote in full - I keep a mail log.
EDIT YOURInstead, edit your reply to make it easy to read.
MESSAGES Please http://learn.to/edit_messages - thanks!  :-)



Re: Request for new facility in mutt - or am I missing something?

2002-10-11 Thread Chris Green

On Fri, Oct 11, 2002 at 02:52:13PM +0200, Rocco Rutte wrote:
 Hi,
 
 * Chris Green [02-10-11 14:15:06 +0200] wrote:
  On Fri, Oct 11, 2002 at 01:41:18PM +0200, Rocco Rutte wrote:
 [...]
   Use a macro to ``redefine'' saving:
 
 macro pager s push '$youractionsave-message'
 
  OK, that solves the problem partly but then I need an answer to my
  second request - how can I tell $youraction the path and filename
  where save-message saves my message?
 
 That comes after ``save-message'' because it'll leed to a
 the usual prompt. You can either type it or do something
 like:
 
macro pager s push '$youractionsave-message~/mboxenter'
 
 ...which will save the message without interaction. Skip the
 part after ``save-message'' to get the prompt.
 
 I only introduced $youraction because you asked for a way to
 run arbitrary commands when saving a message.
 
I don't think you've quite understood what I want to do (and/or I
haven't explained it well!).

I want to run save-message and be allowed to navigate in the usual
fashion to the directory/mailbox where I want to save the message (by
entering '?').  Then when I save the message (doesn't matter if it's
before or after really) I want to execute $youraction and somehow pass
to $youraction what directory/mailbox the message is being saved to.

It's a pretty standard facility with macros in most programs to be
able to access variables from the 'parent' program.

-- 
Chris Green ([EMAIL PROTECTED])



Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge

I do however have this in my sendmail.mc / cf :

define(`confDOMAIN_NAME', `4mationnet.com')dnl

because I am behind a private network and I get lots of 550 returned mail.

would this make a difference?

Thanks
Toby.
On Fri, Oct 11, 2002 at 11:10:11AM +0100, Toby Coleridge wrote:
 Nope no other send hooks defined ..
 
 On Fri, Oct 11, 2002 at 11:59:37AM +0200, René Clerc wrote:
  * Toby Coleridge [EMAIL PROTECTED] [11-10-2002 11:55]:
  
  [Michael]
send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'
  
   nope still doesnt work I noticed that I have set from at the top of
   my muttrc is this causing problems for send hooks?
  
  Do you have other send-hooks, defined _after_ this one that override
  this setting?
  
  -- 
  René Clerc  - ([EMAIL PROTECTED])
  
  Ik ben niet droknen.
  -Rachel Pieterse
 



Re: imap issues - color of indicator

2002-10-11 Thread Sven Guckes

* dan top-posting jerk radom [EMAIL PROTECTED] [2002-10-11 09:57]:
  hmm... does this happen on all terminals?  even on the console?
 The terminal apps that I've tested with are xterm and Eterm.
 The terminal types I've tested with are xterm,
 xterm-color, screen-w, linux (console) and vt100.
 With vt100 I do not see this problem.

duh.  vt100 does not specify color
by definition, so color won't be used.

 With all other term types mentioned I do see it.

why did you try screen-w?
do you happen to use screen in between?
and if so - which version and what kind of setup?

 This same client also reads local mbox files, and
 I don't have this problem with the local files.

well, then please write *full* report and
send it off as a bug report using flea.
see page in sig for more info.

ps: and stop top-posting, dammit!

Sven

-- 
Sven Guckes[EMAIL PROTECTED]
MUTT BUGS http://www.math.fu-berlin.de/~guckes/mutt/bugs.php3
how to report a bug:  minimal info, patchesdiffs, where to send.
 http://bugs.guug.de/cgi-bin/bugreport.cgi?bug=12345



Re: Request for new facility in mutt - or am I missing something?

2002-10-11 Thread Rocco Rutte

Hi,

* Chris Green [02-10-11 14:15:06 +0200] wrote:
 On Fri, Oct 11, 2002 at 01:41:18PM +0200, Rocco Rutte wrote:
[...]
  Use a macro to ``redefine'' saving:

macro pager s push '$youractionsave-message'

 OK, that solves the problem partly but then I need an answer to my
 second request - how can I tell $youraction the path and filename
 where save-message saves my message?

That comes after ``save-message'' because it'll leed to a
the usual prompt. You can either type it or do something
like:

   macro pager s push '$youractionsave-message~/mboxenter'

...which will save the message without interaction. Skip the
part after ``save-message'' to get the prompt.

I only introduced $youraction because you asked for a way to
run arbitrary commands when saving a message.

   bye, Rocco



Re: which 7 other common list headers? (was: Re: .procmailrc)

2002-10-11 Thread Thomas Hurst

* Gregor Zattler ([EMAIL PROTECTED]) wrote:

 Hi Thomas,
 which 7 other ml headers did you mean?

Mailing-List: list
Sender: owner-
X-BeenThere:
Delivered-To: mailing list
X-Mailing-List:
X-Loop:
X-List:
X-ML-Name:

My full lists.rc is at http://voi.aagh.net/code/lists.rc if you want a
real example.  It puts messages in lists/listname.

Probably also worth adding the rfc2919 List-Id: header or so, although
it appears to like to use evil message-id-ish names.

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/
-
MONOTONY:
Marriage to one woman at a time.



Re: send hooks again .. not working

2002-10-11 Thread Michael Tatge

Toby Coleridge ([EMAIL PROTECTED]) muttered:
 On Fri, Oct 11, 2002 at 11:42:44AM +0200, Michael Tatge wrote:
  send-hook '~C student.lboro.ac.uk' 'my_hdr From:
  me@myuniemailadrress'

 nope still doesnt work I noticed that I have set from at the top of my
 muttrc is this causing problems for send hooks?

Hm, change the default send-hook to unmy_hdr From?

HTH,

Michael
-- 
Oh, I've seen copies [of Linux Journal] around the terminal room at The
Labs.
(By Dennis Ritchie)

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



Re: send hooks again .. not working

2002-10-11 Thread René Clerc

* Toby Coleridge [EMAIL PROTECTED] [11-10-2002 12:50]:

 I do however have this in my sendmail.mc / cf :
 
 define(`confDOMAIN_NAME', `4mationnet.com')dnl
 
 because I am behind a private network and I get lots of 550 returned mail.
 
 would this make a difference?

I don't know, I know nothing of sendmail. However, you should be able
to verify if your send-hook works by checking the From: entry in the
compose menu (just before you press 'y' to send the mail). Does that
show the correct from?

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

Retteb sif lahd, noces ehttub, but the second half is better.
-A palindrome



msg31734/pgp0.pgp
Description: PGP signature


Re: Request for new facility in mutt - or am I missing something?

2002-10-11 Thread Chris Green

On Fri, Oct 11, 2002 at 01:41:18PM +0200, Rocco Rutte wrote:
If so then I'd like a new hook of some sort that allows
me to perform some arbitrary action when saving a
message, it doesn't actually have to be as clever as the
existing hooks as really want to execute the command
*whenever* a message is saved.
 
 Use a macro to ``redefine'' saving:
 
   macro pager s push '$youractionsave-message'
 
OK, that solves the problem partly but then I need an answer to my
second request - how can I tell $youraction the path and filename
where save-message saves my message?

-- 
Chris Green ([EMAIL PROTECTED])



Re: send hooks again .. not working

2002-10-11 Thread René Clerc

* Toby Coleridge [EMAIL PROTECTED] [11-10-2002 11:55]:

[Michael]
  send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'

 nope still doesnt work I noticed that I have set from at the top of
 my muttrc is this causing problems for send hooks?

Do you have other send-hooks, defined _after_ this one that override
this setting?

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

Ik ben niet droknen.
-Rachel Pieterse



msg31736/pgp0.pgp
Description: PGP signature


Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge

Nope no other send hooks defined ..

On Fri, Oct 11, 2002 at 11:59:37AM +0200, René Clerc wrote:
 * Toby Coleridge [EMAIL PROTECTED] [11-10-2002 11:55]:
 
 [Michael]
   send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'
 
  nope still doesnt work I noticed that I have set from at the top of
  my muttrc is this causing problems for send hooks?
 
 Do you have other send-hooks, defined _after_ this one that override
 this setting?
 
 -- 
 René Clerc  - ([EMAIL PROTECTED])
 
 Ik ben niet droknen.
 -Rachel Pieterse





Request for new facility in mutt - or am I missing something?

2002-10-11 Thread Chris Green

I have two facilities that I would like in mutt which don't seem to be
there:-

1 Does save-hook *only* allow changing the name of the mbox to save to
  rather than the 'any command' that other hooks allow?  If so then
  I'd like a new hook of some sort that allows me to perform some
  arbitrary action when saving a message, it doesn't actually have to
  be as clever as the existing hooks as really want to execute the
  command *whenever* a message is saved.

2 Is there no ability in mutt to get at any of its internal variables
  when executing commands from hooks etc.?  The particular ability I
  want is to be able to get at the path and name of a mailbox being
  saved to, but I'm sure there are other cases where this ability
  would be useful.

-- 
Chris Green ([EMAIL PROTECTED])



Re: imap issues - color of indicator

2002-10-11 Thread dan radom

The terminal apps that I've tested with are xterm and Eterm.  The terminal types I've 
tested with are xterm , xterm-color, screen-w, linux (console) and vt100.  With vt100 
I do not see this problem.  WIth all other term types mentioned I do see it.  This 
same client also reads local mbox files, and I don't have this problem with the local 
files.  

Sven Guckes ([EMAIL PROTECTED]) wrote:
 
 hmm... does this happen on all terminals?  even on the console?



Macros using flag-message

2002-10-11 Thread Wesley Hart

Mutt Gurus,

I'm trying to construct a macro which copies the currently selected message
to a folder, then flags it and saves it to a second folder.  Right now,
I'm using:

macro index E copy-message=misslist\nflag-messagesave-message=spam_archive\n

The problem I'm having is that flag-message advances the cursor to the
next message in the index, so the save-message command operates on it 
instead of the one I started with.  The obvious fix - putting previous-entry
after flag-message - works unless I'm operating on the last message
displayed in the index; in that case the previous-entry isn't needed, and
save-message operates on the previous message.

Is there a a way to the set a flag on a message without advancing the
pointer to the next message?  If not, can anyone suggest another way to
achieve what I'm trying to do?


Mutt 1.4i (2002-05-29)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: HP-UX B.10.20 (9000/780) [using slang 10405]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  -HAVE_START_COLOR  -HAVE_TYPEAHEAD  -HAVE_BKGDSET  
-HAVE_CURS_SET  -HAVE_META  -HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  -HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
++HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  +ICONV_NONTRANS  +HAVE_GETSID  -HAVE_GETADDRINFO  
-ISPELL
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/opt/mutt/share/mutt
SYSCONFDIR=/opt/mutt/etc
EXECSHELL=/bin/sh
-MIXMASTER

-- 
Wesley Hart



Re: Macros using flag-message

2002-10-11 Thread René Clerc

* Wesley Hart [EMAIL PROTECTED] [11-10-2002 17:54]:

 Is there a a way to the set a flag on a message without advancing the
 pointer to the next message?  If not, can anyone suggest another way to
 achieve what I'm trying to do?

unset resolve

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

All you need is love.
-John Lennon



msg31741/pgp0.pgp
Description: PGP signature


Re: Macros using flag-message - set resolve

2002-10-11 Thread Sven Guckes

* Wesley Hart [EMAIL PROTECTED] [11-10-2002 17:54]:
 Is there a a way to the set a flag on a message without
 advancing the pointer to the next message?  If not, can
 anyone suggest another way to achieve what I'm trying to do?

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

indeed.

so - in full:

macro index E \
copy-message=misslist\n\
enter-commandunset resolve\n\
flag-message\
save-message=spam_archive\n \
handle missed spam

untested, though.
after all - who
needs this? ;-)

Sven