From: Max Nikulin <manikulin@gmail.com>
To: Bruno Barbier <brubar.cs@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Link from orgmode file to E-Mail (using kmail or notmuch)
Date: Sat, 28 Jan 2023 09:36:01 +0700 [thread overview]
Message-ID: <2d36ea04-4ad9-fcda-a09b-0f9600987ff9@gmail.com> (raw)
In-Reply-To: <63d01412.050a0220.9611.9c4d@mx.google.com>
On 28/01/2023 01:15, Bruno Barbier wrote:
>
>>> If Message-ID still can be decoded from cb_thinderlink URIs than it
>>> should be possible adapt orco to handle such links as well.
>
> I'm using plain Message-IDs to identify my emails, and, when choosing an
> email client, that's really the first feature that I'm checking.
>
> In Thunderbird, in the cb_thunderlink config (v 1.6.0), I'm using a link format
> that is compatible with the old thunderlink extension:
>
> [[email:$msgid$][$author_name$: $subject$ ($date_iso$)]]
Notice that you can use mid:$msgid$ instead of email:$msgid$.
thunderbird 'mid:tqr8et$mrc$1@ciao.gmane.io'
opens the message in a new tab or a new window. Sometimes separate tab
is inconvenient, but context menu has "show message in containing
folder" item. ESR releases 91 and 102 support it out of the box. Whether
thunderbird.desktop contains "x-scheme-handler/mid;" in the MimeType
parameter (and so desktop-wide integration out of the box) depends on
particular Linux distribution. For emacs it means that (browse-url
"mid:tqr8et$mrc$1@ciao.gmane.io") should just work.
> To open a message whose "Message-ID" is 'message-id', org just
> requests my operating system to open a link like:
>
> (concat "thunderlink://messageid=" message-id)
This approach can be used with "mid:" scheme for links in Org files as well.
> It looks like thunderbird allows to search for Message-ID (see
> headerMessageId):
>
> https://webextension-api.thunderbird.net/en/stable/messages.html#messages-query
>
> and there is no warning about using it. I'm guessing that cb_thunderlink
> is using this.
There was a lag between thunderbird-78 and some later version when there
was no easy access to Message-ID header in add-on API. Likely it is a
reason why cb_thunderlink has a warning that such links might be broken
in future. I have not checked if standard API or custom low level code
is currently used in cb_thuderlink for lookup by Message-ID.
In orco standard messages.query() is used to search for Message-IDs
extracted from links, e.g.
https://list.orgmode.org/t7q766$m5k$1@ciao.gmane.io It is convenient to
see message subject and date without leaving thunderbird. The main point
of orco is opposite mapping. It makes possible to open in emacs the
location in file that has link to current mail message.
next prev parent reply other threads:[~2023-01-28 2:37 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <draft-87r0vhxg15.fsf@tosh-laptop.mail-host-address-is-not-set>
2023-01-21 21:32 ` Link from orgmode file to E-Mail (using kmail or notmuch) AW
2023-01-21 22:43 ` Gautier Ponsinet
2023-01-22 4:44 ` Max Nikulin
2023-01-22 8:32 ` Ihor Radchenko
2023-01-22 9:38 ` Jean Louis
2023-01-22 10:36 ` Max Nikulin
2023-01-22 18:47 ` AW
2023-01-23 6:19 ` Jean Louis
2023-01-23 10:40 ` Ihor Radchenko
2023-01-23 13:55 ` AW
2023-01-23 18:28 ` Jean Louis
2023-01-24 9:40 ` Ihor Radchenko
2023-01-24 10:42 ` Dirk-Jan C. Binnema
2023-01-24 11:17 ` Ihor Radchenko
2023-01-24 17:08 ` Dirk-Jan C. Binnema
2023-01-24 19:12 ` Jean Louis
2023-01-26 10:01 ` AW
2023-01-24 19:01 ` Jean Louis
2023-01-28 14:08 ` [OT] email opens (was: Link from orgmode file to E-Mail (using kmail or notmuch)) Gregor Zattler
2023-01-28 18:26 ` tomas
2023-01-29 4:37 ` Jean Louis
2023-01-26 9:58 ` Link from orgmode file to E-Mail (using kmail or notmuch) AW
2023-01-26 10:16 ` Ihor Radchenko
2023-01-26 11:43 ` Max Nikulin
2023-01-26 12:18 ` Jean Louis
2023-01-26 18:41 ` AW
2023-01-23 11:46 ` Max Nikulin
2023-01-23 13:59 ` AW
2023-01-23 14:20 ` AW
2023-01-24 9:44 ` Ihor Radchenko
2023-01-24 16:11 ` Max Nikulin
2023-01-24 17:32 ` Bruno Barbier
2023-01-25 12:48 ` Max Nikulin
2023-01-28 2:36 ` Max Nikulin [this message]
2023-01-28 8:30 ` Bruno Barbier
2023-01-28 8:30 ` Max Nikulin
2023-01-31 19:56 ` PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)) Bruno Barbier
2023-02-01 16:18 ` Max Nikulin
2023-02-01 18:16 ` Bruno Barbier
2023-02-02 14:47 ` Max Nikulin
2023-02-02 6:04 ` Bruno Barbier
2023-02-03 14:50 ` Max Nikulin
2023-02-03 15:42 ` Bruno Barbier
2023-02-04 4:59 ` Max Nikulin
2023-02-06 11:46 ` Bruno Barbier
2023-02-07 15:08 ` [PATCH] worg/org-faq.org: Recommend cb_thunderlink Thunderbird add-on Max Nikulin
2023-02-07 18:26 ` Bruno Barbier
2023-02-08 15:45 ` Max Nikulin
2023-01-23 18:37 ` Link from orgmode file to E-Mail (using kmail or notmuch) Jean Louis
2023-01-24 17:22 ` Max Nikulin
2023-01-24 17:49 ` Jean Louis
2023-01-25 15:31 ` Max Nikulin
2023-01-25 16:48 ` This is out of thread subject Jean Louis
2023-01-25 18:01 ` Ihor Radchenko
2023-01-26 6:28 ` Jean Louis
2023-01-27 11:23 ` Ihor Radchenko
2023-01-27 11:51 ` Firefox permission dialog and org-protocol Max Nikulin
2023-01-29 13:50 ` Ihor Radchenko
2023-01-30 5:48 ` Max Nikulin
2023-01-30 14:59 ` [BUG] org-manual: Using bookmarklet for org-capture is no longer reliable (was: Firefox permission dialog and org-protocol) Ihor Radchenko
2023-01-31 8:11 ` [BUG] org-manual: Using bookmarklet for org-capture is no longer reliable Charles Philip Chan
2023-01-31 12:20 ` Max Nikulin
2023-02-01 13:38 ` Ihor Radchenko
2023-02-02 14:09 ` Max Nikulin
2023-02-02 14:17 ` Ihor Radchenko
2023-02-02 15:02 ` Max Nikulin
2023-02-05 7:43 ` Max Nikulin
2023-02-05 10:26 ` Ihor Radchenko
2023-01-31 1:59 ` Firefox permission dialog and org-protocol Samuel Wales
2023-01-26 16:19 ` Link from orgmode file to E-Mail (using kmail or notmuch) Max Nikulin
2023-01-27 6:41 ` Jean Louis
2023-01-27 15:19 ` Max Nikulin
2023-01-29 4:18 ` Jean Louis
2023-01-29 8:41 ` Ihor Radchenko
2023-01-24 17:39 ` Bruno Barbier
2023-01-24 17:52 ` Jean Louis
2023-01-25 12:56 ` [FR] Should Org provide commonly used link types? (was: Link from orgmode file to E-Mail (using kmail or notmuch)) Ihor Radchenko
2023-01-25 16:40 ` Should Org provide commonly used link types? Jean Louis
2023-01-25 18:15 ` Ihor Radchenko
2023-01-26 5:09 ` Jean Louis
2023-01-26 6:11 ` Jean Louis
2023-04-26 18:18 ` jawatech
2023-01-24 9:42 ` Link from orgmode file to E-Mail (using kmail or notmuch) Ihor Radchenko
2023-01-24 15:49 ` Max Nikulin
2023-01-24 18:14 ` Jean Louis
2023-01-24 18:03 ` Jean Louis
2023-01-22 7:29 ` Jean Louis
2023-01-27 18:15 ` Bruno Barbier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2d36ea04-4ad9-fcda-a09b-0f9600987ff9@gmail.com \
--to=manikulin@gmail.com \
--cc=brubar.cs@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).