Re: Distinguishing Cc'd e-mail from To'd email

2014-02-11 Thread Chris Down
On 2014-02-11 16:43:35 +1300, Chris Bannister wrote:
> I don't know what this has to to with ~p, I'm only responding to the
> subject with how I distinguish CC'd and To'd mail.

I find the status insufficient for quickly identifying the most
important e-mails -- only colour seems to be able to do that, which is
why I'm asking about how to go about that directly.


pgpDjwzKNmjD8.pgp
Description: PGP signature


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-10 Thread Chris Bannister
On Tue, Feb 11, 2014 at 03:03:33AM +0800, Chris Down wrote:
> On 2014-02-11 00:29:17 +1300, Chris Bannister wrote:
> > In my .muttrc I have:
> > 
> > set to_chars=" +TCF"
> > 
> > See table 2.6 in the documentation.
> 
> How does this affect the behaviour of ~p? As far as I can tell, this
> only appears to have to do with what is displayed in the status
> indicator.

I don't know what this has to to with ~p, I'm only responding to the
subject with how I distinguish CC'd and To'd mail.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-10 Thread Chris Down
On 2014-02-11 00:29:17 +1300, Chris Bannister wrote:
> In my .muttrc I have:
> 
> set to_chars=" +TCF"
> 
> See table 2.6 in the documentation.

How does this affect the behaviour of ~p? As far as I can tell, this
only appears to have to do with what is displayed in the status
indicator.


pgpiuFJtQ2K4R.pgp
Description: PGP signature


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-10 Thread Chris Down
On 2014-02-11 00:03:17 +1300, Chris Bannister wrote:
> On Mon, Feb 10, 2014 at 05:49:55PM +0800, Chris Down wrote:
> > I got an interesting mail from Nikola Petrov off-list saying that his
> > Mutt configuration does not interpret ~p as including Cc'd mails.
> 
> Wouldn't it be better to keep the mails on list? Could get confusing
> otherwise.

It wasn't me who brought it off list, I generally agree with that
sentiment :-)


pgpiJq_yJgBSo.pgp
Description: PGP signature


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-10 Thread Chris Bannister
On Tue, Feb 11, 2014 at 12:03:17AM +1300, Chris Bannister wrote:
> On Mon, Feb 10, 2014 at 05:49:55PM +0800, Chris Down wrote:
> > I got an interesting mail from Nikola Petrov off-list saying that his
> > Mutt configuration does not interpret ~p as including Cc'd mails.
> 
> Wouldn't it be better to keep the mails on list? Could get confusing
> otherwise.

In my .muttrc I have:

set to_chars=" +TCF"

See table 2.6 in the documentation.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-10 Thread Chris Bannister
On Mon, Feb 10, 2014 at 05:49:55PM +0800, Chris Down wrote:
> I got an interesting mail from Nikola Petrov off-list saying that his
> Mutt configuration does not interpret ~p as including Cc'd mails.

Wouldn't it be better to keep the mails on list? Could get confusing
otherwise.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-10 Thread Chris Down
I got an interesting mail from Nikola Petrov off-list saying that his
Mutt configuration does not interpret ~p as including Cc'd mails.

- In my case, if I limit to ~p, I get messages with the C flag set.
- In his case, if he limits to ~p, he (apparently) does not.

Is there some configuration option that changes what ~p matches?


pgp2c48XLXB5G.pgp
Description: PGP signature


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-09 Thread Chris Down
On 2014-02-09 22:35:01 -0800, Will Yardley wrote:
> Given that, you could probably use these two simple patterns, though
> doesn't look like they can make use of $alternates directly.
> 
>~c EXPR messages carbon-copied to EXPR
>~t EXPR messages addressed to EXPR
> 
> I am not sure if putting a complicated expression there would
> significantly slow down loading the mssage inbox.

Right -- but that was the essence of my question, how to populate these
without having to manually duplicate the contents of $alternates.


pgpurDY_LMyxu.pgp
Description: PGP signature


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-09 Thread Will Yardley
On Mon, Feb 10, 2014 at 01:23:56PM +0800, Chris Down wrote:
> On 2014-02-09 10:38:25 +0100, Suvayu Ali wrote:
> > Doesn't %Z in index_format or pager_format give you that information?
> 
> How does that help me to colour it?
> 
> It is much quicker to read and interpret colors than stuff in the index
> format.

You can use simple patterns to color the index

For example, I have:
color index brightyellow default ~P
to make messages sent by me yellow in the index.

Given that, you could probably use these two simple patterns, though
doesn't look like they can make use of $alternates directly.

   ~c EXPR messages carbon-copied to EXPR
   ~t EXPR messages addressed to EXPR

I am not sure if putting a complicated expression there would
significantly slow down loading the mssage inbox.

w



Re: Distinguishing Cc'd e-mail from To'd email

2014-02-09 Thread Chris Down
On 2014-02-09 10:38:25 +0100, Suvayu Ali wrote:
> Doesn't %Z in index_format or pager_format give you that information?

How does that help me to colour it?

It is much quicker to read and interpret colors than stuff in the index
format.


pgpDda8Dv3iSx.pgp
Description: PGP signature


Re: Distinguishing Cc'd e-mail from To'd email

2014-02-09 Thread Suvayu Ali
On Sun, Feb 09, 2014 at 02:23:08AM +0800, Chris Down wrote:
> Right now I color my e-mails bright red when they match ~p. This is
> useful, but it aso highlights when I am Cc'd on a message, and I would
> like to only have e-mails that have me in the To header to be
> highlighted.
> 
> Of course, I can use ~c and ~t, but this doesn't consult alternates
> (since it requires putting in the expression to match), so it would
> require me to manually maintain both alternates *and* the list of
> colored expressions.
> 
> Is there some way to emulate having ~p only match messages To me without
> also matching those which are just Cc'd to me without maintaining
> another copy of my alternates?

Doesn't %Z in index_format or pager_format give you that information?

-- 
Suvayu

Open source is the future. It sets us free.


Distinguishing Cc'd e-mail from To'd email

2014-02-08 Thread Chris Down
Right now I color my e-mails bright red when they match ~p. This is
useful, but it aso highlights when I am Cc'd on a message, and I would
like to only have e-mails that have me in the To header to be
highlighted.

Of course, I can use ~c and ~t, but this doesn't consult alternates
(since it requires putting in the expression to match), so it would
require me to manually maintain both alternates *and* the list of
colored expressions.

Is there some way to emulate having ~p only match messages To me without
also matching those which are just Cc'd to me without maintaining
another copy of my alternates?

Thanks.


pgpkVdutsxgfX.pgp
Description: PGP signature