<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] compose to sender



On Sun, Mar 02, 2008 at 03:48:30PM -0800, Gary A. Johnson wrote:
> On 2008-03-03, Brian Salter-Duke <b_duke@xxxxxxxxxxxxxx> wrote:
> > On Sun, Mar 02, 2008 at 02:30:42PM -0800, Gary A. Johnson wrote:
> > > On 2008-03-02, Patrick Shanahan <ptilopteri@xxxxxxxxx> wrote:
> > > > * Rado S <list2rado@xxxxxx> [03-02-08 15:27]:
> > > > > =- Thomas Roessler wrote on Fri 29.Feb'08 at  9:32:19 +0100 -=
> > > > > > On 2008-02-29 00:07:29 -0800, William Yardley wrote:
> > > > > > 
> > > > > > > Would be great if there were also a 'compose to list' option.
> > > > > > > Not sure if it would be better to have the function compose to
> > > > > > > the list if the message is to a subscribed list, or to have a
> > > > > > > different command for "compose to list".
> > > > > > 
> > > > > > Why isn't list-reply close enough for that?
> > > > > 
> > > > > Because you don't want to reply to an existing thread but start a
> > > > > new one.
> > > > > I have aliases for that. ;)
> > > > 
> > > > And you will provide an example ??  :^)
> > > 
> > > Here's an example of what I use, one for each list to which I post.
> > > 
> > >    folder-hook +Incoming/mutt-dev          \
> > >            'macro index M "<mail>mutt-dev^M^M"     "mail to list"'
> > >    folder-hook +Incoming/mutt-users        \
> > >            'macro index M "<mail>mutt-users^M^M"   "mail to list"'
> > > 
> > > The second ^M in each of those skips the "Cc:" prompt.
> > > 
> > > HTH,
> > > Gary
> > 
> > Gary, that is very usefull. However is there a way to add something so
> > it does not say "No Subject: Abort? ([Yes]/No"? Maybe set abort_nosubject 
> > for this folder to ask=no and add <enter> somewhere. Any thoughts?
> 
> I forgot to mention that.  A consequence of excessive multitasking, 
> I think.  At least that's my excuse.
> 
> I have mutt configured so that when I initiate a message, must first 
> asks for "To:", then "Cc:", then "Subject:", then enters the editor.  
> I think that's a consequence of
> 
>    set askcc
> 
> in my muttrc.
> 
> If you are getting that message, your mutt is probably not asking 
> "Cc:" and my macro is answering "Subject:" with Enter.  Unless you 
> want to be asked "Cc:" all the time, you can just remove one of the 
> ^M in the macro.

I get the headers as part of the message to edit, I have always done
this and I think it comes from setting edit_header. I am happy to add
the subject there. I would prefer to not have to hit enter when 

No Subject: Abort? ([Yes]/No

comes up. I have:-

folder-hook . set abort_nosubject=ask-yes
folder-hook mutt.dev set abort_nosubject=ask-no
folder-hook mutt.dev          \
     'macro index M "<mail>mutt-dev^M^M"     "mail to list"<enter>'

It asks the abort and demands the response whether I have the <enter>
there or not. Maybe I have it in the wrong place. 

Cheers, Brian.
 
> HTH,
> Gary
> 

-- 
There was a time when religion ruled the world. They called it
the Dark Ages. 
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au