Skip to main content

Module open

Module open 

Source
Expand description

Q3 — the open command: report the linked doc’s browser URL for elisp to browse-url.

A pure, read-only lookup over the file’s tool-owned header keywords (DI-3): it reads #+GDOC_ID: (required) and #+GDOC_URL: (deriving the canonical edit URL from the id when the keyword is absent), and never touches the body or the network. A file with no linked doc surfaces the typed Error::NotLinked rather than panicking (EI-1/EI-2).

Structs§

OpenOutcome
The linked document a file points at.

Functions§

envelope
Build the success envelope for an open lookup (A5).
open
Resolve the linked document URL from content’s header keywords.