[MlMt] CopyLink Bundle/Commands
Dean Jackson
mailmate at deanishe.net
Sat Aug 8 14:20:01 EDT 2015
Hi Benny,
I'd be happy for it to become (part of) a default bundle.
The RTF was a pain to get working. The tricky bit was encoding non-ASCII
characters correctly (I found [a
library](https://pypi.python.org/pypi/rtfunicode) that does it for you).
It works fine with non-ASCII European characters at any rate, and with
all the apps I've tried pasting in.
— Dean
On 8 Aug 2015, at 1:11, Benny Kjær Nielsen wrote:
> On 7 Aug 2015, at 23:55, Dean Jackson wrote:
>
>> I wrote [a MailMate
>> bundle](https://github.com/deanishe/CopyLink.mmBundle) that copies a
>> `message://` link to the selected message to the clipboard. The
>> "special feature" is that it copies the link as multiple data types
>> (HTML, rich text, plain text and URL), so if you paste it into an app
>> that understands HTML or rich text, you'll see the message subject as
>> the link text:
>>
>> ![](cid:62144F94-19A3-4F36-B1DB-8A7738F105B1 at deanishe.net "link.png")
>>
>> There's an additional **Copy Email Markdown Link** that replaces the
>> plain text version with a Markdown-formatted link, i.e.
>> `[<subject>](<message://url>)`
>>
>> I'd love to know what you think.
>
> Thanks for sharing! I'm sure some users are going to find it useful.
> It might also be worth considering to let it replace the current
> (hardcoded) menu item, e.g., making it part of a bundle enabled by
> default. Would you allow that?
>
> I have a vague recollection that I tried providing an RTF variant at
> some point, but for some reason I don't think it worked well. I've
> forgotten why (if it's a problem then I guess its generation could be
> made optional).
>
>
> --
> Benny
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> http://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20150808/5e78dbda/attachment.html>
More information about the mailmate
mailing list