Re: [MlMt] Submailboxes for partial subject

2014-03-24 Thread Benny Kjær Nielsen

On 21 Mar 2014, at 22:10, Joshua Kehn wrote:

In case anyone else is looking for FogBugz / MailMate customization 
here's what I'm using:


Thanks for the example. Long-term I would like to allow custom 
specifiers to be part of bundles. This way you could have a FogBugz 
bundle which could also include other functionality such as a shortcut 
for opening the web-page corresponding to the currently selected email. 
Some day...


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


Re: [MlMt] Submailboxes for partial subject

2014-03-21 Thread Joshua Kehn

Done, that was a really informative post, thanks!

In case anyone else is looking for FogBugz / MailMate customization 
here's what I'm using:


subject = {
// ...
specifierCaptures = {
// ...
4 = { specifier = body; type=noTabs; parsers = ( 
words, FogBugz ); };

};
};
FogBugz = {
specifierRegex = 'FogBugz\s\(Case 
(\d+)\)\s([a-zA-Z0-9\s]+)-\s.+';

specifierCaptures = {
1 = { specifier = fogbugz-case; };
2 = { specifier = fogbugz-project; };
};
};

--jk

On 20 Mar 2014, at 12:08, Torsten Grust wrote:


Hi Joshua,

On 20 Mar 2014, at 16:21, Joshua Kehn wrote (with possible deletions):
I use FogBugz and I get notification emails from the system with 
subjects like this:


FogBugz (Case 1711) PROJECT NAME - Some Case title

I could design a regular expression like:

FogBugz\s\(Case \d+\)\s([a-zA-Z0-9\s]+)-\s.+

I'd like to create distinct sub mailboxes for the matched group 
(Project Name). Is this possible and if so how to do it?


that should be entirely possible.  I have used a quite similar setup
for a few years now.  It is described in this post to the mailing 
list:


http://lists.freron.com/mailmate/2012-February/000197.html

Beware: there is some plist-editing involved.

Cheers,
--Torsten

--
| Torsten Teggy Grust
| 
Torsten.Grust@gmail.com___

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] Submailboxes for partial subject

2014-03-20 Thread Torsten Grust

Hi Joshua,

On 20 Mar 2014, at 16:21, Joshua Kehn wrote (with possible deletions):
I use FogBugz and I get notification emails from the system with 
subjects like this:


FogBugz (Case 1711) PROJECT NAME - Some Case title

I could design a regular expression like:

 FogBugz\s\(Case \d+\)\s([a-zA-Z0-9\s]+)-\s.+

I'd like to create distinct sub mailboxes for the matched group 
(Project Name). Is this possible and if so how to do it?


that should be entirely possible.  I have used a quite similar setup
for a few years now.  It is described in this post to the mailing list:

http://lists.freron.com/mailmate/2012-February/000197.html

Beware: there is some plist-editing involved.

Cheers,
  --Torsten

--
| Torsten Teggy Grust
| torsten.gr...@gmail.com___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate