From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eA9tGolw2WPOZQEAbAwnHQ (envelope-from ) for ; Tue, 31 Jan 2023 20:48:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gMxwGolw2WM82wAA9RJhRA (envelope-from ) for ; Tue, 31 Jan 2023 20:48:25 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F095F9B31 for ; Tue, 31 Jan 2023 20:48:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMwbP-0006hL-Fh; Tue, 31 Jan 2023 14:47:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMwbO-0006gG-9h for emacs-orgmode@gnu.org; Tue, 31 Jan 2023 14:47:34 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMwbJ-0005B4-NW for emacs-orgmode@gnu.org; Tue, 31 Jan 2023 14:47:31 -0500 Received: by mail-wr1-x42c.google.com with SMTP id t7so6919043wrp.5 for ; Tue, 31 Jan 2023 11:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :from:to:cc:subject:date:message-id:reply-to; bh=n++0CppMP84VpnDHZNcr4NVJZOrIlYoxsbrtvmrEkNg=; b=cisUhOITOqG4Ma5jIfnzzlkY2KNMuxTdFsYze0sQ2ajZtmpcRJRaEiRtRXgZHP2foJ +e4/eolZIRSXz8Bpy8RCgRfJ44iOYokCkAp2CoeV0PIG2rfGCgvvQcZuRK543M5EELgq buBLX8R8tqRdxtFAKzM7uC17OhiHejPiz5rVCGMqckOElyKu+FWLTMvdl0vRekRwqcmd OmsApFzzitHv7HNxgk7VyInubw4aacT1jYHeHLCNgIeT1DRqsnRTMPuqa4HABeUW7A6m vQAOjwkQPIKBEsw7ogGDRAZ9UZkf2xaSRW2ujTBk7k+wfZOUbjTOCSlMZf9oHf2dyvcC aneg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=n++0CppMP84VpnDHZNcr4NVJZOrIlYoxsbrtvmrEkNg=; b=lFB3TxQav+GTxF6JWoSTE4CyxhAm2Jw33mnf0S+LY2ECjlJ4oRKCe+OYQxEajuIkiP 8uuwkqtpUPRTc7CBG+IHRFfPAgl6KNIZpy3q+zftENNw1/BNcsTf39yuFd8NWzscD58Q +phrM+fsobL9uve+2kR3Hj+0zQrD1JhbuTV5DW3buX6Aj76JUMyoY5xBQ2yKGPz5+vW3 LWCoTRS0aUaihO6+hnefwKIcLwUMwO74Whw3eybcMzPuAB1xS7JEXayNXryZxqhlJzug OT+170JcnaA0dZFfVCYjcxRdlVa+a53Z+JaJ7GG7uhcrWX7r02J3SVmKSt6ymF75TyHJ QXUQ== X-Gm-Message-State: AO0yUKV4taJE3FbU0r3jQvTobrRB6aRdKrF3cXzowYaBvBgq6DYURvAo bHYlf8+zkT3/w4qmWYh8y74= X-Google-Smtp-Source: AK7set/FvpGCJYqJYfGGAUUPXvAXZPycq6TdG9Cx2pTqMjI0rXyWKjYJGqqVcWHW8c3zKZ+8FHxlAQ== X-Received: by 2002:a5d:5951:0:b0:2bf:ae17:bf58 with SMTP id e17-20020a5d5951000000b002bfae17bf58mr4174352wri.37.1675194446960; Tue, 31 Jan 2023 11:47:26 -0800 (PST) Received: from tosh-laptop ([2a01:e0a:505:3460:1a16:a0c4:3f89:c0d9]) by smtp.gmail.com with ESMTPSA id f21-20020a5d58f5000000b00236883f2f5csm15608332wrd.94.2023.01.31.11.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 11:47:26 -0800 (PST) Message-ID: <63d9704e.5d0a0220.c3c8c.b45c@mx.google.com> Received: by tosh-laptop (sSMTP sendmail emulation); Tue, 31 Jan 2023 20:56:15 +0100 From: Bruno Barbier To: Max Nikulin , emacs-orgmode@gnu.org Subject: PATCH for worg about cb_thunderlink (Re: Link from orgmode file to E-Mail (using kmail or notmuch)) In-Reply-To: <69e4caf6-716d-373d-efb6-3d153f4a1253@gmail.com> References: <3218434.44csPzL39Z@linux.fritz.box> <21750362.EfDdHjke4D@linux.fritz.box> <939b62c1-34ee-051e-405a-328b841d3d16@gmail.com> <1888293.taCxCBeP46@localhost.localdomain> <63d01412.050a0220.9611.9c4d@mx.google.com> <2d36ea04-4ad9-fcda-a09b-0f9600987ff9@gmail.com> <63d4db30.050a0220.3be9c.a1dc@mx.google.com> <69e4caf6-716d-373d-efb6-3d153f4a1253@gmail.com> Date: Tue, 31 Jan 2023 20:56:14 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=brubar.cs@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675194505; a=rsa-sha256; cv=none; b=NKPxPhcn9cdt5GsrpRW37Bfopnn3hPaXJP9amBZ3ALeU2wE6gNsJQpcH4uAJ3LpfC2R6j/ olMasDe6+etAxvgb7kBqlb11zFv83t3axeITXQMsz9U4tF7xdfq1M4145uaHVft1lr/sr0 JwV1shvGJLijcIEVSM36tcNdfqeBW32gfhLDur1hLLMsRJUIhAxDeeXnnUq3R044UaPG0z viUudiOIZ+E/IA1lpKg/m//C1VH8VGpIKm1Q2zUwG1WO66HCc0aX+88Hg8sLTzz4yP9hOX y/8+zz7YaUivQ4vKLTeZcQiiDv5uBNiL195x0uSprK7f9fJ2t/7n4nL3cSm6Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cisUhOIT; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675194505; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=n++0CppMP84VpnDHZNcr4NVJZOrIlYoxsbrtvmrEkNg=; b=Rjce91mpyASTd2PQmxkcofxcJ0JDO/H/q+58PdXZhsBMYaupMv+wB49dLaa5zHCyRUx9cm KZre3PjZPGcNLy1htx2CBr9g1Ro5Me96qdRa7Lt8j8Gg2YIMwwdz/J+Z8V0h6SafoukJjX IfDq3saW1E4JpmyvI5KCuAmKaJ5i5g1ejF2VYm3FbwYMqyOlvkEdV8FC72i6z9mmiVIDX0 Misl36HeeaGGx/HrCSWLYdiP+7/tdNb6Mcx8twtU4Il7+SZxUvbJ8oY+8dNKS2KUS+rLhe WZa0wIRSUZ4+TPtYeIUQLN+PgqGtdrFymqQ+6B4hOAUJO/Np2kdiTdd90hG3EQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cisUhOIT; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.77 X-Spam-Score: -4.77 X-Migadu-Queue-Id: F095F9B31 X-TUID: 3Qutc2PXeMaA --=-=-= Content-Type: text/plain Max Nikulin 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 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-org-faq-links-with-thunderbird-Add-cb_thunderlink.patch Content-Description: Add info about cb_thunderlink >From 4beb7ee307544be868a0d058763aa61558f0701b Mon Sep 17 00:00:00 2001 From: Bruno BARBIER 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 --=-=-=--