Mailing list "from" format

2009-04-10 Thread J. Limon
Hi,

I'm relatively new to Mutt so I'm afraid if this is an option that is commonly 
edited in people's muttrc's but I looked everywhere and couldn't find anything.

When I get my own email reply from a mailing list it shows up in the Inbox 
listing as like this..

11   F Apr 10 To Ubuntu user  (  35) └─>

(An example of me replying to something in Ubuntu Users)

I would like it to just deply my realname just like anyone else's email, since 
the message above it has an r and it's my name, I think I be smart enough to 
realize that it's my message without the "To BLANK .." ;)

Thanks

-- 
"If a problem can be solved there is no use worrying about it. If it can't be 
solved, worrying will do no good."


Re: Mailing list "from" format

2009-04-10 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, April 10 at 12:33 PM, quoth J. Limon:
> When I get my own email reply from a mailing list it shows up in the 
> Inbox listing as like this..
>
> 11   F Apr 10 To Ubuntu user  (  35) └─>
>
> (An example of me replying to something in Ubuntu Users)
>
> I would like it to just deply my realname just like anyone else's 
> email, since the message above it has an r and it's my name, I think 
> I be smart enough to realize that it's my message without the "To 
> BLANK .." ;)

Heh! I feel the same way, at least for mailing lists.

Anyway, the way to get what you want is to change the $index_format. 
For most mailing lists, I use the following:

"%4C %Z %{%b %d} %-15.15n (%4c) %?M?[%M]> &?%s"
|  |   | |||  `- Subject
|  |   | ||` for folding threads
|  |   | |`- message size
|  |   | `-- THIS is your answer
|  |   ` date
|  ` status flags
`--- count

The default $index_format uses %-15.15L instead of %-15.15n. The 
difference is described in the muttrc man page:

 %L  If an address in the "To:" or "Cc:" header field matches
 an address defined by the users "subscribe" command, this
 displays "To ", otherwise the same as %F.

Given that, you'd think that %-15.15F would be good, right? Well, I 
use that *most* of the time for non-mailing list folders:

 %F  author name, or recipient name if the message is from you

But for mailing lists... well, since I keep them all in separate 
folders, I don't need "recipient name", I'm smart enough to know what 
folder I'm looking at (plus, it's listed in the status bar if I ever 
forget ;). So, for mailing lists I use %-15.15n:

 %n  author's real name (or address if missing)

That way messages from me to mailing lists show up as FROM ME.

I keep my mailing lists in subfolders of my "Subscribed" folder, so I 
switch between the two formats (%F and %n) using folder-hooks, like 
so:

 folder-hook . \
 'set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %?M?[%M]> &?%s"'
 folder-hook "Subscribed" \
 'set index_format="%4C %Z %{%b %d} %-15.15n (%4c) %?M?[%M]> &?%s"'

Hope that helps,
~Kyle
- -- 
To succeed in the world it is not enough to be stupid, you must also 
be well-mannered.
-- Voltaire
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAknfeZAACgkQBkIOoMqOI16G5wCfT1u/3nIKqRnBJca8G4wqGjhK
ssIAoN6M75uIj5Jc+a+7L855kpSlXokS
=cohQ
-END PGP SIGNATURE-


Re: Mailing list "from" format

2009-04-10 Thread J. Limon
On Fri, Apr 10, 2009 at 11:53:36AM -0500, Kyle Wheeler wrote:
> On Friday, April 10 at 12:33 PM, quoth J. Limon:
> > When I get my own email reply from a mailing list it shows up in the 
> > Inbox listing as like this..
> >
> > 11   F Apr 10 To Ubuntu user  (  35) └─>
> >
> > (An example of me replying to something in Ubuntu Users)
> >
> > I would like it to just deply my realname just like anyone else's 
> > email, since the message above it has an r and it's my name, I think 
> > I be smart enough to realize that it's my message without the "To 
> > BLANK .." ;)
> 
> Heh! I feel the same way, at least for mailing lists.
> 
> Anyway, the way to get what you want is to change the $index_format. 
> For most mailing lists, I use the following:
> 
> "%4C %Z %{%b %d} %-15.15n (%4c) %?M?[%M]> &?%s"
> |  |   | |||  `- Subject
> |  |   | ||` for folding threads
> |  |   | |`- message size
> |  |   | `-- THIS is your answer
> |  |   ` date
> |  ` status flags
> `--- count
> 
> The default $index_format uses %-15.15L instead of %-15.15n. The 
> difference is described in the muttrc man page:
> 
>  %L  If an address in the "To:" or "Cc:" header field matches
>  an address defined by the users "subscribe" command, this
>  displays "To ", otherwise the same as %F.
> 
> Given that, you'd think that %-15.15F would be good, right? Well, I 
> use that *most* of the time for non-mailing list folders:
> 
>  %F  author name, or recipient name if the message is from you
> 
> But for mailing lists... well, since I keep them all in separate 
> folders, I don't need "recipient name", I'm smart enough to know what 
> folder I'm looking at (plus, it's listed in the status bar if I ever 
> forget ;). So, for mailing lists I use %-15.15n:
> 
>  %n  author's real name (or address if missing)
> 
> That way messages from me to mailing lists show up as FROM ME.
> 
> I keep my mailing lists in subfolders of my "Subscribed" folder, so I 
> switch between the two formats (%F and %n) using folder-hooks, like 
> so:
> 
>  folder-hook . \
>  'set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %?M?[%M]> &?%s"'
>  folder-hook "Subscribed" \
>  'set index_format="%4C %Z %{%b %d} %-15.15n (%4c) %?M?[%M]> &?%s"'
> 
> Hope that helps,
> ~Kyle
> -- 
> To succeed in the world it is not enough to be stupid, you must also 
> be well-mannered.
> -- Voltaire

