| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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.
|
|\
| |
| | |
nroam-backlinks.el: Fix edge case (again)
|
|/
|
|
|
| |
* 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.
|