From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +BKLKAiY4mPrKgAAbAwnHQ (envelope-from ) for ; Tue, 07 Feb 2023 19:27:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YFZ2KAiY4mNh3QAAauVa8A (envelope-from ) for ; Tue, 07 Feb 2023 19:27:20 +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 4AB65B0C1 for ; Tue, 7 Feb 2023 19:27:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPSfx-0003BZ-5G; Tue, 07 Feb 2023 13:26:41 -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 1pPSfv-0003Ar-Dz for emacs-orgmode@gnu.org; Tue, 07 Feb 2023 13:26:39 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPSft-0005Cq-C1 for emacs-orgmode@gnu.org; Tue, 07 Feb 2023 13:26:39 -0500 Received: by mail-wm1-x332.google.com with SMTP id o36so11689954wms.1 for ; Tue, 07 Feb 2023 10:26:36 -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=YhfO7z9vQXp1Q4WrMg9RDZPyr6mwC3RPjLti+JvtNOA=; b=qmbliTvjSNmuZED9XKB5+hMq496EvDCjYVAYkS93xUw+5gJn54cka7cHKm+AwVoirx DARhJxZqJr4dJ1n5xkb+RyVp64TWVVhNp83j00upWQXCwCGki/YatM3B2crt72UCdUEw mShhkV3cC4CDRAa64rbkKJy+G4HMJTUmaCicxwsGQeoXk1clnXhzP19smbIlznh2y/ii nvZemQhtg/0ipLnpTzHhquum8E1GzV5aGwcH5mmCdmAkIdGTsdTwSRcy2LvL+Vbi13cM 7TsO4r626kPlrPyWCwThRGxVVnfQ6iliTepZuydFCuEcNUomzY/OmsoG2PuJp247fGVA cX3g== 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=YhfO7z9vQXp1Q4WrMg9RDZPyr6mwC3RPjLti+JvtNOA=; b=zTR5fCaYddxa4pDLuo9bZuv9JQHO1PfHi8AUn+OzDIvJrplR6gAnBs6G4b2w81ABfd XFWe0gybdjo856pgc1utnhVs170uVLdODAkUGvqj83ncdibpCL9RYkXhdsxXEcpahIzs ZsLNBbYgIUtVVSPW9xGMZKuHN+1Cvz+D5zo54ueGgO52dx0RbCGulh2SfPNN9MjyDeiJ eFg/DOKDhBjygXj4o3/WCgiercoMCZIlPR2wm56Lu8vEAaaGOXUbB596NF9Ok66irEZq jbKV4W8KBx3tOBEe4G1kImJTdDs5lfmC3by58L0oVtXP4qDygdkIPVzBJgo/n3sr6wwq 7lzg== X-Gm-Message-State: AO0yUKVpCvSVUoVq/XEwQuu15FjoGDE8deaZBoZO6gT9ZrBJ0HKmPzcJ fmp9zHa5nQj0uSgfyDQva7Q= X-Google-Smtp-Source: AK7set90bXcnhCu1OY9OjhFhxyBFUTXpFuZxlcEvA2MleBfma7xxqqYYFLWGnD5PiEqWvOJa+aAhQw== X-Received: by 2002:a05:600c:44c9:b0:3df:f9e9:7600 with SMTP id f9-20020a05600c44c900b003dff9e97600mr3979478wmo.25.1675794394906; Tue, 07 Feb 2023 10:26:34 -0800 (PST) Received: from keynux ([2a01:e0a:505:3460:169:7511:f49a:58eb]) by smtp.gmail.com with ESMTPSA id l4-20020a05600c16c400b003df245cd853sm14017812wmn.44.2023.02.07.10.26.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 10:26:34 -0800 (PST) Message-ID: <63e297da.050a0220.a3698.2545@mx.google.com> Received: by keynux (sSMTP sendmail emulation); Tue, 07 Feb 2023 19:26:32 +0100 From: Bruno Barbier To: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: [PATCH] worg/org-faq.org: Recommend cb_thunderlink Thunderbird add-on In-Reply-To: <2e607236-c8db-7cc2-c21c-94849b2527ff@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> <63d9704e.5d0a0220.c3c8c.b45c@mx.google.com> <9011bf51-074e-6d3d-5e29-c0488f2c6c14@gmail.com> <63daaa6a.1c0a0220.16ec9.65c2@mx.google.com> <63dbfb46.5d0a0220.5c1cb.0653@mx.google.com> <78548f63-a535-b46d-5c97-6ae1320a8390@gmail.com> <63dd2b57.050a0220.ed66f.0117@mx.google.com> <63e0e89c.1c0a0220.a783d.12a7@mx.google.com> <2e607236-c8db-7cc2-c21c-94849b2527ff@gmail.com> Date: Tue, 07 Feb 2023 19:26:32 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=brubar.cs@gmail.com; helo=mail-wm1-x332.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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qmbliTvj; 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-Seal: i=1; s=key1; d=yhetil.org; t=1675794440; a=rsa-sha256; cv=none; b=VMAZHB9ulTxeh+WHwDZupamJd80LJlO17jNry6nzlrTDg506el0MR4jOCLTloIKFq0oJmJ 8bT3RB9nzA9uQQ/EJwAEsK+1fnxp8vCe7xsjdtnhrzobooUEwLIhqxwPbPwv1fGgFqAG/K uCihMaQgGk1m0aCbQKz4RBExWdBg86HtEThm4Ku2MaPDvzPye6a/d0SXF3gNdkgnyU/D5x PJXx+TeX1ykusJIs3lP01qOxkQKYc4Q1Y8sGxHv+FnEqDctZLQa28yWi5ZNn5TnolpWu9G qZHezzjUv6jUE4DWf+3UjX/eUh+NRW3UXpR6G6EJn6oOqj728oqjB21GadGk7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675794440; 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=YhfO7z9vQXp1Q4WrMg9RDZPyr6mwC3RPjLti+JvtNOA=; b=kKrh064ffbJfZN/6F/evfFWi9cGThQpZrK6oewd+oH/k4StZxB+lcQo8ns5oZ3LH72RQKK kXVmPodI11ePqdTMrk0vtHrsaaxEwqrJQuyQ5cEc3n7uofWqI5THfDws3lN7KH/+ZrtNmE j3pCaVNhSZeTWalUVfBmtE5RgF300kneOlUE1zQg/NIlWsD9zI8lc6sjICkgHb4uQlTijn FvE1g7OgtibD8JmVj3JgSOgF+5GzYAdcgNuw99yFMi/D8TR9Z3nQrcO2Y7orOOrAE8XGjn 5SgccYLxObfaphRZjyhoDI0mG3ss858iLXeJVI+mwb/AJA2pVsQx5HC+3d8Pdg== X-Migadu-Queue-Id: 4AB65B0C1 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qmbliTvj; 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-Spam-Score: -6.29 X-Spam-Score: -6.29 X-TUID: L9lS/GUmtpp8 Hi Max, Max Nikulin writes: > A have prepared an alternative patch. Let me know if have suggestions, > objections, or if you prefer to proceed with another revision of your > patch. Looks good to me. > It seems you had no plan to polish your Org and system configuration to > such degree. Not that one, that I'm using only when forced to use win32! (else, I'm a very happy user of notmuch) Thanks Max! Bruno > From a1b3a81bbc11fd2f55096cc2e29f97797b80b915 Mon Sep 17 00:00:00 2001 > From: Max Nikulin > Date: Tue, 7 Feb 2023 21:49:06 +0700 > Subject: [PATCH] org-faq.org: Recommend cb_thunderlink Thunderbird add-on > > * org-faq.org (Thunderbird emails): Add CUSTOM_ID property to have > stable anchor during HTML export. Recommend cb_thunderlink extension as a > means to generate mid: links and to handle existing thunderlink: ones. > Add a note that on Windows Thunderbird should register itself as a > handler of the mid: protocol. > > Thanks to Bruno Barbier for discussion on the emacs-orgmode > mailing list. > --- > org-faq.org | 37 +++++++++++++++++++++++++++++-------- > 1 file changed, 29 insertions(+), 8 deletions(-) > > diff --git a/org-faq.org b/org-faq.org > index 0410d368..a7db75c1 100644 > --- a/org-faq.org > +++ b/org-faq.org > @@ -1999,13 +1999,16 @@ ** Can I use CamelCase links? > consult the [[https://orgmode.org/worg/org-contrib/org-wikinodes.html][documentation]]. > > ** Can I create links to Thunderbirds emails? > +:PROPERTIES: > +:CUSTOM_ID: mid-url-handler > +:END: > > Thunderbird-91 and later versions support =mid:= URI scheme proposed > -many years ago, see > -[[https://www.rfc-editor.org/rfc/rfc2392.html][RFC 2392 - Content-ID and Message-ID Uniform Resource Locators]] > -for details. To create a link you need to copy the value of the > -Message-ID header, it should be possible with some add-on. As the > -last resort you may obtain the identifier by opening message source > +many years ago in > +[[https://www.rfc-editor.org/rfc/rfc2392.html][RFC 2392 - Content-ID and Message-ID Uniform Resource Locators]]. > +To create a link you need to copy the value of the Message-ID header. > +It requires installing some add-on, see =cb_thunderlink= example below. > +As the last resort you may obtain the identifier by opening message source > (=Ctrl+U=). Message-ID resembles email address but has a unique > string in the local (user) part. Remove angle brackets and prepend > the inner part with =mid:= to create a link. A command to open the > @@ -2034,6 +2037,10 @@ ** Can I create links to Thunderbirds emails? > [Default Applications] > x-scheme-handler/mid=thunderbird.desktop; > #+END_EXAMPLE > +On Windows ensure that Thunderbird is installed as default handler > +for URI protocols related to mail. This approach allows to have > +uniform handler withing Emacs, including > +[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Goto-Address-mode.html][~goto-address-mode~]]. > > Instead of calling ~browse-url~ and setting up the scheme handler > you may launch thunderbird directly. It is a bit tricky in Emacs, > @@ -2044,12 +2051,26 @@ ** Can I create links to Thunderbirds emails? > the link: > : thunderbird -mail 'imap-message://USER_NAME%40gmail.com@imap.googlemail.com/INBOX?messageId=ka42mn$mn9$1@ger.gmane.org' > > +There is > +[[https://addons.thunderbird.net/thunderbird/addon/cb_thunderlink/][=cb_thunderlink= Thunderbird add-on]] > +that allows to generate links accordingly to configurable template, e.g. > +: [[mid:$msgid$][$author_name$: $subject$ ($date_iso$)]] > +See the > +[[https://list.orgmode.org/63d01412.050a0220.9611.9c4d@mx.google.com/][discussion]] > +on the emacs-orgmode mailing list. > +Additionally the extension may open messages using =thunderlink:= > +and =cbthunderlink:= protocols however it requires installing > +of a helper application. These URI schemes may be registered in Org > +just as it is suggested for =mid:= links above. > + > The ThunderLink add-on recommended earlier did not work since > -transition of Thunderbird from XUL add-ons to WebExtensions, > +transition of Thunderbird-78 from XUL add-ons to WebExtensions, > so the following recipe is obsolete: > [[http://list.orgmode.org/ka42mn$mn9$1@ger.gmane.org][from Christoph Herzog: Re: Linking to Thunderbird (correction)]]. > -Notice that this link uses Message-ID to reference a particular > -message as well. > +To open earlier created =thunderlink:= links either > +install =cb_thunderlink= add-on or add to ~browse-url-handlers~ alist > +a function that extracts Message-ID and passes it to =mid:= protocol > +handler. > > * Plain Lists > :PROPERTIES: > -- > 2.25.1