Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Ruthard Baudach <ruthard.baudach@web.de>
To: supmua <supmua@googlegroups.com>
Subject: Re: [sup] Best hacks for multiple sent_source folders
Date: Mon, 22 Dec 2014 12:23:00 +0100	[thread overview]
Message-ID: <1419246610-sup-3120@ruthard-lappi> (raw)
In-Reply-To: <d4b89c3f-9010-438a-804f-7c7d18d4134e@googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]

>== 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.

Best Regards,

Ruthard

-- 

Please sign and encrypt mails!
My PGP-Id: 0xAC5AC6C2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2014-12-22 11:25 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 ` Ruthard Baudach [this message]
2014-12-24 11:31   ` [sup] " Gaute Hope
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=1419246610-sup-3120@ruthard-lappi \
    --to=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