You can now paste the fully formed Orgmode message:// link into any Orgmode Then selecting ThunderLink | Emacs Orgmode Link from the context menu. This is as simple as right-clicking on the relevant email in Thunderbird, and On Windows and Linux, we can use thunderlink! ( when ( not ( string-equal system-type "darwin" )) modify this for your system ( setq thunderbird-program "C:/Program Files/Mozilla Thunderbird/thunderbird" ) ( defun org-message-thunderlink-open ( slash-message-id ) "Handler for org-link-set-parameters that converts a standard message:// link intoĪ thunderlink and then invokes thunderbird." remove any / at the start of slash-message-id to create real message-id ( let (( message-id ( replace-regexp-in-string ( rx bos ( * "/" )) "" slash-message-id ))) ( start-process ( concat "thunderlink: " message-id ) nil thunderbird-program "-thunderlink" ( concat "thunderlink://messageid=" message-id ) ))) on message://aoeu link, this will call handler with //aoeu ( org-link-set-parameters "message" :follow #' org-message-thunderlink-open )) with org-mac-link message:// links are handed over to the macOS system, which has built-in handling. Under the first open tab (in my case this was String 7), add the following link Add an extra copy format for Emacs Orgmode. Opened email selected in the main mail list UI, which is in my opinion much The add-on as follows (textual explanation follows the screenshot): Show ThunderLinked emails in the context of their folders.īy default, ThunderLinked emails will be opened in their own windows, withoutĬhange the “when running, open TLs” to “by selecting in mailbox” to show the In Thunderbird, go to Tools | Add-on Options | ThunderLink and then configure Thunderbird setup to access your email account. It hopefully goes without saying that for this solution you need to have Install and configure the ThunderLink add-on I end up switching operating systems and/or mail clients again in the future. More standard message:// links from my recently ended (paused?) macOS phase,Īnd I would prefer to continue using this MUA-agnostic convention just in case However, my Orgmode files are filled with the slightly I should mention at this point that you could opt to use thunderlink://įormat links directly. The Thunderbird mail client, an add-on called When you open the linkįrom Orgmode, the relevant email is instantly shown inįortunately, similar functionality can be configured on Windows and Linux using It does not matter if you have moved the mail around. Straight-forward to link directly to relevant emails from Orgmode tasks and On macOS, links of the form message://message-id are by default supported by
0 Comments
Leave a Reply. |