| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This doesn't include backlinks from nodes within the same file. I've
intentionally excluded these since they should be visible within the same file
anyway.
This is only for file nodes, doesn't include anything for headline nodes. If I
get to adding backlinks for headline nodes as well I should show backlinks from
headlines in the same file as well.
- ‘org-roam--get-backlinks’ has been removed and is now replaced by
‘org-roam-backlinks-get’. The new function returns a list of
‘org-roam-backlink’ objects, which is different from what was returned before.
- ‘org-roam-format-link’ has been removed. This was just a small wrapper around
‘org-link-make-string’. For now I've hard-coded the ‘file:’ link type since
it's easy, but in the future this should probably use the org id instead so
that it doesn't just go to the right file, but also the right heading. The
line number could also be added.
- In ‘nroam-backlinks--insert-backlink’ the ‘backlink’ argument is now an
‘org-roam-backlink’ object, not a string and a property list.
- ‘nroam--fix-links’ has been removed for now since generally in org-roam v2
everything uses ‘id:’ links that are completely independent of where their
source (or target) file are located.
|
|
|
|
|
|
|
|
|
| |
Adding a single backlinks heading changes the depth by 1 for most
everything. Some things wasn't updated in that pull request. This pull
request fixes some things missing.
* nroam-backlinks.el (nroam-backlinks--insert-backlink-subtree)
(nroam-backlinks--insert-subtree): Add one level of depth.
|
|
|
|
| |
* nroam-backlinks.el: Require org for `org-hide-drawer-toggle'.
|
|
|
|
| |
Fix a let(*).
|
| |
|
|
|
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks--insert-heading):
* nroam-unlinked.el (nroam-unlinked--insert-heading): Add the
:noexport: tag to prevent exporting nroam sections. See docstring of
`org-export-exclude-tags'.
|
|
|
|
|
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks-section):
* nroam-unlinked.el (nroam-unlinked-section):
* nroam.el (nroam-setup-maybe):
(nroam-update):
(nroam--org-roam-file-p):
(nroam--update-maybe): Fix docstrings according to `checkdoc'.
|
|
|
|
|
|
| |
* nroam-backlinks.el:
* nroam-unlinked.el:
* nroam-utils.el: Remove package headers.
|
| |
|
|
|
|
|
|
|
|
| |
backlink subtree
* nroam-backlinks.el (nroam-backlinks--insert-backlink-subtree): Use
the existance (or not) of an outline to infer the subtree level of the
content.
|
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks--hide-drawers): Use `let*’ as `elt’ is
used in other let forms.
|
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks--crawl-source): Set full-outline
to nil if point is before first heading using a built in org function.
|
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks--insert-backlink-breadcrumbs): Rename from
`nroam-backlinks--insert-backlink-outline’.
|
|
|
|
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks--insert-backlink): Refactor by extracting
new functions.
(nroam-backlinks--insert-backlink-subtree):
(nroam-backlinks--insert-backlink-content):
(nroam-backlinks--insert-backlink-outline): New functions.
|
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks--crawl-source): Do not attempt to get the
full outline when outline is nil, as `org-get-outline-path’ will throw.
|
|
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks--insert-backlink)
(nroam-backlinks--crawl-source): Make sure the outline hierarchy
is included in the backlinks section.
|
|
* nroam-backlinks.el:
* nroam-utils.el: New files.
|