Re: A few mutt questions

2008-01-26 Thread David Champion
> 1. I'd like to have new or unread mail (what's the difference, anyway?)

To mutt, 'new' means that the mail is unread and has arrived during this
mutt session.  'old' means that it's unread but remains from a previous
mutt session.  But like another poster, I use them differently.  For me,
'new' means 'unread', and 'old' means 'must reread'.  Unmarked mail
(neither new nor old) is read and can be removed.


>flagged somehow. Occasionally I see an N next to some messages, but in
>general mutt seems to completely oblivious to what's new or unreaed.

It certainly supports this, but it depends on the mail source itself to
say what's read.  Mutt can alter these flags, but so can other tools.
If you have other programs (other mail clients, or "biff" programs,
etc.) reading your mailboxes, they could be interfering with your
expectations of mutt.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago


Re: set up trash for deleted messages

2008-01-26 Thread William Yardley
On Wed, Jan 16, 2008 at 07:34:24AM +0100, Francis Moreau wrote:

> however if mutt considers to implement a very low quality trash, what does
> that mean ?
> 
>   1/ Mutt developpers are lazy ;)
>   2/ There are so few people needing a trash by default that it
>   really doesn't worth to implement a trash
>3/ Mutt folks consider that having a trash is a bad idea and
>they don't want to push people in using it.

I think a combination of 2+3. But I would really like to see cd's trash
folder patch integrated into mutt. I think there are enough reasons that
this approach is better than the macro approach, and there are enough
people who like to have a "trash" folder, that it makes sense to do
this.

w



Re: Leopard Migration Hammered Mutt

2008-01-26 Thread Marc Vaillant
On Sat, Jan 26, 2008 at 05:13:11PM +, [EMAIL PROTECTED] wrote:
> export shows:
> 
> PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
> 
> Mutt is in /sw/bin/
> 
> How can I add /sw/bin/ to my path?
> 

put 

export PATH=${PATH}:/sw/bin

in  ~/.profile 

Marc


Re: Leopard Migration Hammered Mutt

2008-01-26 Thread Peter Münster
On Sat, Jan 26 2008, [EMAIL PROTECTED] wrote:
> 
> PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
> 
> Mutt is in /sw/bin/
> 
> How can I add /sw/bin/ to my path?

Hello,

Just after logging in, you can enter the command "ls -alrut", that shows in
the last lines, the files that have just been read. Among these files,
there should be an initialisation file for your shell, for example .bashrc
or .profile. In the end of this file, you can put the line
PATH=$PATH:/sw/bin

(for a csh-like shell, the syntax is perhaps different...)

Cheers, Peter

-- 
http://pmrb.free.fr/contact/



Re: Automatically encrypting to receipients based on the existance

2008-01-26 Thread Clay Barnes
On 18:19 Sat 26 Jan , Nicolas Rachinsky wrote:
> * Clay Barnes <[EMAIL PROTECTED]> [2008-01-26 10:13 -0700]:
> > On 08:30 Sat 26 Jan , Nicolas Rachinsky wrote:
> > > You can use encrypt-to in your gpg.conf (see man gpg) or add
> > > --encrypt-to to all the encryption commands in your mutt configuration.
> > 
> > That seems to take a key fingerprint, but my key has multiple email
> > addresses.  How do I select only one of them?
> 
> You encrypt with a key, not an uid. 

I see now.  It doesn't actually mail it.  Thanks.


-- 
Clay Barnes

Website:
http://www.hci-matters.com

GPG Public Key:
http://www.hci-matters.com/keys/claybarnes_public_key_until20080718.gpg


signature.asc
Description: Digital signature


Re: Automatically encrypting to receipients based on the existance

