[MlMt] Thread Arcs styling options

2014-02-05 Thread Eric A. Meyer
   I was curious about the styling options available for Thread Arcs, 
as I’ve been thinking about ways to enhance the Arcs so they indicate 
things like which messages are flagged, unread, have attachments, etc., 
etc.  Is CSS applicable there?


--
Eric A. Meyer - http://meyerweb.com/
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread Arcs styling options

2014-02-05 Thread Mike Brasch

On 5 Feb 2014, at 16:56, Eric A. Meyer wrote:

I was curious about the styling options available for Thread Arcs, as 
I’ve been thinking about ways to enhance the Arcs so they indicate 
things like which messages are flagged, unread, have attachments, 
etc., etc.  Is CSS applicable there?


+1


--
Gruß
Mike
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread Arcs styling options

2014-02-05 Thread Benny Kjær Nielsen

On 5 Feb 2014, at 16:56, Eric A. Meyer wrote:

I was curious about the styling options available for Thread Arcs, as 
I’ve been thinking about ways to enhance the Arcs so they indicate 
things like which messages are flagged, unread, have attachments, 
etc., etc.  Is CSS applicable there?


No, it's not an HTML view. It's simple GUI class with its own drawing 
functions. There are some preference values for colors, the angle used 
when an arc leaves a dot, the radius of a dot (not sure that one works), 
and when MailMate should “flatten” lines (hard to explain), but 
there isn't anything adding more information to the thread arcs. A 
tooltip is created using a format string, but this is a bit hard to 
customize (requires a new layout).


But I wouldn't mind replacing this view with something displaying HTML. 
Ideally, MailMate would call an external script with the information 
needed for each message and then the script would generate the HTML to 
be displayed. Input could be something simple like this:


~~~
{
id = 1;
toolTip = Foo, 2 hours ago;
},
{
id = 8;
refId = 1;
toolTip = Bar, 1 hour ago;
},
{
id = 10;
refId = 8;
toolTip = Foo, 26 minutes ago;
}
~~~

If it worked this way (or something similar) then it wouldn't be limited 
to thread arcs. Any kind of alternative view of messages would be 
allowed.


I'm just thinking out loud. I wouldn't even be able to implement thread 
arcs in HTML myself. If anyone wants to play with this then I think I 
can create a bundle command which demonstrates how one can generate 
input similar to the above (or something simpler), generate some simple 
HTML, and finally, open the result in a browser.


Slightly off topic: The above is something I had not considered for 
thread arcs, but I often think it would be really cool if scripts were 
created which visualized various statistics about groups of messages 
using, e.g., gnuplot or maybe a graphing tool for HTML. For example, a 
graph showing the number of emails replied per day, or a pie chart of 
top-posters on the MailMate mailing list :-) I'll assist anyone with an 
interest in such visualizations (or even just simple tables).


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


Re: [MlMt] CAC support

2014-02-05 Thread Benny Kjær Nielsen

On 5 Feb 2014, at 22:48, Charles Clements wrote:

Does MailMate support the use of Common Access Cards (CAC) for signed 
and/or encrypted emails?


I'm actually not sure. It's not something I've tried myself (and I don't 
even really know how it works).


What I can tell you is that MailMate works like Apple Mail for S/MIME 
which means that if CAC is something which is handled by the system 
(Keychain Access) and it works in Apple Mail then it might also work in 
MailMate. In other words, there is no dedicated code in MailMate 
handling CAC, but that might not be needed. Let me know if you try it 
out.


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