emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Understand the source of "Unable to resolve link"
@ 2018-02-04 15:58 Kaushal Modi
  2018-02-04 16:19 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Kaushal Modi @ 2018-02-04 15:58 UTC (permalink / raw)
  To: emacs-org list

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

Hello,

A user needs to support having gopher links in Org document:

 [[gopher://some.gopher.site][Dummy gopher link]]

But the export fails saying that it's unable to resolve the link.

The behavior can be easily recreated by exporting a document containing
that dummy link using C-c C-e h H.

I added "gopher" to the org-html-link function, but that obviously didn't
help.

I traced the error to org-export-data in ox.el, but I cannot edebug that
function; I get:

    edebug-syntax-error: Invalid read syntax: "Failed matching", (&rest
(&define name (&rest arg) cl-declarations-or-string def-body))

(I'll open an emacs bug for that.)

So what needs to be fixed in ox.el (or elsewhere?) so that gopher: protocol
links are allowed?

Thanks.
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1082 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-04 20:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-04 15:58 Understand the source of "Unable to resolve link" Kaushal Modi
2018-02-04 16:19 ` Nicolas Goaziou
2018-02-04 16:23   ` Kaushal Modi
2018-02-04 16:31     ` Nicolas Goaziou
2018-02-04 20:42       ` Kaushal Modi

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).