From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YNPXAzugg2CrbAAAgWs5BA (envelope-from ) for ; Sat, 24 Apr 2021 06:36:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4DoTOzqgg2AyXQAA1q6Kng (envelope-from ) for ; Sat, 24 Apr 2021 04:36:10 +0000 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 74F681BF27 for ; Sat, 24 Apr 2021 06:36:10 +0200 (CEST) Received: from localhost ([::1]:47942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laA1Z-0002xg-Df for larch@yhetil.org; Sat, 24 Apr 2021 00:36:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laA1B-0002xK-5R for emacs-orgmode@gnu.org; Sat, 24 Apr 2021 00:35:45 -0400 Received: from out1.migadu.com ([91.121.223.63]:52290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laA17-0005Hm-Mj for emacs-orgmode@gnu.org; Sat, 24 Apr 2021 00:35:44 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1619238938; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZYHkc7mxKAfnRcLMLzcy1rgQvxjWSJlC6htph2tir/c=; b=I6FJ2q2cqoEGqGaxnxEM7DX9XzwZtY5Jzkq41oEwSLp0mOpgTEbgdh+9/U93aYGsLu+dRl x8smumybTiq4FtfFUyZ9X7QbXdItINo5uoPt4zmSa7BKlpZZ/xHIoJzfOvcWRSmg1Wwwpx bmq6hIy4Jy7O6BcWxqrOkl4iUxlFJz5mVuR7Ea6cRAwSsRjtj0rY/I34EAybv/YAVl4OvB 8wGP79tfh3AZpK1yYyh5wbSCUjcOmYfDSspY853m6o0HH9tB5HSzOhqo5YikRyiRIvIaT9 xrx721LfDUmn771DCkDonPsj4UDbRJ37av7exm4t8cWGQNAi35jbxr8jukiL0Q== From: Kyle Meyer To: Seb Subject: Re: unable to resolve link to Gnus email In-Reply-To: <87tunwkfrr.fsf@phoca.sebkatja.org> References: <87tunwkfrr.fsf@phoca.sebkatja.org> Date: Sat, 24 Apr 2021 00:35:36 -0400 Message-ID: <87eef0guzr.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=91.121.223.63; envelope-from=kyle@kyleam.com; helo=out1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619238970; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ZYHkc7mxKAfnRcLMLzcy1rgQvxjWSJlC6htph2tir/c=; b=M6vbZEJ+GQfoMwlGwwyhLuRa3/0f2UVQr8TyZAW5oS5f4EqNCLdHQVVmcnf+cqGuxRcwYD 94PPfMHTmdTQIffYF5XDqpcySNst8Jo+xBhdrT0XdfuFr8kVAB6MYqdepglg4q96FtM/zM evEbi+yIMs3TC5gE1GhJdc0fEvgH5IW+xE1N/yWpgfxuysxpnBR/ygk/cZYwx1TsItb4ZH msbVJhoBTd+07bunzPrW/O/SDytXwAWB3CGyxY7M3ARImTZ8chrs+LTAcSSCK/DulVl2qP LDAeIo43Vyhr2rfQ032STlrt0k2W00Irk/edUhrWaBe/BHDeJ3zTDEtHyUe2ag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619238970; a=rsa-sha256; cv=none; b=GJkP/4S5OCLXeERU/pg3mJLW5kGNcX+c2Nf2yLYV+jWaRos8xSsGyp2+qMExI9bqz07tju UxKYeHwJxotBSboxZfCNCsTkrlVr9qMAsVHNqvOPp+zuXSkSq3GT1gX/AwfV9XbjIBYtXo Xv2aCsBvSdn+43eqtuN5dqDuXwQtsXGcenouEmYH13uynBDvmP6OVuYKtnseErN8t3BqRc td7ZzIKMnhSkc9wWDlljgy69VRskeqTsU5KrGoBZSzMP41WKPuDwwPzNrqs91mZdaiaGKm +6QQrQ+m5x3jDFVuNfMMyWQW2ZWfkqpcM28dPnm1yl/penwzYMmjSNVd0qXNBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=I6FJ2q2c; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=I6FJ2q2c; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 74F681BF27 X-Spam-Score: -2.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: gkidmcE1pKKu Seb writes: > Hello, > > Attempting to export with any exporter fails if document or a subtree > thereof contains an email link, e.g. captured from a Gnus buffer: > > [[gnus:GroupName#EMAIL_ID][Email from John Doe]] > > I get the error: > > user-error: Unable to resolve link: "gnus:Melanie#ef90b1cff5264135a82bff491006b8d6@CAWNSMBME105.ME.MBGOV.CA" Do you have ol-gnus loaded? [*] It doesn't define an :export function, but it's still important so that the link is recognized as a gnus link. Otherwise org-export-resolve-fuzzy-link will handle it, signaling org-link-broken. Using your example [[gnus:Melanie#ef90b1cff5264135a82bff491006b8d6@CAWNSMBME105.ME.MBGOV.CA][Email from John Doe]] here's what I see on my end (e641d3736) with no custom configuration. Without ol-gnus loaded: * (org-element-property :type (org-element-context)) ; "fuzzy" * export fails with "Unable to resolve link" With ol-gnus loaded: * (org-element-property :type (org-element-context)) ; "gnus" * export succeeds [*] If you're not tweaking org-modules, it should be loaded by default.