[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E
From: |
Max Nikulin |
Subject: |
Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)) |
Date: |
Sat, 4 Feb 2023 11:59:41 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 03/02/2023 22:42, Bruno Barbier wrote:
Max Nikulin writes:
(with-eval-after-load 'ol
(org-link-set-parameters
"mid"
:follow (lambda (url &optional arg)
(browse-url (concat "mid:" url) arg))))
Thunderbird opens mid: links in new message display tab or window.
Yes. If `browse-url' knows how to open Thunderbird (mine didn't).
On windows I expect fallback to `browse-url-default-windows-browser` by
default. Are you able to open mid: links from e.g. cmd.exe?
open "mid:63dd2b57.050a0220.ed66f.0117@mx.google.com"
Looking into https://bugzilla.mozilla.org/show_bug.cgi?id=1696218
"Thunderbird displays the dialog for default application after each startup"
and the patch, I expect that thunderbird on windows can register
protocol handler for the "mid" scheme.
Unsure however if the following entries in advanced preferences are
relevant:
network.protocol-handler.expose.mid true
network.protocol-handler.external.mid false
I have never debugged protocol handlers on windows. I would compare
"mailto" and "mid" entries in the registry
https://stackoverflow.com/questions/80650/how-do-i-register-a-custom-url-protocol-in-windows
How do you think we should proceed to update the wiki ?
I am trying to determine if it is difficult to get mid scheme working
system-wide and emacs-wide on windows. If not, I would just add your
example "[[mid:$msgid$][$author_name$: $subject$ ($date_iso$)]]" to the
remark related to copying Message-ID in the existing text and corrected
a bit a note on obsolete thunderlink. If thunderbird still has issues
with registering global mid: handler then your snippet with
`start-process' should be added.
Maybe I just have gone too far trying to add "right" recommendation.
- Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)), Max Nikulin, 2023/02/01
- Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)), Bruno Barbier, 2023/02/01
- Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)), Max Nikulin, 2023/02/02
- Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)), Bruno Barbier, 2023/02/02
- Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)), Max Nikulin, 2023/02/03
- Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)), Bruno Barbier, 2023/02/03
- Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)),
Max Nikulin <=
- Re: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)), Bruno Barbier, 2023/02/06
- [PATCH] worg/org-faq.org: Recommend cb_thunderlink Thunderbird add-on, Max Nikulin, 2023/02/07
- Re: [PATCH] worg/org-faq.org: Recommend cb_thunderlink Thunderbird add-on, Bruno Barbier, 2023/02/07
- Re: [PATCH] worg/org-faq.org: Recommend cb_thunderlink Thunderbird add-on, Max Nikulin, 2023/02/08