| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
nroam-backlinks.el: Add more context to backlinks
|
|/
|
|
|
|
| |
* nroam-backlinks.el (nroam-backlinks--insert-backlink)
(nroam-backlinks--crawl-source): Make sure the outline hierarchy
is included in the backlinks section.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* nroam-unlinked.el: New file.
* nroam.el: Setup unlinked references section.
|
|
|
|
|
| |
* nroam-backlinks.el:
* nroam-utils.el: New files.
|
|
|
|
|
|
|
|
| |
file exists.
* nroam.el (nroam-mode): Conditionally insert sections when turning enabling
`nroam-mode'.
(nroam--maybe-insert-immediately): New function.
|
|
|
|
| |
`nroam--set-sections-visibility'.
|
| |
|
|
|
|
| |
point-max.
|
|
|
|
| |
* nroam.el (nroam--insert-source-content): Inline into `nroam--insert-backlink'.
|
| |
|
| |
|
| |
|
|
|
|
| |
* nroam.el (nroam--insert-source-content): Rename let vars for clarity.
|
|
|
|
|
| |
* nroam.el (nroam--insert): When the buffer is empty, do not insert a newline at
it would be inserted at the beginning of the buffer.
|
|
|
|
|
|
|
|
| |
* nroam.el (nroam--do-separated-by-newlines): New function.
(nroam-backlinks-section):
(nroam--insert):
(nroam--insert-backlink-group): Call `nroam--do-separated-by-newlines' to ensure
one empty line is inserted between headings.
|