Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: "Amadeusz Żołnowski" <aidecoe@aidecoe.name>
To: Hamish <dmishd@gmail.com>
Cc: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] Mail-to-self does not end up in inbox
Date: Mon, 07 Mar 2011 09:27:56 +0100	[thread overview]
Message-ID: <1299486205-sup-2424@ittemni> (raw)
In-Reply-To: <1299454258-sup-7115@whisper>


[-- Attachment #1.1: Type: text/plain, Size: 1310 bytes --]

Excerpts from Hamish's message of Mon Mar 07 00:36:24 +0100 2011:
> Excerpts from Ico Doornekamp's message of Sun Mar 06 18:34:56 +0000 2011:
> > Back in the old days when using mutt, I regularly used to send mails to
> > myself as reminders or short notes. Sup however shows intelligent
> > behaviour, recognizes the message is both sent and received, and
> > attaches a 'sent' label to it, and thus the mail does not show up in the
> > inbox.
> > 
> > Is there a simple workaround for this ? Could this be considered a bug,
> > or is this just functioning as designed ?
> 
> I generally prefer sent email to not show up in the inbox - I try to
> keep my inbox somewhere near zero (though I rarely achieve it ...)
> 
> A work around could be to add the inbox label to sent mail that is just
> to you. In before-add-message.rb you could have something like:
> 
> 
> if message.from.email == "me@mine.com" && message.to.length == 1 && message.to[0].email == "me@mine.com"
>   message.add_label :inbox
> end

Why not have requested behaviour (sent mail in inbox) and hook for
archiving?  E.g. I am usually modyfing labels on sent mail.  And it's
easier to archive sent mail than unarchive it.
-- 
Amadeusz Żołnowski

PGP key fpr: C700 CEDE 0C18 212E 49DA  4653 F013 4531 E1DB FAB5

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

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel

  parent reply	other threads:[~2011-03-07  8:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 18:34 Ico Doornekamp
2011-03-06 19:15 ` Steve
2011-03-06 23:36 ` Hamish
2011-03-07  6:51   ` Ico Doornekamp
2011-03-07  8:27   ` Amadeusz Żołnowski [this message]
2011-06-19 23:39 Hamish Downer

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=1299486205-sup-2424@ittemni \
    --to=aidecoe@aidecoe.name \
    --cc=dmishd@gmail.com \
    --cc=sup-devel@rubyforge.org \
    /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