[MlMt] Thread view in addition to correspondance view ?

2014-10-26 Thread Max Rydahl Andersen


I'm trying to create a "Thread layout" similar to "Correspondance" but 
with a current thread view instead of the correspondance list.


Trying to get the filter right but not sure what is the right one to get 
similar to what clicking on 'thread' will run ?


any ideas ?

/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-26 Thread Benny Kjær Nielsen

On 26 Oct 2014, at 17:57, Max Rydahl Andersen wrote:

I'm trying to create a "Thread layout" similar to "Correspondance" but 
with a current thread view instead of the correspondance list.


Trying to get the filter right but not sure what is the right one to 
get similar to what clicking on 'thread' will run ?


any ideas ?


That would be something like:

	transformation = "$ALL_MESSAGES.filter(#thread-id =[c] 
$mainOutline.#thread-id)";


(Trick: You could have clicked the Thread button and saved the result to 
be able to review the result in `Mailboxes.plist`.)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-26 Thread Max Rydahl Andersen
So I got that from the thread arc view too but it just the crashes instantly :/

/max
http://about.me/maxandersen


> On 26 Oct 2014, at 20:37, Benny Kjær Nielsen  wrote:
> 
> On 26 Oct 2014, at 17:57, Max Rydahl Andersen wrote:
> 
> I'm trying to create a "Thread layout" similar to "Correspondance" but with a 
> current thread view instead of the correspondance list.
> 
> Trying to get the filter right but not sure what is the right one to get 
> similar to what clicking on 'thread' will run ?
> 
> any ideas ?
> 
> That would be something like:
> 
> transformation = "$ALL_MESSAGES.filter(#thread-id =[c] 
> $mainOutline.#thread-id)";
> (Trick: You could have clicked the Thread button and saved the result to be 
> able to review the result in Mailboxes.plist.)
> 
> -- 
> Benny
> 
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> http://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-26 Thread Benny Kjær Nielsen

On 26 Oct 2014, at 20:57, Max Rydahl Andersen wrote:

So I got that from the thread arc view too but it just the crashes 
instantly :/


I should be able to reproduce it if you send me the layout file. You can 
do it off list if you like.


Based on a recent crash report from you then I suspect you'll also get a 
hint about the crash if you launch MailMate from the Terminal (MailMate 
aborts when failing to parse a query):


   /Applications/MailMate.app/Contents/MacOS/MailMate

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-27 Thread Max Andersen
Here it is. Just took correspondance and renamed its parts to threaded
instead.

On Sun, Oct 26, 2014 at 9:02 PM, Benny Kjær Nielsen 
wrote:

> On 26 Oct 2014, at 20:57, Max Rydahl Andersen wrote:
>
>  So I got that from the thread arc view too but it just the crashes
>> instantly :/
>>
>
> I should be able to reproduce it if you send me the layout file. You can
> do it off list if you like.
>
> Based on a recent crash report from you then I suspect you'll also get a
> hint about the crash if you launch MailMate from the Terminal (MailMate
> aborts when failing to parse a query):
>
>/Applications/MailMate.app/Contents/MacOS/MailMate
>
>
> --
> Benny
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> http://lists.freron.com/listinfo/mailmate
>



-- 
/max
http://about.me/maxandersen


threaded.plist
Description: Binary data
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-27 Thread Benny Kjær Nielsen

On 27 Oct 2014, at 13:40, Max Andersen wrote:


Here it is. Just took correspondance and renamed its parts to threaded
instead.


The parentheses in the transformation string are not balanced. (I'll 
look into making sure that it fails a bit more gracefully.)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-27 Thread Max Andersen
Actually got it working! just stayed away from renaming all 
correspondance to thread.


Now this works pretty great *BUT* I can now see several mails where the 
thread-id does not
actually work. Not sure why because the field "References" and 
Message-id definitely seem

to be there.

Is there a way to also make it show other mails with the same 
similar/subject  (similar to when clicking the main subject text and 
mailmate show the related ones ?)


/max


Here it is. Just took correspondance and renamed its parts to threaded
instead.

On Sun, Oct 26, 2014 at 9:02 PM, Benny Kjær Nielsen 


wrote:


On 26 Oct 2014, at 20:57, Max Rydahl Andersen wrote:

So I got that from the thread arc view too but it just the crashes

instantly :/



I should be able to reproduce it if you send me the layout file. You 
can