Wow, that was perfect and extremely prompt.

Thank you *very* much. Also, is it just me or does this list not have a proper 
reply-to ? When I hit reply it tried to reply directly to you.

-- 
"If a problem can be solved there is no use worrying about it. If it can't be 
solved, worrying will do no good."


Re: Mailing list "from" format

2009-04-10 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, April 10 at 01:10 PM, quoth J. Limon:
> Also, is it just me or does this list not have a proper reply-to ? 
> When I hit reply it tried to reply directly to you.

I never noticed. I think there's an argument to be had about reply-to 
mangling by mailing lists, but I avoid the problem entirely: I use 
mutt's  function to reply to all mailing list messages (by 
default, this is bound to the L key, I think).

And before you protest "that's annoying! What if I forget?", let me 
stop you right there. Why forget? MUTT TO THE RESCUE! I figure I 
almost *always* want to list-reply when I'm replying to a mailing-list 
message, right? So, I rebind the 'r' key with... you guessed it: 
HOOKS! (Have I mentioned that I *love* hooks?)

The easiest way to do this is with a message-hook:

 message-hook .  'bind pager l list-reply; bind pager r reply'
 message-hook ~l 'bind pager r list-reply; bind pager l reply

Eh? Eh? Cool, no? (the ~l matches all mailing-list messages) Of 
course, that doesn't help in the INDEX, and it's impossible to change 
the key bindings based on the message that's *SELECTED*, so I match 
based on the folder I'm in (which is virtually always what I want to 
do):

 folder-hook . \
 'bind index l list-reply; bind index r reply'
 folder-hook "Subscribed" \
 'bind index r list-reply; bind index l reply'

Make sense?

~Kyle
- -- 
Democracy must be something more than two wolves and a sheep voting on 
what to have for dinner.
-- James Bovard
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAknfgMUACgkQBkIOoMqOI16I/QCgsCxoWPuuehepTo3Uf0sJfCrH
myAAn0WlJne9smvzsdihQV1rPCBzHjOs
=IzUm
-END PGP SIGNATURE-


