Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] [PATCH] Configurable automatic CC and BCC
@ 2007-10-14 12:17 Pierre Baillet
  2007-10-31  8:42 ` Pierre Baillet
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Baillet @ 2007-10-14 12:17 UTC (permalink / raw)


Hi,

In case you'd want to always have a given address CCed or BBCed, here is a
patch that applies to current sup trunk. It adds a "cc" and "bcc" variable
in the account configuration. Edit your ~/.sup/config.yaml and add bcc and
cc options. These options are per account.

When in compose and reply mode, sup then automatically adds these headers.
Current limitation includes a single address per header, could be probably
extended to a list of addresses...

Feel free to make any comment if you wish so.
-- 
Pierre.


:edit_signature: false
:accounts:
  :default:
    :name: John Doe
    :alternates:
    - john.doe at internet.com
    :email: john at doe.com
    :signature: /home/john/.signature
    :sendmail: /usr/sbin/sendmail -oem -ti
    :bcc: john at home.net
    :cc: john at work.com

-- 
Pierre Baillet <pierre at baillet.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071014/ef45c5e2/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cc_bcc_path.diff
Type: application/octet-stream
Size: 2928 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071014/ef45c5e2/attachment.obj 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] [PATCH] Configurable automatic CC and BCC
  2007-10-14 12:17 [sup-talk] [PATCH] Configurable automatic CC and BCC Pierre Baillet
@ 2007-10-31  8:42 ` Pierre Baillet
  2007-11-02  3:54   ` William Morgan
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Baillet @ 2007-10-31  8:42 UTC (permalink / raw)


Hi William,

maybe you came accross my patch, but I don't know what you think about
integrating it to the trunk or not. Maybe it's not near enough in your TODO,
too :)

-- 
Pierre.

On 10/14/07, Pierre Baillet <pierre at baillet.name> wrote:
>
> Hi,
>
> In case you'd want to always have a given address CCed or BBCed, here is a
> patch that applies to current sup trunk. It adds a "cc" and "bcc" variable
> in the account configuration. Edit your ~/.sup/config.yaml and add bcc and
> cc options. These options are per account.
>
> When in compose and reply mode, sup then automatically adds these headers.
> Current limitation includes a single address per header, could be probably
> extended to a list of addresses...
>
> Feel free to make any comment if you wish so.
> --
> Pierre.
>
>
> :edit_signature: false
> :accounts:
>   :default:
>     :name: John Doe
>     :alternates:
>     - john.doe at internet.com
>     :email: john at doe.com
>     :signature: /home/john/.signature
>     :sendmail: /usr/sbin/sendmail -oem -ti
>     :bcc: john at home.net
>     :cc: john at work.com
>
> --
> Pierre Baillet <pierre at baillet.name>
>



-- 
Pierre Baillet <pierre at baillet.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071031/9d21e900/attachment.html 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] [PATCH] Configurable automatic CC and BCC
  2007-10-31  8:42 ` Pierre Baillet
@ 2007-11-02  3:54   ` William Morgan
  2007-11-02 11:21     ` Pierre Baillet
  0 siblings, 1 reply; 4+ messages in thread
From: William Morgan @ 2007-11-02  3:54 UTC (permalink / raw)


Hi Pierre,

Sorry for taking so long to review this. Other patch submitters, don't
worry---I'm going through them one by one and nothing will be ignored!

Excerpts from Pierre Baillet's message of Wed Oct 31 01:42:58 -0700 2007:
> maybe you came accross my patch, but I don't know what you think about
> integrating it to the trunk or not. Maybe it's not near enough in your
> TODO, too :)

I like this functionality. But, instead of another set of configuration
options, I would rather see a before-edit hook, which would allow for
auto-filling cc/bcc programmatically and for all sorts of other fun
stuff. Would you be interested in submitting a patch for that instead?

Marcus just submitted a before-add hook which you can probably use as a
reference.

What do you think?

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] [PATCH] Configurable automatic CC and BCC
  2007-11-02  3:54   ` William Morgan
@ 2007-11-02 11:21     ` Pierre Baillet
  0 siblings, 0 replies; 4+ messages in thread
From: Pierre Baillet @ 2007-11-02 11:21 UTC (permalink / raw)


Hi William and all :)

I'll have a look into Marcus patch and see if I can use it to make the same
functionality. Thanks for the idea !

-- 
Pierre.

On 11/2/07, William Morgan <wmorgan-sup at masanjin.net> wrote:
>
> Hi Pierre,
>
> Sorry for taking so long to review this. Other patch submitters, don't
> worry---I'm going through them one by one and nothing will be ignored!
>
> Excerpts from Pierre Baillet's message of Wed Oct 31 01:42:58 -0700 2007:
> > maybe you came accross my patch, but I don't know what you think about
> > integrating it to the trunk or not. Maybe it's not near enough in your
> > TODO, too :)
>
> I like this functionality. But, instead of another set of configuration
> options, I would rather see a before-edit hook, which would allow for
> auto-filling cc/bcc programmatically and for all sorts of other fun
> stuff. Would you be interested in submitting a patch for that instead?
>
> Marcus just submitted a before-add hook which you can probably use as a
> reference.
>
> What do you think?
>
> --
> William <wmorgan-sup at masanjin.net>
> _______________________________________________
> sup-talk mailing list
> sup-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk
>



-- 
Pierre Baillet <pierre at baillet.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071102/1b88c3c7/attachment.html 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-02 11:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-14 12:17 [sup-talk] [PATCH] Configurable automatic CC and BCC Pierre Baillet
2007-10-31  8:42 ` Pierre Baillet
2007-11-02  3:54   ` William Morgan
2007-11-02 11:21     ` Pierre Baillet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox