| 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.
|
| |
|
|\
| |
| |
| |
| | |
NicolasPetton/nroam--sections-private
* nroam.el (nroam--sections): Redefine as a private var.
|
| | |
|
|\ \
| | |
| | | |
Add nroam-goto
|
| | |
| | |
| | |
| | |
| | | |
* nroam.el (nroam-goto): New function.
* tests/nroam-test.el: New test for the function.
|
| | |
| | |
| | |
| | | |
* tests/nroam-test.el (nroam-test-main-section-regexp): New constant.
|
|/ / |
|
|\ \
| |/
|/|
| |
| | |
NicolasPetton/github-actions-badge
* readme.org: Add a GitHub actions badge
|
|/ |
|
|\
| |
| | |
* .github/workflows/test.yml: Run tests for Emacs >= 26.1
|
| | |
|
|/ |
|
|\
| |
| | |
Replace the minor mode keymap with a local keymap on nroam sections
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
nroam sections
Instead of installing a keymap that overrides orgmode commands, use a sparse
keymap only on nroam sections.
* nroam.el (nroam-sections-map): New keymap for nroam sections.
(with-nroam-markers): Put the new keymap in an overlay on nroam sections.
(nroam-ctrl-c-ctrl-c): Remove unused function.
(nroam-return):
(nroam-update): Do not fallback to org commands anymore.
|
|\
| |
| |
| |
| | |
NicolasPetton/add-buttercup-tests
* tests/nroam-test.el: new file. Add initial buttercup tests.
|
|/
|
|
|
|
|
| |
* tests/nroam-test.el: new file. Add initial buttercup test and
supporting macro.
* Makefile: Add buttercup and its dependencies to the list of
dependencies.
|
|\
| |
| | |
Makefile: Use melpa to fix build
|
| | |
|
|/ |
|
|\
| |
| | |
Facilitate building and checking
|
|/
|
|
|
|
| |
* .github/workflows/test.yml: new file. Make GitHub Actions check each PR.
* Makefile: new file. Use makel to simplify checking of the project quality.
* .gitignore: new file.
|
|
|
|
|
|
|
|
|
|
|
| |
Now that nroam inserts a non read-only \n after the sections so that text can be
inserted after nroam sections at the end of the buffer, remove the extra
read-only \n so that org-capture can insert templates.
* nroam.el (nroam--handle-org-capture): Remove function and advice.
* nroam-unlinked.el (nroam-unlinked--insert-toggle-button): Do not insert a
read-only newline as it prevents org-capture from inserting the template as it
tries to delete empty lines at the end of the buffer.
|
|
|
|
| |
`org-hide-drawer-toggle'.
|
|\
| |
| | |
nroam-backlinks.el: Update levels due to pull request #14
|
|/
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
docstring.
|
|
|
|
| |
* nroam-backlinks.el: Require org for `org-hide-drawer-toggle'.
|
|
|
|
| |
Fix a let(*).
|
|\
| |
| | |
Organize backlinks under single heading
|
| | |
|
|/ |
|
|
|
|
|
| |
* nroam.el (with-nroam-markers): Add an extra \n char in read-write so that text
can be inserted at the end of the buffer.
|
|
|
|
| |
docstring.
|
|\
| |
| |
| |
| | |
DamienCassou/dont-export-sections
Remove nroam sections from export
|
| |
| |
| |
| |
| |
| |
| | |
* 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'.
|
|/
|
|
| |
Document installation with straight.el.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| | |
nroam.el: Fix nroam mode-line lighter
|
|/
|
|
| |
* nroam.el (nroam-mode): Ligher needs an empty space as first character.
|
|\
| |
| | |
Improve readme
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
nroam-backlinks.el: Add logic for heading level for backlink subtree
|
|/
|
|
|
|
|
|
| |
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.
|