emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bruno Barbier <brubar.cs@gmail.com>
To: Max Nikulin <manikulin@gmail.com>, emacs-orgmode@gnu.org
Subject: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch))
Date: Tue, 31 Jan 2023 20:56:14 +0100	[thread overview]
Message-ID: <63d9704e.5d0a0220.c3c8c.b45c@mx.google.com> (raw)
In-Reply-To: <69e4caf6-716d-373d-efb6-3d153f4a1253@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

Max Nikulin <manikulin@gmail.com> writes:

> Bruno, as a cb_thunderbird user, would you like to share your experience 
> and to expand
>
> https://orgmode.org/worg/org-faq.html#orgc6f8478
> 10.8. Can I create links to Thunderbirds emails?
>
> by adding a brief description of this add-on?

Hi Max,

I've got an initial draft. It's not exactly what I'm using, as I tried
to make the configuration OS agnostic. And I'm using Thunderbird only
for accounts where I'm forced to use Win32 (else, I'm using notmuch).

I just added a section about cb_thunderlink. I'm not sure how to
organize things with the other information about Thunderbird. And, I'm
not sure about how to properly format names, etc. for the wiki.

See the attached patch.

What do you think ?

Bruno



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add info about cb_thunderlink --]
[-- Type: text/x-diff, Size: 2361 bytes --]

From 4beb7ee307544be868a0d058763aa61558f0701b Mon Sep 17 00:00:00 2001
From: Bruno BARBIER <brubar.cs@gmail.com>
Date: Tue, 31 Jan 2023 20:33:22 +0100
Subject: [PATCH] org-faq: links with thunderbird: Add cb_thunderlink

---
 org-faq.org | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/org-faq.org b/org-faq.org
index 0410d368..1aaa3f2a 100644
--- a/org-faq.org
+++ b/org-faq.org
@@ -2051,6 +2051,54 @@ so the following recipe is obsolete:
 Notice that this link uses Message-ID to reference a particular
 message as well.
 
+*** Using the =cb_thunderlink= add-on
+The add-on =cb_thunderlink= for Thunderbird allows:
+   1. to generate direct links from emails inside Thunderbird,
+   2. and to reopen the emails following these links.
+
+**** Installation
+To install the =cb_thunderlink=, see this web page:
+
+   https://camiel.bouchier.be/en/cb_thunderlink/installation?with_menu=1
+
+You need to install both the add-on and the OS integration.
+
+Once everything is installed, follow the steps below to make org
+compatible links in Thunderbird, and to teach org how to open these
+links.
+
+**** Copying links from Thunderbird
+In Thunderbird, open the =Options= page for the =cb_thunderlink= add-on
+and add a new link type named =org= in the =Configurable links= section.
+
+#+begin_example
+[[mid:$msgid$][$author_name$: $subject$ ($date_iso$)]]
+#+end_example
+
+To get an org link for a given email, open the contextual menu, click
+the =cb_thunderlink= entry and choose the entry named =org=. This
+copies, into the clipboard, a link to this email; you can then paste
+it in Emacs.
+
+
+**** Opening the emails from Emacs
+To teach org how to open these links, add the following lines in
+your configuration file, configuring the variable
+=cbthunderlink-app= to match your system.
+
+#+begin_src elisp
+(defvar cbthunderlink-app nil
+  "The full path where you've installed your cb_thunderlink application.")
+
+(defun cbthunderlink-open (message-id)
+  "Open the given email. MESSAGE-ID is the message id."
+  (start-process "cb_thunderlink" " *cb_thunderlink*"
+                 cbthunderlink-app
+                 (concat "thunderlink://messageid=" message-id)))
+(org-add-link-type "mid" 'org-email-open)
+#+end_src
+
+
 * Plain Lists
   :PROPERTIES:
   :CUSTOM_ID: Plain-Lists
-- 
2.39.1


  reply	other threads:[~2023-01-31 19:48 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
2023-01-28  8:30                   ` Bruno Barbier
2023-01-28  8:30                     ` Max Nikulin
2023-01-31 19:56                       ` Bruno Barbier [this message]
2023-02-01 16:18                         ` PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)) 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=63d9704e.5d0a0220.c3c8c.b45c@mx.google.com \
    --to=brubar.cs@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=manikulin@gmail.com \
    /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).