Re: Inbox and Sent messages in one thread. How To? [Off topic question]

2013-12-06 Thread Paul E Condon
My question is embedded in the quoted message, below:

On 20131206_210949, Erik Christiansen wrote:

... remove text that's not relevant to my questions

> help when you are off in another mailbox, and suddenly decide to fling
> off a message. To let mutt catch that use case, and put any message to
> family in the right mailbox, I've settled on:
> 
> fcc-save-hook '%L fam_grp' family
 ^^
Where is the use of '%L and other such magic documented?
I have found a magic code ~L. Is that 'the same thing'? 
If so why the substitution of % for ~ ?

> 
> after setting up a group via the alias for each, e.g.:
> 
> alias -group fam_grp jim  jim@example.com
> alias -group fam_grp joe  joe@elephant.org

Where is -group within an alias command documented? 
Is this a unique feature? 
Or are there other modifiers for alias?
Documented where?

> ...
> 
> That is as far as I've been motivated to pursue the hunt for efficiency
> and convenience, given the diminishing returns once the biggest bugbear
> is a fading memory.
> 
> Erik
> 
> ¹ Chucking most outgoing mail into "sent" is a high entropy expedient,
>   useful only for last resort message recovery when your post didn't
>   make it to a list, I find. It pretty much scores -10 as storage of
>   half of multiple unrelated conversations with various parties, where
>   it's copy of outgoing mail is the only one. (But then, that's what
>   you've discovered, AIUI.)
> 
> -- 
> For those with savings and fixed incomes, deflation is wonderful, but for 
> those
> with debt, it is catastrophic since the value of the dollar repaid is greater
> than the dollar borrowed. ...  borrowers are ascendant and central banks are
> working for them, not savers. In fact, savers are being plundered with super 
> low
> interest in the name of promoting aggregate demand and maintaining inflation.
>  - 
> http://www.abc.net.au/news/2013-11-06/kohler-prices-want-to-fall-but-borrowers-wont-let-them/5072388

-- 
Paul E Condon   
pecon...@mesanetworks.net



Re: Inbox and Sent messages in one thread. How To?

2013-12-06 Thread Peter Davis
On Fri, Dec 06, 2013 at 05:02:21AM +0400, Kirill Tkhai wrote:
> Hi,
> 
> I want to have a posibility to see inbox and sent messages together
> in one thread. Is this possible without copying content of Sent folder
> to Inbox?

I may be misunderstanding something, but how about just BCCing
yourself when you send a message?

-pd



Re: Inbox and Sent messages in one thread. How To?

2013-12-06 Thread bastian-muttuser
On 06Dec13 13:57 +0100, Suvayu Ali wrote:
> On Thu, Dec 05, 2013 at 08:21:00PM -0500, Patrick Shanahan wrote:
> > * Kirill Tkhai  [12-05-13 20:05]:
> > > I want to have a posibility to see inbox and sent messages together in
> > > one thread.  Is this possible without copying content of Sent folder to
> > > Inbox?
> > 
> > Leave the "sent" msgs in the inbox
> > 
> > or insteadof "saving" outgoing post, copy them to the "Sent" directory and
> > the original will remain in your inbox.
> > 
> > If you do not want a copy of the "Sent" mail in your inbox, I believe you
> > are outtaluck.

mutt alone cannot deal with this, afaik.

Mairix can help out here.
It supports a search modus for e.g. the message-id of a mail. This
normally returns a single mail, but adding the --threads switch also
returns all mails of the thread this mail is related to.

I am using Maildir (no imap, mbox, etc) In this case mairix works pretty
efficient, as the search result is presented in a temporary % Maildir
containing links to the real Mailfiles. The creation of this folder can
be initiated from within mutt (with a look&feel like it is a mutt
command).

If interested in mairix and its integration into mutt, I could provide
my config, which I copied from the net somewhere.




Re: Inbox and Sent messages in one thread. How To?

