[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Link from orgmode file to E-Mail (using kmail or notmuch)
From: |
Max Nikulin |
Subject: |
Re: Link from orgmode file to E-Mail (using kmail or notmuch) |
Date: |
Sun, 22 Jan 2023 17:36:50 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 22/01/2023 15:32, Ihor Radchenko wrote:
Max Nikulin writes:
My notmuch allows me to click on the above link from inside the email.
As for Org links, [[notmuch:id:3218434.44csPzL39Z@linux.fritz.box]]
works the same via ol-notmuch.
We could support mid: is the corresponding url schema existed and
supported by various OSes.
Does emacs support query to desktop environment if specific URI schema
is supported? Anyway it will increase load time. Instead list of types
for `browse-url' may be converted into a user option, currently it is
hard coded:
(dolist (scheme '("ftp" "http" "https" "mailto" "news"))
(org-link-set-parameters scheme
:follow
(lambda (url arg)
(browse-url (concat scheme ":" url) arg))))
Currently I use
(with-eval-after-load 'ol
(org-link-set-parameters
"mid"
:follow (lambda (url &optional arg)
(browse-url (concat "mid:" url) arg))))
See Org FAQ https://orgmode.org/worg/org-faq.html#org1d563f2 "Can I
create links to Thunderbirds emails?"
I suppose, notmuch may provide a function for "mid:" associatiopn in
`browse-url-handler' and a .desktop file similar to
http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/emacsclient-mail.desktop
for handling mid: links from other applications.
- Link from orgmode file to E-Mail (using kmail or notmuch), AW, 2023/01/21
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Gautier Ponsinet, 2023/01/21
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Max Nikulin, 2023/01/21
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Ihor Radchenko, 2023/01/22
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Jean Louis, 2023/01/22
- Re: Link from orgmode file to E-Mail (using kmail or notmuch),
Max Nikulin <=
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), AW, 2023/01/22
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Jean Louis, 2023/01/23
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Ihor Radchenko, 2023/01/23
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), AW, 2023/01/23
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Jean Louis, 2023/01/23
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Ihor Radchenko, 2023/01/24
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Dirk-Jan C. Binnema, 2023/01/24
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Ihor Radchenko, 2023/01/24
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Dirk-Jan C. Binnema, 2023/01/24
- Re: Link from orgmode file to E-Mail (using kmail or notmuch), Jean Louis, 2023/01/24