Re: Mailing list "from" format

2009-04-10 Thread J. Limon
On Fri, Apr 10, 2009 at 12:24:21PM -0500, Kyle Wheeler wrote:
> On Friday, April 10 at 01:10 PM, quoth J. Limon:
> > Also, is it just me or does this list not have a proper reply-to ? 
> > When I hit reply it tried to reply directly to you.
> 
> I never noticed. I think there's an argument to be had about reply-to 
> mangling by mailing lists, but I avoid the problem entirely: I use 
> mutt's  function to reply to all mailing list messages (by 
> default, this is bound to the L key, I think).
> 
> And before you protest "that's annoying! What if I forget?", let me 
> stop you right there. Why forget? MUTT TO THE RESCUE! I figure I 
> almost *always* want to list-reply when I'm replying to a mailing-list 
> message, right? So, I rebind the 'r' key with... you guessed it: 
> HOOKS! (Have I mentioned that I *love* hooks?)
> 
> The easiest way to do this is with a message-hook:
> 
>  message-hook .  'bind pager l list-reply; bind pager r reply'
>  message-hook ~l 'bind pager r list-reply; bind pager l reply
> 
> Eh? Eh? Cool, no? (the ~l matches all mailing-list messages) Of 
> course, that doesn't help in the INDEX, and it's impossible to change 
> the key bindings based on the message that's *SELECTED*, so I match 
> based on the folder I'm in (which is virtually always what I want to 
> do):
> 
>  folder-hook . \
>  'bind index l list-reply; bind index r reply'
>  folder-hook "Subscribed" \
>  'bind index r list-reply; bind index l reply'
> 
> Make sense?
> 
> ~Kyle
> -- 
> Democracy must be something more than two wolves and a sheep voting on 
> what to have for dinner.
> -- James Bovard

That actually makes perfect sense. That way I could easily reply to the person 
OR the list depending on the situation. I'll just have to train myself to 
remember L instead of r for lists, but that shouldn't be too hard given that 
lists starts with L, hurr.

Also, mutt's new smtp support is great. Just wanted to throw that out there.

-- 
"If a problem can be solved there is no use worrying about it. If it can't be 
solved, worrying will do no good."


xterm-title and gnome-panel disagreement..

2009-04-10 Thread J. Limon
I'm not sure if this is a Mutt or GNOME issue..

But, I have my .muttrc file set to change the xterm-title (thusly 
gnome-terminal's title) with..

set xterm_set_titles=yes
set xterm_title="Mutt: %m (%n)"

And it works as expected, Mutt: total messages (new) - but gnome-panel simply 
says "Mail", I've never had an instance where the gnome-panel title was 
different than the xterm title.

If this is a GNOME issue, I apologize. :)

-- 
"If a problem can be solved there is no use worrying about it. If it can't be 
solved, worrying will do no good."


signature

2009-04-10 Thread Ravi Uday
hi
how can you make mutt enter the signature at 'cursor' position instead
of appending it at the end of mail
Ravi


Re: signature

2009-04-10 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, April 10 at 12:54 PM, quoth Ravi Uday:
>hi
>how can you make mutt enter the signature at 'cursor' position instead
>of appending it at the end of mail

To do that, you'd add the following to your muttrc:

 set sig_on_top="yes"

But *please* don't do that, that's really annoying. :)

~Kyle
- -- 
We are all worms, but I do believe I am a glow worm.
   -- Winston Churchill
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAknfpXoACgkQBkIOoMqOI15roACfdKLrdvPmvjQ/Vczqa5AaukAh
xAsAoNHmB6PcAcWCpp4rKSZGbq2LYF6U
=pjRG
-END PGP SIGNATURE-


Re: signature