2013-12-06 Thread Suvayu Ali
On Thu, Dec 05, 2013 at 08:21:00PM -0500, Patrick Shanahan wrote:
> * Kirill Tkhai  [12-05-13 20:05]:
> > I want to have a posibility to see inbox and sent messages together in
> > one thread.  Is this possible without copying content of Sent folder to
> > Inbox?
> 
> Leave the "sent" msgs in the inbox
> 
> or insteadof "saving" outgoing post, copy them to the "Sent" directory and
> the original will remain in your inbox.
> 
> If you do not want a copy of the "Sent" mail in your inbox, I believe you
> are outtaluck.

I would like to suggest try the Mutt fork Mutt-kz[1].  This integrates
support for the Xapian based indexer Notmuch[2].  What the OP is asking
can be achieved very easily using notmuch.  In fact, the 
command does exactly that[3].  I can also provide a shell script (older
than the  command) that does something similar.

The fork is maintained & developed actively and it is synced with recent
Mutt developments quite regularly (e.g. changes from 1.5.22 was merged
recently).  Using notmuch simplifies a lot of similar problems, but the
caveat is, it only works if your mailstore is in Maildir format.  I have
been using it for a little less than a year now, it has been performing
remarkably well.


Footnotes:

[1] 
[2] 
[3] 

-- 
Suvayu

Open source is the future. It sets us free.


Re: Inbox and Sent messages in one thread. How To?

2013-12-06 Thread Erik Christiansen
On 06.12.13 05:02, Kirill Tkhai wrote:
> I want to have a posibility to see inbox and sent messages together
> in one thread. Is this possible without copying content of Sent folder
> to Inbox?

There are many ways to skin the message storage cat, all with some
merit. (Except perhaps, for indiscriminate use of the "sent"¹ mailbox.)
Perhaps you can take something from part of how my usage has evolved.

Firstly, procmail is used to split incoming mail into a separate mailbox
for each category, including maillists. (Trying to untangle mail from
multiple lists in one inbox would be too depressingly burdensome to ever
contemplate.) Mutt is made aware of the distinct mailboxes via the
"mailboxes" config item. Since my own posts come back as list posts,
both sides of the exchange appear intermixed as they should in the
threads, without further effort. (That's 99% of the traffic handled)

Other groupings might include e.g. family. But they don't don't come
from a listserver, so one more simple procmail rule recognises them, and
puts them into another mailbox. But how to ensure that mails to family
also go in there, to take their place in threads? There is a mutt
setting to save in the current folder instead of "sent", but that is no
help when you are off in another mailbox, and suddenly decide to fling
off a message. To let mutt catch that use case, and put any message to
family in the right mailbox, I've settled on:

fcc-save-hook '%L fam_grp' family

after setting up a group via the alias for each, e.g.:

alias -group fam_grp jim  jim@example.com
alias -group fam_grp joe  joe@elephant.org
...

That is as far as I've been motivated to pursue the hunt for efficiency
and convenience, given the diminishing returns once the biggest bugbear
is a fading memory.

Erik

¹ Chucking most outgoing mail into "sent" is a high entropy expedient,
  useful only for last resort message recovery when your post didn't
  make it to a list, I find. It pretty much scores -10 as storage of
  half of multiple unrelated conversations with various parties, where
  it's copy of outgoing mail is the only one. (But then, that's what
  you've discovered, AIUI.)

-- 
For those with savings and fixed incomes, deflation is wonderful, but for those
with debt, it is catastrophic since the value of the dollar repaid is greater
than the dollar borrowed. ...  borrowers are ascendant and central banks are
working for them, not savers. In fact, savers are being plundered with super low
interest in the name of promoting aggregate demand and maintaining inflation.
 - 
http://www.abc.net.au/news/2013-11-06/kohler-prices-want-to-fall-but-borrowers-wont-let-them/5072388


Re: Inbox and Sent messages in one thread. How To?

2013-12-05 Thread Patrick Shanahan
* Kirill Tkhai  [12-05-13 20:05]:
> I want to have a posibility to see inbox and sent messages together in
> one thread.  Is this possible without copying content of Sent folder to
> Inbox?

Leave the "sent" msgs in the inbox

or insteadof "saving" outgoing post, copy them to the "Sent" directory and
the original will remain in your inbox.

If you do not want a copy of the "Sent" mail in your inbox, I believe you
are outtaluck.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net