* unable to resolve link to Gnus email
@ 2021-04-23 18:38 Seb
2021-04-24 4:35 ` Kyle Meyer
0 siblings, 1 reply; 2+ messages in thread
From: Seb @ 2021-04-23 18:38 UTC (permalink / raw)
To: emacs-orgmode
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"
Org: 9.4.5
Emacs: 27.1
Any tips welcome
--
Seb
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: unable to resolve link to Gnus email
2021-04-23 18:38 unable to resolve link to Gnus email Seb
@ 2021-04-24 4:35 ` Kyle Meyer
0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2021-04-24 4:35 UTC (permalink / raw)
To: Seb; +Cc: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-24 4:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-23 18:38 unable to resolve link to Gnus email Seb
2021-04-24 4:35 ` Kyle Meyer
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).