2009-04-10 Thread J. Limon
On Fri, Apr 10, 2009 at 12:54:51PM -0700, Ravi Uday wrote:
> hi
> how can you make mutt enter the signature at 'cursor' position instead
> of appending it at the end of mail
> Ravi

What's the point of a sig *not* at the end of an email? That would make it 
something completely different wouldn't it?

-- 
"If a problem can be solved there is no use worrying about it. If it can't be 
solved, worrying will do no good."


Re: signature

2009-04-10 Thread Gary Johnson
On 2009-04-10, "J. Limon"  wrote:
> On Fri, Apr 10, 2009 at 12:54:51PM -0700, Ravi Uday wrote:
> > hi
> > how can you make mutt enter the signature at 'cursor' position instead
> > of appending it at the end of mail
> > Ravi
> 
> What's the point of a sig *not* at the end of an email? That would
> make it something completely different wouldn't it?

The rules for signatures are different in some corporate
environments, so it's really nice that mutt allows the 'sig_on_top'
option.  I set 'sig_on_top', 'indent_string', 'header' and
'attribution' one way for "Outlook-style" replies to senders within
the company I work for, and another way for normal "Internet-style"
replies to everyone else.

I don't use a signature here because I haven't found one I like that
adds any useful information.

Regards,
Gary




Re: signature

2009-04-10 Thread Anders Rayner-Karlsson
* Gary Johnson  [20090410 22:55]:
> On 2009-04-10, "J. Limon"  wrote:
> > On Fri, Apr 10, 2009 at 12:54:51PM -0700, Ravi Uday wrote:
> > > hi
> > > how can you make mutt enter the signature at 'cursor' position instead
> > > of appending it at the end of mail
> > > Ravi
> > 
> > What's the point of a sig *not* at the end of an email? That would
> > make it something completely different wouldn't it?
> 
> The rules for signatures are different in some corporate
> environments, so it's really nice that mutt allows the 'sig_on_top'
> option.  I set 'sig_on_top', 'indent_string', 'header' and
> 'attribution' one way for "Outlook-style" replies to senders within
> the company I work for, and another way for normal "Internet-style"
> replies to everyone else.

Indeed there is intolerance in corporate environments towards the
"proper" e-mail style as 'defined' in netiquette documents. Things
like appalling quoting style, 20 line signatures including pictures,
never trimming the e-mails you respond to etc etc ad nauseum is the
defacto corporate standard.

The times I have the misfortune in having to use Outlook (previous job
for example), I trawled through the config of Outlook to change
absolutely everything to get outgoing e-mails to conform to
netiquette. It can be done, but takes time and effort.

Sometimes, having a reputation for being a "weird Linux geek" gives
you license to do things that others would not be able to get away
with. ;) And believe me, the few people that question you about having
received a properly formatted e-mail will after a thorough explanation
and pointing towards netiquette documents stop questioning it. (Some
even alter their writing style slightly, at least by my experience.)

(And yes, I apologize for being off-topic...)

-- 
/Anders


Re: signature

2009-04-10 Thread J. Limon
On Fri, Apr 10, 2009 at 11:20:57PM +0200, Anders Rayner-Karlsson wrote:
> * Gary Johnson  [20090410 22:55]:
> > On 2009-04-10, "J. Limon"  wrote:
> > > On Fri, Apr 10, 2009 at 12:54:51PM -0700, Ravi Uday wrote:
> > > > hi
> > > > how can you make mutt enter the signature at 'cursor' position instead
> > > > of appending it at the end of mail
> > > > Ravi
> > > 
> > > What's the point of a sig *not* at the end of an email? That would
> > > make it something completely different wouldn't it?
> > 
> > The rules for signatures are different in some corporate
> > environments, so it's really nice that mutt allows the 'sig_on_top'
> > option.  I set 'sig_on_top', 'indent_string', 'header' and
> > 'attribution' one way for "Outlook-style" replies to senders within
> > the company I work for, and another way for normal "Internet-style"
> > replies to everyone else.
> 
> Indeed there is intolerance in corporate environments towards the
> "proper" e-mail style as 'defined' in netiquette documents. Things
> like appalling quoting style, 20 line signatures including pictures,
> never trimming the e-mails you respond to etc etc ad nauseum is the
> defacto corporate standard.
> 
> The times I have the misfortune in having to use Outlook (previous job
> for example), I trawled through the config of Outlook to change
> absolutely everything to get outgoing e-mails to conform to
> netiquette. It can be done, but takes time and effort.
> 
> Sometimes, having a reputation for being a "weird Linux geek" gives
> you license to do things that others would not be able to get away
> with. ;) And believe me, the few people that question you about having
> received a properly formatted e-mail will after a thorough explanation
> and pointing towards netiquette documents stop questioning it. (Some
> even alter their writing style slightly, at least by my experience.)
> 
> (And yes, I apologize for being off-topic...)
> 
> -- 
> /Anders