2008-01-26 Thread Nicolas Rachinsky
* Clay Barnes <[EMAIL PROTECTED]> [2008-01-26 10:13 -0700]:
> On 08:30 Sat 26 Jan , Nicolas Rachinsky wrote:
> > You can use encrypt-to in your gpg.conf (see man gpg) or add
> > --encrypt-to to all the encryption commands in your mutt configuration.
> 
> That seems to take a key fingerprint, but my key has multiple email
> addresses.  How do I select only one of them?

You encrypt with a key, not an uid. 

Nicolas

-- 
http://www.rachinsky.de/nicolas


Re: Automatically encrypting to receipients based on the existance

2008-01-26 Thread Clay Barnes
On 08:30 Sat 26 Jan , Nicolas Rachinsky wrote:
> * Clay Barnes <[EMAIL PROTECTED]> [2008-01-25 22:07 -0700]:
> > The subject pretty much says it all.  I want to set mutt to
> > automatically encrypt email to anyone who's email has a corresponding
> > public key in the local gpg keyfile.  I know that's more complex than
> > the usual send-hook entails, but I think it'd be a pretty nifty way to
> > avoid crafting and maintaining a ton of custom send-hook lines in my
> > muttrc.
> 
> http://www.rachinsky.de/nicolas/mutt.shtml
> 
> > A second question I have is how I can automatically encrypt (with my
> > key) all emails I send that are encrypted.  I'd like to avoid the
> > fcc_clear option, since if I'm encrypting email I don't want a clear
> > text version sitting around (but I would like to be able to refer to
> > my send messages).  I'd also like to avoid encrypting the local copy
> > of every email I send, since that would keep my key in memory all the
> > time or require me to type my password constantly.
> 
> You can use encrypt-to in your gpg.conf (see man gpg) or add
> --encrypt-to to all the encryption commands in your mutt configuration.

That seems to take a key fingerprint, but my key has multiple email
addresses.  How do I select only one of them?

> 
> Nicolas
> 
> -- 
> http://www.rachinsky.de/nicolas

-- 
Clay Barnes

Website:
http://www.hci-matters.com

GPG Public Key:
http://www.hci-matters.com/keys/claybarnes_public_key_until20080718.gpg


signature.asc
Description: Digital signature


Re: Leopard Migration Hammered Mutt

2008-01-26 Thread c4c4
export shows:

PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"

Mutt is in /sw/bin/

How can I add /sw/bin/ to my path?

Thanks,

Bj
___

 -- Original message --
From: Jonas Jacobsson <[EMAIL PROTECTED]>
> [EMAIL PROTECTED] wrote:
> > Now I get the following when I attempt to evoke mutt:
> > 
> > -bash: mutt: command not found
> > 
> > Could someone walk me through this slowly?  I have some unix
> > background, but it's been quite a while since I've configured mutt.
> 
> Is the directory where you have the mutt binary in your PATH variable?
> Type export and see.
> 
> /jonas
> 



Re: A few mutt questions

2008-01-26 Thread Ross Vandegrift
On Sat, Jan 26, 2008 at 03:50:17AM -0500, Dan H. wrote:
> 1. I'd like to have new or unread mail (what's the difference, anyway?)
>flagged somehow. Occasionally I see an N next to some messages, but in
>general mutt seems to completely oblivious to what's new or unreaed.
>That's a botch because I have to scrutinize several inboxes for new
>mail and frequently overlook things. I know there's the option to
>automatically stuff read messages into the "mbox", but I like to leave
>read messages in inbox as a to-do reminder when necessary. 

I use the New and Old flags to keep track of items as a todo list.
Messages get marked read when they are ready for being moved to my mbox.

A new message that hasn't been read is marked "N".  If you leave that
flag and quit, mutt changes that flag to "O".  When you Tab through
messages, you go through the N messages, then O messages.  Either counts
as unread.

If a message comes in and I read it, but need a reminder, I keep it
around flagged O.  Since that prevents mutt from moving it to my mbox, I
have to either open the message or manually remove the flag.

That workflow works for me.

Glad you're enjoying mutt so far,

Ross


