Re: mailing list hook

2018-10-08 Thread Will Yardley
On Sun, Oct 07, 2018 at 09:58:31PM -0700, Ian Zimmerman wrote:
> On 2018-10-07 22:45, Ben Fitzgerald wrote:
> 
> > when I configure a list with "lists", list-reply knows to
> > reply to the mailing list. All great.
> 
> In fact the "lists" command is not relevant or necessary for this.  List
> reply simply selects the address in the List-Post header.  I remember I
> was confused about this too when I was learning mutt.

I think that's true in the case where the list adds rfc2369 headers.

However, it's still probably a good idea to configure lists / subscribe
either way.
 
w



Re: mailing list hook

2018-10-07 Thread Ian Zimmerman
On 2018-10-07 22:45, Ben Fitzgerald wrote:

> when I configure a list with "lists", list-reply knows to
> reply to the mailing list. All great.

In fact the "lists" command is not relevant or necessary for this.  List
reply simply selects the address in the List-Post header.  I remember I
was confused about this too when I was learning mutt.

> When I select a folder for a given mailing list and then
> want to mail the start of a new thread, simply hitting "m"
> (bound to ) ought, in my mind, to auto-populate the
> mailing list.

> How can I achieve this with a folder-hook to bind a macro?

I used to have a myhdr command in a folder hook for each mailing list.
But now I find it easier and simpler to just have aliases for them.  It
also means I can post to any list from any folder, which makes for a
less "modal" interface.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.


mailing list hook

2018-10-07 Thread Ben Fitzgerald
Hi,

when I configure a list with "lists", list-reply knows to
reply to the mailing list. All great.

When I select a folder for a given mailing list and then
want to mail the start of a new thread, simply hitting "m"
(bound to ) ought, in my mind, to auto-populate the
mailing list.

How can I achieve this with a folder-hook to bind a macro?

I started with a macro but it's mailing to us...@mutt.org

macro index m "mutt-users@mutt.org"

regards,

-- 
Ben Fitzgerald


list-hook ?

2001-10-20 Thread Prahlad Vaidyanathan

Fri, 19 Oct 2001 21:38:29 +0530

Hi,

I'm new to this list, so I'm not sure if this question has
come up in the past.
My problem is simple, I want a 'list-hook' command. ie. Some
way of setting up bindings/settings for all the subscribed
lists.
Here are a few of the things I want to do:

1. bind index r list-reply (I'm too lazy to type L)
2. set sort=threads
3. set $attribution to include the list name
... etc.

The 2 methods I thought of was :

1. folder-hooks :
As different lists are procmailed to different
folders for me, it is possible. But, this becomes too 
cumbersome if you have to enter the same hooks for each 
list I subcribe to.

2. message-hooks :
The problem with this is that it doesn't run the command
('set sort=threads', say) till I read a message. This is,
again, quite painful.

Am I missing something, or does everyone have this problem ?
Anyway, I'm out of ideas. Anyone ?

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--

 PGP signature


Re: list-hook ?

2001-10-20 Thread Ben Compton

On Fri, Oct 19, 2001 at 09:48:17PM +0530, Prahlad Vaidyanathan wrote: 
 1. folder-hooks :
 As different lists are procmailed to different
 folders for me, it is possible. But, this becomes too 
 cumbersome if you have to enter the same hooks for each 
 list I subcribe to.

use the pattern matching of the folder-hook to help you out here. it's
much easier if you've organized your mailing list folders into a
common path hierarchy... for instance, I do the following

=lists/mutt/users
=lists/mutt/dev
=lists/humor
=lists/software

and then I can get them all to sort treaded with one folder-hook:

folder-hook lists 'set sort=threads'

Try to match as many folders as possible with folder hooks do you
don't need to write so many. You should be able to craft a regex to
match many of your folders instead of one folder-hook per folder.

-ben