I stand corrected. I didn't know these things for I am a lowly university 
student. :)

-- 
"If a problem can be solved there is no use worrying about it. If it can't be 
solved, worrying will do no good."


Re: signature

2009-04-10 Thread Ravi Uday
On Fri, Apr 10, 2009 at 1:02 PM, J. Limon  wrote:
> On Fri, Apr 10, 2009 at 12:54:51PM -0700, Ravi Uday wrote:
>> hi
>> how can you make mutt enter the signature at 'cursor' position instead
>> of appending it at the end of mail
>> Ravi
>
> What's the point of a sig *not* at the end of an email? That would make it 
> something completely different wouldn't it?
>


The problem is if its a lengthy email thread with many people replying
ontop of each other, when I now write a mail
my sig., will be the last line in that email, and doesn';t make sense
as to where I ended the email

Ravi


> --
> "If a problem can be solved there is no use worrying about it. If it can't be 
> solved, worrying will do no good."
>


Re: signature

2009-04-10 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, April 10 at 02:49 PM, quoth Ravi Uday:
> The problem is if its a lengthy email thread with many people 
> replying ontop of each other, when I now write a mail my sig., will 
> be the last line in that email, and doesn';t make sense as to where 
> I ended the email

Well, yes, it's true that if you reply ON TOP of the previous email, 
then having the signature at the bottom means nobody will ever see it. 
On the other hand, replying ON TOP is rather obnoxious in itself as 
well. The usual demonstration:

 A: Because it messes up the order in which people normally read
 text.

 Q: Why is top-posting such a bad thing?

 A: Top-posting.

 Q: What is the most annoying thing in email?

Of course, as has already been pointed out, many corporate 
environments have a de-facto requirement to top-post. There's a 
certain convenience to it for emails that are one-liners. But for 
anything involved... it's annoying.

~Kyle
- -- 
The community which does not protect its humblest and most hated 
member in the free utterance of his opinions, no matter how false or 
hateful, is only a gang of slaves. If there is anything in the 
universe that can't stand discussion, let it crack.
  -- Wendell Phillips, 1863
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAknfwmkACgkQBkIOoMqOI142TwCgp063xG05xAHsx7fAGRhLeRuY
a6oAoMuIwds5cVTZzhqC+eMXQXV58e3p
=zbOi
-END PGP SIGNATURE-


Re: signature

2009-04-10 Thread Grant Edwards
On 2009-04-10, Anders Rayner-Karlsson  wrote:
> Gary Johnson  [20090410 22:55]:
>
>> The rules for signatures are different in some corporate
>> environments,

None of the places I've worked had rules requiring 90% of the
bad-form.  AFAICT, it's pretty much all the result of
Microsoft's choices for default settings in Outlook.  Lotus
probably also deserves some blame for the default settings in
Notes.

