Inform user when potential backlinks absent due to no "source ID"
enhancement
Spin-off of https://github.com/meedstrom/org-node/issues/122
> What I think would be better, though, is this: can you detect when a node has a link going to it, but the source of that link doesn't have an ID? if so, just make the error message in the backlink buffer "source_node_Y has no ID: please fix this!"
Shouldn't be a full-blown error tho. Just a short blurb at the top or bottom of the buffer, maybe the header line.
### Stretch goal
Stretch goal is to actually display the backlinks anyway.
It is possible since objects of type `org-mem-link` always have a `org-mem-link-file` and `org-mem-link-pos`. With those, you can get the source entry with `org-mem-entry-at-pos-in-file`.
0 条评论