signature.asc
Description: Digital signature


Re: Commands for deleted purge, move read messages

2008-01-26 Thread Ross Vandegrift
On Fri, Jan 25, 2008 at 11:52:48AM -0500, Michael Kjorling wrote:
> On 25 Jan 2008 11:24 -0500, by [EMAIL PROTECTED] (Ross Vandegrift):
> > macro index $   c!
> 
> You might want to try something like this:
> 
> macro index $ 'set delete=yes
> move=yes^set
> move=ask-yes delete=ask-yes'

I ended up with something very close:
macro index $   ':set move = yes:set delete = 
yesc!:set move = ask-yes:set delete = 
ask-yes'

But I like your idea of ^ instead of ! so I think I'll use that instead.

Thanks for the help,

Ross


signature.asc
Description: Digital signature


Re: A few mutt questions

2008-01-26 Thread Michael Kjorling
On 26 Jan 2008 09:50 +0100, by [EMAIL PROTECTED] (Dan H.):
> 1. I'd like to have new or unread mail (what's the difference, anyway?)
>flagged somehow. Occasionally I see an N next to some messages, but in

Assuming that you have a color-capable terminal:

color index brightyellow black ~N # new mail
color index yellow black ~O # old unread mail


> 2. Is there a way to specify a "default-recipient" to be inserted when
>composing a new message? As I'm subscribed to several mailing lists

Try something like this:

set recall=no
folder-hook . 'bind index m mail'
folder-hook '+mutt-users/?$' 'macro index m 
"mutt-users@mutt.org"'

The /? at the end makes sure it matches no matter how you open the
mailbox if it is not in mbox format. If you use mbox, you can remove
that part, but it does not hurt. '$' simply anchors it at the end. The
"." folder-hook simply ensures that there is no lingering "default"
recipient.

If you want to compose a message to some other recipient, all the
extra work you need to do is hit Ctrl+U to clear the line.

-- 
Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se
* . No bird soars too high if he soars with his own wings . *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x(758F8749)BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *



pgpf4SdQ4ZZVS.pgp
Description: PGP signature


Re: A few mutt questions

2008-01-26 Thread Nicolas Rachinsky
* "Dan H." <[EMAIL PROTECTED]> [2008-01-26 09:50 +0100]:
> 1. I'd like to have new or unread mail (what's the difference, anyway?)
>flagged somehow. Occasionally I see an N next to some messages, but in
>general mutt seems to completely oblivious to what's new or unreaed.

At least with maildir, mutt knows about mailboxes with new mail.

Perhaps you might want to unset $mark_old.

> 2. Is there a way to specify a "default-recipient" to be inserted when
>composing a new message? As I'm subscribed to several mailing lists
>I'd like to put that into a folder-hook so that when I hit 'm' in a list
>folder I get the To: field pre-filled with that list's address.

folder-hook . unmy_hdr To
folder-hook foo my_hdr To: [EMAIL PROTECTED]

Should do this.

Nicolas

-- 
http://www.rachinsky.de/nicolas


A few mutt questions

2008-01-26 Thread Dan H.
Hello people,

I'm increasingly happy with mutt. But I still have a few questions:

1. I'd like to have new or unread mail (what's the difference, anyway?)
   flagged somehow. Occasionally I see an N next to some messages, but in
   general mutt seems to completely oblivious to what's new or unreaed.
   That's a botch because I have to scrutinize several inboxes for new
   mail and frequently overlook things. I know there's the option to
   automatically stuff read messages into the "mbox", but I like to leave
   read messages in inbox as a to-do reminder when necessary. 

2. Is there a way to specify a "default-recipient" to be inserted when
   composing a new message? As I'm subscribed to several mailing lists
   I'd like to put that into a folder-hook so that when I hit 'm' in a list
   folder I get the To: field pre-filled with that list's address.

3. There were more but I forgot.

--D.


signature.asc
Description: Digital signature