>> so it's really nice that mutt allows the 'sig_on_top' option.
>> I set 'sig_on_top', 'indent_string', 'header' and
>> 'attribution' one way for "Outlook-style" replies to senders
>> within the company I work for, and another way for normal
>> "Internet-style" replies to everyone else.
>
> Indeed there is intolerance in corporate environments towards the
> "proper" e-mail style as 'defined' in netiquette documents. Things
> like appalling quoting style, 20 line signatures including pictures,
> never trimming the e-mails you respond to etc etc ad nauseum is the
> defacto corporate standard.

When corporate types started using e-mail, I was appalled at
the e-mails they produced.  I would have been mortified to sent
out such unprofessional piles of crap with my name on them, but
the suits don't seem to mind.  It sort of explains the state of
the world's economy...

Recently somebody at my company came to me and told me he loved
how easy to follow my e-mails were and how much he liked the
quoting and intermixing of response/quotes.  Then he asked me
how he could get MS Outlook to do that sort of stuff, and I
sadly had to tell him that I had no idea.  I should do a bit of
research in case I get that question again.

When replying, it does take a bit of work to massage into
acceptable form the crap-piles that are corporate e-mails. But
damned if I'm going to put my name on something that looks that
embarrassing.

-- 
Grant






Re: signature

2009-04-10 Thread M. Fioretti
On Fri, Apr 10, 2009 14:49:31 PM -0700, Ravi Uday wrote:
> On Fri, Apr 10, 2009 at 1:02 PM, J. Limon  wrote:
> > What's the point of a sig *not* at the end of an email? That would
> > make it something completely different wouldn't it?
>
> The problem is if its a lengthy email thread with many people
> replying ontop of each other, when I now write a mail my sig., will
> be the last line in that email, and doesn';t make sense as to where
> I ended the email

Sorry, but you practically begged for this: the problem you mention is
a problem ONLY because you (1) can't be bothered to TRIM as much as
possible of the darn message before replying. If people were polite
enough to always do this:

- 90% of the bottom-or-top-posting flamewars would never start
- people who pay Internet connectivity by byte or minute would not be
  forced to pay many times to re-download many copies of the same text
  they had received in the original message (2)
- you wouldn't have this "put the signature somewhere else" problem

(1) this is not a personal attack, of course. When I say "you" I mean
every email user who has this habit, not Ravi as an individual

(2) the number of such people is **increasing** due to mobile
connectivity, which very often isn't flat-rate as residential
contracts: as a matter of fact, I am collecting, to make an
article, a list of all the REAL complaints I see on mailing list
of the form:
"I am unsubscribing because I'm sick and tired to waste money
(having only GPRS/GSM/WiFi connectivity) because of all the
morons who resend 100 lines of text just to add a sentence and
make me pay"

or

"I asked the list administrator to expel you for abuse,
because your quoting habits make other subscribers (who only
have GPRS etc..)  waste their money"

of course, all this is really relevant only when communicating with
strangers across the Internet, be they potential customers or members
of some mailing list. How any company or other closed group uses email
**internally** is only their business. But why encourage bad habits?

Marco
Digital activism at http://mfioretti.com
-- 
Your own civil rights and the quality of your life heavily depend on how
software is used *around* you:http://digifreedom.net/node/84


Re: Mailing list "from" format

2009-04-10 Thread bill lam
On Fri, 10 Apr 2009, J. Limon wrote:
> That actually makes perfect sense. That way I could easily reply to
> the person OR the list depending on the situation. I'll just have to
> train myself to remember L instead of r for lists, but that
> shouldn't be too hard given that lists starts with L, hurr.

mutt also support group reply, should be binded tp "g", in case the
mailing list expecting cc to respondents. 

BTW does mutt mailing list use cc ?

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩205 元稹  遣悲懷三首之一
謝公最小偏憐女  自嫁黔婁百事乖  顧我無衣搜藎篋  泥他沽酒拔金釵
野蔬充膳甘長藿  落葉添薪仰古槐  今日俸錢過十萬  與君營奠復營齋