From: Gaute Hope <eg@gaute.vetsj.com>
To: Ruthard Baudach <ruthard.baudach@web.de>,
supmua <supmua@googlegroups.com>
Subject: Re: [sup] Best hacks for multiple sent_source folders
Date: Wed, 24 Dec 2014 11:31:30 +0000 [thread overview]
Message-ID: <1419420510-astroid-1-kyzzesh3ck-5557@strange> (raw)
In-Reply-To: <1419246610-sup-3120@ruthard-lappi>
Excerpts from Ruthard Baudach's message of December 22, 2014 12:23:
>>== Auszüge aus der Nachricht von Matthew Bloch vom 2014-12-21 05:17:
>> Hello sup users,
>>
>> I've nearly got my sup setup ready to replace various other clients. What's
>> everyone's current best advice for filing outgoing email in folders by
>> account? i.e. personal email to be filed in ~/mail/Personal/Sent, work
>> email to be filed in ~/mail/Work/Sent ? (both synchronised by offlineimap
>> for me)
>>
>> I can see a few ways to make that happen but nothing too recent. Thanks!
>>
>> --
>> Matthew
>
> This is an old wish from me, and as far as I know it, it's not possible
> at the moment.
>
> The suppish way to do this would be to automatically add labels to the
> outgoing mail rather than putting them in folders. I don't know
> offlineimap, as far as I got it, it synchronizes labels and imap
> folders, thus completing this task.
>
> The place to do this would be in the sendmail hook (or to create an
> extra, let's say before-send hook for this, so that the sendmail hook
> needs not to implement mail sending.)
>
> Alas, the message object passed to this hook does not contain labels and
> is not passed back to update anything in sup.
>
> I did not manage to change this in a reasonable time, perhaps it would
> indeed be easier to add a before-send hook to do this.
>
> The place to do this would be in lib/sup/modes/edit-message-mode.rb, as
> far as I found out.
>
> So you could either polish up your ruby and look into it and submit a
> patch, or wait till someone else does it.
Have a look at Matthieu's patch over at #320. You might try
rebasing it on top of latest 'develop'.
#320: https://github.com/sup-heliotrope/sup/pull/320
- gaute
next prev parent reply other threads:[~2014-12-24 11:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-21 4:17 Matthew Bloch
2014-12-22 11:23 ` [sup] " Ruthard Baudach
2014-12-24 11:31 ` Gaute Hope [this message]
2014-12-29 14:21 ` Matthew Bloch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1419420510-astroid-1-kyzzesh3ck-5557@strange \
--to=eg@gaute.vetsj.com \
--cc=ruthard.baudach@web.de \
--cc=supmua@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox