Re: [MlMt] Notify on reply

2014-09-18 Thread Jeremy Cowgar

On 18 Sep 2014, at 12:06, Jeremy Cowgar wrote:

I actually just got done doing that with MailMate. I'll write a blog 
post about it later on this evening to share how I accomplished it. 
Maybe others could chime in, improve the process, etc...




OK, I guess technically (at least where I am) it is no longer this 
evening, but... 12:12am, close enough :-)


I wrote a post with instructions and screen shots showing how I 
accomplished this process.


http://jeremy.cowgar.com/2014/09/18/mailmate-waiting-on-reply/

I would be very interested in any improvements, ideas or comments on the 
process. I'll be happy to edit/update the post with the community making 
things better.


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


Re: [MlMt] insertFormatString... ${} expansions listed somewhere?

2014-09-18 Thread Kai Großjohann

On 18 Sep 2014, at 17:54, Benny Kjær Nielsen wrote:


On 18 Sep 2014, at 14:42, Jeremy Cowgar wrote:



My company wants corporate email replied to in Outlook fashion :-(.


That is simply depressing. I cannot imagine the reasoning behind such 
a strange requirement. I might be alone on this, but when I see this 
quoting style then “competent professional” are not the first 
words to cross my mind :-)


Actually, I find that the Outlook threading is better than I had feared. 
 It actually works pretty well for a "linear" thread like this one (the 
one I'm responding to):


One person sends a message, another person replies, another person 
replies to that, and so on -- the reply is always to the most recent 
message.


When that happens, thanks to top-posting, you can just read the most 
recent message.  Either you read it bottom to top (very weird) in 
chronological order (sane); or you read it top to bottom (sane) in 
reverse chronological order (weird).


If there is a "fork" in this linear series of responses, then Outlook 
shows you two messages, one for each fork.  And you read the first one 
top to bottom, then the second one till you reach a message that you 
have seen before.


It's kinda similar to the "conversations" view that some email programs 
offer.  Only different :-)


I understand that mixing the different styles just gives weird results.  
So I understand why the company doesn't want different people to use 
different styles, because the mixture is worse than either style by 
itself.


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


Re: [MlMt] insertFormatString... ${} expansions listed somewhere?

2014-09-18 Thread Jeremy Cowgar

On 18 Sep 2014, at 11:54, Benny Kjær Nielsen wrote:


On 18 Sep 2014, at 14:42, Jeremy Cowgar wrote:

That is simply depressing. I cannot imagine the reasoning behind such 
a strange requirement. I might be alone on this, but when I see this 
quoting style then “competent professional” are not the first 
words to cross my mind :-)




I'm fighting it big time, believe me! They cite the ability to see the 
entire flow of the message, and I respond that's what your email program 
is for w/its ability to link messages in the same thread :-/




A short term solution would be to support the insertion of the 
advanced type of format strings. I've changed `MmReplyWroteString` 
such that if the first character is `{` then it's the “advanced” 
formatting style. This works in the next test version of MailMate 
(probably tomorrow).


Now, I almost hate myself for this, but you would then get something 
like what you want by pasting this in the Terminal:




snip



Remember, it won't work before I've uploaded another test release.



I like that, however, I don't really want to change my quoting style for 
anything other than this one account. I may just omit the ${cc} portion 
in my "alternate" reply key and tell them that's as close as I can get.


Thanks for giving it a go!

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


Re: [MlMt] Is there any way to make a command which does something with a substring of a subject?

2014-09-18 Thread Benny Kjær Nielsen

On 18 Sep 2014, at 16:44, Kee Hinckley wrote:

E.g. I have a subject that looks like "[Code Collaborator] New files 
in Review #73351" and I want to find all messages with #73351 in the 
subject.


You can get part of the way with custom specifiers: 
https://www.mail-archive.com/mailmate%40lists.freron.com/msg02243.html


This is a place where it would be nice if there were an AppleScript 
mapping for running commands. I could have an external package that 
got the selection, and then it could call back into MailMate to 
execute the commands.


It won't be implemented using AppleScript, but I'll certainly implement 
the ability to make special searches based on the currently selected 
message. In fact, if a specifier has been defined (as linked to above) 
then it'll likely be possible to do it by adding a key binding for it 
(no need for commands/scripts).


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


Re: [MlMt] Notify on reply

2014-09-18 Thread Jeremy Cowgar
I actually just got done doing that with MailMate. I'll write a blog 
post about it later on this evening to share how I accomplished it. 
Maybe others could chime in, improve the process, etc...


--
Jeremy

On 18 Sep 2014, at 10:45, Kee Hinckley wrote:

iOS 8 has a nice new mail feature. You can select a message and ask 
for notification when someone replies to it.


Just saying. :)___
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] insertFormatString... ${} expansions listed somewhere?

2014-09-18 Thread Benny Kjær Nielsen

On 18 Sep 2014, at 14:42, Jeremy Cowgar wrote:

OK, that got me a step closer, however I'm not exactly sure how to use 
the ${cc} variable correctly, or maybe it can't be. It is returning to 
me only the first person on the Cc list, not the entire list. Is there 
a way to get the Cc list?


No, sorry, not supported yet. At least not for simple format strings. (A 
more advanced approach is used for, e.g., the configuration of the 
messages outline.)



My company wants corporate email replied to in Outlook fashion :-(.


That is simply depressing. I cannot imagine the reasoning behind such a 
strange requirement. I might be alone on this, but when I see this 
quoting style then “competent professional” are not the first words 
to cross my mind :-)


I am just playing around with ways to make this work in MailMate. I've 
managed to do this so far:


"R" = (
"replyAll:",
"insertFormatString:",
		"-Original Message-\nFrom: ${to.name} 
[mailto:${to.address}\nTo: ${from.name} [mailto:${from.name}]\nCc: 
${cc.name}\nSent: ${date}\nSubject:${subject}\n"

);

This is only one small piece of the puzzle. I have thought about a 
Bundle to accomplish this task, but it seems to get only the quote, 
not any other information about the email, thus I can't add the above 
header.


Yes, this is not so easily accomplished yet. What is really needed is 
some kind of system for specifying prefaces (wrote-strings) and then let 
MailMate handle it similarly to signatures. That way you could also 
easily reply to me without using Outlook reply-style :-)


This has been on the todo for a long time. My own motivation is that I 
want it to be easier to use multiple languages.


Hmm, `insertFormatString:` is not well suited for this since it is based 
on the reply and not the original string.


Any thoughts would be appreciated, and yes... I don't like the Outlook 
methodology, but they are really pushing it. I'm willing to go to 
great lengths to avoid using Outlook for my work email, just for the 
reply message!


A short term solution would be to support the insertion of the advanced 
type of format strings. I've changed `MmReplyWroteString` such that if 
the first character is `{` then it's the “advanced” formatting 
style. This works in the next test version of MailMate (probably 
tomorrow).


Now, I almost hate myself for this, but you would then get something 
like what you want by pasting this in the Terminal:


~~~
defaults write com.freron.MailMate MmReplyWroteString -string "{
children =
(
{
string = '-Original Message-\n';
},
{
formatString = 'From: \${from.name} 
<\${from.address}>\n';
},
{
sharedPrefix = 'to';
separatorString = ', ';
children = (
{
prefixString = 'To: ';
formatString = '\${to.name} 
<\${to.address}>';
suffixString = '\n';
}
);
},
{
sharedPrefix = 'cc';
separatorString = ', ';
children = (
{
prefixString = 'Cc: ';
formatString = '\${cc.name} 
<\${cc.address}>';
suffixString = '\n';
}
);
},
{
formatString = 'Sent: \${date}\n';
},
{
formatString = 'Subject: \${subject}\n';
},
);
}
"
~~~

Remember, it won't work before I've uploaded another test release.

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


[MlMt] Notify on reply

2014-09-18 Thread Kee Hinckley
iOS 8 has a nice new mail feature. You can select a message and ask for 
notification when someone replies to it.


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


[MlMt] Is there any way to make a command which does something with a substring of a subject?

2014-09-18 Thread Kee Hinckley
E.g. I have a subject that looks like "[Code Collaborator] New files in 
Review #73351" and I want to find all messages with #73351 in the 
subject.


This is a place where it would be nice if there were an AppleScript 
mapping for running commands. I could have an external package that got 
the selection, and then it could call back into MailMate to execute the 
commands.___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] insertFormatString... ${} expansions listed somewhere?

2014-09-18 Thread Jeremy Cowgar

On 18 Sep 2014, at 8:27, Benny Kjær Nielsen wrote:


On 17 Sep 2014, at 23:53, Jeremy Cowgar wrote:


Are the variable expansions available for use listed somewhere?


No, they are implicitly available in this file:


MailMate.app/Contents/Frameworks/OakMIME.framework/Resources/specifiers.plist



OK, that got me a step closer, however I'm not exactly sure how to use 
the ${cc} variable correctly, or maybe it can't be. It is returning to 
me only the first person on the Cc list, not the entire list. Is there a 
way to get the Cc list?


My company wants corporate email replied to in Outlook fashion :-(. I am 
just playing around with ways to make this work in MailMate. I've 
managed to do this so far:


"R" = (
"replyAll:",
"insertFormatString:",
		"-Original Message-\nFrom: ${to.name} 
[mailto:${to.address}\nTo: ${from.name} [mailto:${from.name}]\nCc: 
${cc.name}\nSent: ${date}\nSubject:${subject}\n"

);

This is only one small piece of the puzzle. I have thought about a 
Bundle to accomplish this task, but it seems to get only the quote, not 
any other information about the email, thus I can't add the above 
header.


Any thoughts would be appreciated, and yes... I don't like the Outlook 
methodology, but they are really pushing it. I'm willing to go to great 
lengths to avoid using Outlook for my work email, just for the reply 
message!


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


Re: [MlMt] insertFormatString... ${} expansions listed somewhere?

2014-09-18 Thread Benny Kjær Nielsen

On 17 Sep 2014, at 23:53, Jeremy Cowgar wrote:


Are the variable expansions available for use listed somewhere?


No, they are implicitly available in this file:


MailMate.app/Contents/Frameworks/OakMIME.framework/Resources/specifiers.plist

But it might be easier to create a smart mailbox using the value you 
need and then look in the Mailboxes file:


~/Library/Application Support/MailMate/Mailboxes.plist

(Essentially, you just lowercase what you see in the headers popup.)

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


Re: [MlMt] Rules didn't come along with update

2014-09-18 Thread Benny Kjær Nielsen

On 18 Sep 2014, at 11:30, Bob Koss wrote:

I updated MailMate yesterday and I noticed this morning that my 
previous rules were not applied to incoming mail. I went to look at my 
rules and there weren't any.


That doesn't sound good. So far, I have no other reports about this, but 
I'm of course very interested in fixing any bugs related to this.



Is there a way to recover without entering them all again?


If you have a backup then you can copy this file to get your mailboxes 
back:


~/Library/Application Support/MailMate/Mailboxes.plist

You *must* quit MailMate before copying this file.

If you manage to do this and the rules disappear again then let me know.

Are there plans to make rules available across computers I use. 
Sometimes I'll enter rules on my laptop and sometimes on my desktop 
and it would be nice if I didn't have to do this twice. Possibly sync 
using Dropbox?


I only have some notes on thoughts about how this could work. Something 
like Dropbox could be used, but I think it might be better to simply use 
IMAP for this purpose (the user could be asked to select a special IMAP 
mailbox for MailMate settings). It's not as trivial as it sounds though 
:-)


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


[MlMt] Rules didn't come along with update

2014-09-18 Thread Bob Koss
I updated MailMate yesterday and I noticed this morning that my previous 
rules were not applied to incoming mail. I went to look at my rules and 
there weren't any.


Is there a way to recover without entering them all again?

Are there plans to make rules available across computers I use. 
Sometimes I'll enter rules on my laptop and sometimes on my desktop and 
it would be nice if I didn't have to do this twice. Possibly sync using 
Dropbox?


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