do it off list if you like.

Based on a recent crash report from you then I suspect you'll also 
get a
hint about the crash if you launch MailMate from the Terminal 
(MailMate

aborts when failing to parse a query):

/Applications/MailMate.app/Contents/MacOS/MailMate


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate





--
/max
http://about.me/maxandersen

[threaded.plist]



/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-28 Thread Benny Kjær Nielsen

On 27 Oct 2014, at 19:08, Max Andersen wrote:

Now this works pretty great *BUT* I can now see several mails where 
the thread-id does not
actually work. Not sure why because the field "References" and 
Message-id definitely seem

to be there.


I would need an example to analyze that, that is, at least two messages 
(parent/child) clearly related but not threaded by MailMate.


Is there a way to also make it show other mails with the same 
similar/subject  (similar to when clicking the main subject text and 
mailmate show the related ones ?)


Yes, that can also be done by the `transformation` string. Something 
like this I believe should work:


	transformation = "$ALL_MESSAGES.filter(#thread-id = 
$mainOutline.#thread-id or subject.body = $mainOutline.subject.body)";


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-29 Thread Max Andersen
On Tue, Oct 28, 2014 at 11:17 PM, Benny Kjær Nielsen  wrote:

> On 27 Oct 2014, at 19:08, Max Andersen wrote:
>
> Now this works pretty great *BUT* I can now see several mails where the
> thread-id does not
> actually work. Not sure why because the field "References" and Message-id
> definitely seem
> to be there.
>
> I would need an example to analyze that, that is, at least two messages
> (parent/child) clearly related but not threaded by MailMate.
>

Here is some scrambled data (replace company names to protect the innocents
:)

Msg 0:
Message-ID: <20140821201001.6025361.87397.47...@company2.org>  <---
original mail
+ Message-Id: 
  References: <20140821201001.6025361.87397.47...@company2.org>
+ Message-ID: <459d7dea-4331-4ebe-9623-5952dbaf0...@company1.com>
  In-Reply-To: <20140821201001.6025361.87397.47...@company2.org>
  References: <20140821201001.6025361.87397.47...@company2.org>
  + Message-Id: <5e95ebcf-d0e9-45f1-a93c-7cda28f65...@company1.com>
References: <20140821201001.6025361.87397.47...@company2.org> <
459d7dea-4331-4ebe-9623-5952dbaf0...@company1.com>
In-Reply-To: <459d7dea-4331-4ebe-9623-5952dbaf0...@company1.com>


Msg 0':
Message-ID: <544ca6c0.3030...@gmail.com>   <--- reply to original mail but
clicking Thread does not show the above tree and vice versa
References: <20140821201001.6025361.87397.47...@company2.org> <
459d7dea-4331-4ebe-9623-5952dbaf0...@company1.com> <
5e95ebcf-d0e9-45f1-a93c-7cda28f65...@company1.com> <
c8f6cbec-e8ea-48f0-b72c-2af69797b...@company1.com> <
92900075-e84e-45ee-b876-eacd8e4bb...@company1.com> <
dd54b32c-f8af-41a2-a617-d26bd5201...@company1.com> <
9a8ceea5-f9f7-4cdf-bd37-733dae755...@company1.com>
In-Reply-To: <9a8ceea5-f9f7-4cdf-bd37-733dae755...@company1.com>
+ Message-ID: 
  In-Reply-To: <544ca6c0.3030...@gmail.com>
  References: <20140821201001.6025361.87397.47...@company2.org> <
459d7dea-4331-4ebe-9623-5952dbaf0...@company1.com> <
5e95ebcf-d0e9-45f1-a93c-7cda28f65...@company1.com> <
c8f6cbec-e8ea-48f0-b72c-2af69797b...@company1.com> <
92900075-e84e-45ee-b876-eacd8e4bb...@company1.com> <
dd54b32c-f8af-41a2-a617-d26bd5201...@company1.com> <
9a8ceea5-f9f7-4cdf-bd37-733dae755...@company1.com> <
544ca6c0.3030...@gmail.com>


notice that Msg 0' have a reference to the root via references field.

 Is there a way to also make it show other mails with the same
> similar/subject (similar to when clicking the main subject text and
> mailmate show the related ones ?)
>
> Yes, that can also be done by the transformation string. Something like
> this I believe should work:
>
> transformation = "$ALL_MESSAGES.filter(#thread-id = $mainOutline.#thread-id 
> or subject.body = $mainOutline.subject.body)";
>
>
This is pretty damn awesome - now I dont have to wait for mailmate to show
mails from threads outside of the current search/folder ;)

Thanks!

/max

>  --
> Benny
>
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> http://lists.freron.com/listinfo/mailmate
>
>


-- 
/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-29 Thread Benny Kjær Nielsen

On 29 Oct 2014, at 11:48, Max Andersen wrote:

I would need an example to analyze that, that is, at least two 
messages

(parent/child) clearly related but not threaded by MailMate.


Here is some scrambled data (replace company names to protect the 
innocents

:)

...

notice that Msg 0' have a reference to the root via references field.


Ok, currently MailMate only uses `References` if the `In-Reply-To` 
header is missing. I'm probably not going to do much to change that 
before I'm also able to offer some kind of “grouping” thread mode.


This is pretty damn awesome - now I dont have to wait for mailmate to 
show

mails from threads outside of the current search/folder ;)


Alternatively, you can also create a custom smart mailbox based on the 
Inbox which includes related messages.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-29 Thread Max Andersen
Okey. That would explain at lot of why threaded button rarely works for me
:)

Is there a way to add references search to my transformation view ?

I'm not sure I follow your alternative. Can you explain that a bit more
detailed ?

...and is there a way to define the "transformation" search query the
threaded button do because I would like to change that to at least the one
that includes subject body search too.


On Wed 29 Oct 2014 at 17:11 Benny Kjær Nielsen 
wrote:

> On 29 Oct 2014, at 11:48, Max Andersen wrote:
>
>  I would need an example to analyze that, that is, at least two messages
> (parent/child) clearly related but not threaded by MailMate.
>
> Here is some scrambled data (replace company names to protect the innocents
> :)
>
> ...
>
> notice that Msg 0' have a reference to the root via references field.
>
> Ok, currently MailMate only uses References if the In-Reply-To header is
> missing. I'm probably not going to do much to change that before I'm also
> able to offer some kind of “grouping” thread mode.
>
> This is pretty damn awesome - now I dont have to wait for mailmate to show
> mails from threads outside of the current search/folder ;)
>
> Alternatively, you can also create a custom smart mailbox based on the
> Inbox which includes related messages.
>
> --
> Benny
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> http://lists.freron.com/listinfo/mailmate
>
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-29 Thread Benny Kjær Nielsen

On 29 Oct 2014, at 17:15, Max Andersen wrote:

Okey. That would explain at lot of why threaded button rarely works 
for me

:)

Is there a way to add references search to my transformation view ?


I'm actually not sure. It might be possible to compare references with 
message-ids, but I'm guessing it might quite slow if it works. I don't 
have time to try it out right now.


I'm not sure I follow your alternative. Can you explain that a bit 
more

detailed ?


1. Select the Inbox.
2. Make sure no messages are selected.
3. Click the “Thread” button.
4. Save it as, e.g., “Inbox with Threads”.


...and is there a way to define the "transformation" search query the
threaded button do because I would like to change that to at least the 
one

that includes subject body search too.


Sorry, that is one of the few things in MailMate which is hardcoded.

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-30 Thread Paula Coelho


That would explain at lot of why threaded button rarely works for me 
:)


just wanted to mention that it is the same with me. i've been working 
around so far with the Correspondence + some visual searching, while 
Benny doesn't offer the grouping thread mode :)


paula
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-30 Thread Paula Coelho

On 29 Oct 2014, at 14:24, Benny Kjær Nielsen wrote:

> 1. Select the Inbox.
> 2. Make sure no messages are selected.

hmm... whenever I select Inbox there is always a message selected. 
i don't know how to accomplish the 2.

p.
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-30 Thread Lars Ippich

On 30 Oct 2014, at 20:12, Paula Coelho wrote:


hmm... whenever I select Inbox there is always a message selected.
i don't know how to accomplish the 2.


If there is a preselected message, press cmd ⌘ while clicking on it to 
deselect the message.

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread view in addition to correspondance view ?

2014-10-30 Thread Paula Coelho

perfect, many thanks.

On 30 Oct 2014, at 17:17, Lars Ippich wrote:

If there is a preselected message, press cmd ⌘ while clicking on it 
to deselect the message.

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate