Subject: [sup-talk] new in svn: per-account signatures

From: [email-masked] (William Morgan)
Date: Tue, 12 Jun 2007 18:09:41 -0700

When you svn update, you'll notice that when composing a message, the
signature block is no longer passed to the editor. It is now
automatically appended by Sup based on the From: address of the email.

So, if you have different signatures for different accounts, that's now
supported.

The other big change is that accounts (except the default account) need
only have an email field. Everything else is carried over from the
default account if not present.

For example, here's a snippet of my config.yaml:

  :accounts: 
    :default: 
      :alternates: 
      - wmorgan-ferret at masanjin.net
      - wmorgan-ruby-talk at masanjin.net
      - wmorgan-ruby-core at masanjin.net
      :name: William Morgan
      :signature: /home/rubyist/.signature
      :email: wmorgan at masanjin.net
      :sendmail: /usr/sbin/sendmail -oem -ti
    :sup:
      :signature: /home/rubyist/.signature-sup
      :email: wmorgan-sup at masanjin.net

When I compose mail as wmorgan-sup at masanjin.net, .signature-sup is used;
otherwise, .signature is used. This is kind of a primitive version of
Mutt's send-hook.

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

---

From: [email-masked] (jeff covey)
Date: Wed, 13 Jun 2007 20:10:11 -0400

Excerpts from William Morgan's message of Tue Jun 12 21:09:41 -0400 2007:

> signature block is no longer passed to the editor. It is now automatically
> appended by Sup based on the From: address of the email.

this seems to work well.  unfortunately, i like having the signature block
passed to the editor.  :)

though i'm sending mail from a certain email address, i may be sending it on
behalf of an employer or an organization i'm involved with, and i may not
want my personal signature attached to it.  under this system, there's no
way to stop the signature from being included in the message.

i realize you can't include the signature in the text passed to the editor
because you don't know which signature to use until the editor exits and you
see what was put in "from:".  maybe a keybinding to toggle the signature
on/off would do the trick?

sincerely,

-- 
jeff covey
http://jeffcovey.net/

---

From: [email-masked] (William Morgan)
Date: Tue, 03 Jul 2007 14:45:04 -0700

> this seems to work well.  unfortunately, i like having the signature block

In SVN trunk now, if you specify :edit_signatures: true, you'll always
get the default account's signature, and it will be passed to the
editor. The default is false.

---

From: [email-masked] (jeff covey)
Date: Tue, 03 Jul 2007 21:13:29 -0400

Excerpts from William Morgan's message of Tue Jul 03 17:45:04 -0400 2007:

> In SVN trunk now, if you specify :edit_signatures: true, you'll always get
> the default account's signature, and it will be passed to the editor.

you seem to have meant ":edit_signature:" (singular), as it's working with
that (and sup+ferret are behaving again, so i'm a supper again for as long
as it holds).  thanks!

-- 
jeff covey
http://jeffcovey.net/

---

From: [email-masked] (William Morgan)
Date: Tue, 03 Jul 2007 19:42:56 -0700

Excerpts from jeff.covey's message of Tue Jul 03 18:13:29 -0700 2007:
> you seem to have meant ":edit_signature:" (singular), as it's working
> with that

Oops, yes.

> (and sup+ferret are behaving again, so i'm a supper again for as long
> as it holds).  thanks!

Great, but it definitely won't last. So keep backing up. :)

I've posted to ferret-talk in the meanwhile. I'll let you know what
comes of it. If it happens again, keep a copy of the index, because a
postmortem might be necessary.

---

From: [email-masked] (jeff covey)
Date: Wed, 04 Jul 2007 10:07:55 -0400

Excerpts from William Morgan's message of Tue Jul 03 22:42:56 -0400 2007:

> it definitely won't last. So keep backing up. :)

in the meantime, i'm getting to remember how much faster i can process my
mail with sup.  :)

thanks,

-- 
jeff covey
http://jeffcovey.net/