summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Fix function nameHEADoniGravatar Tom Willemse2024-06-121-1/+1
|
* Merge branch 'org-roam-v2' into oniGravatar Tom Willemse2024-06-082-16/+18
|\
| * Fix syntax errororg-roam-v2Gravatar Tom Willemse2024-06-081-1/+1
| |
| * Update showing backlinks to work for Org Roam v2Gravatar Tom Willemse2024-05-272-16/+18
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update the readme.masterGravatar Nicolas Petton2021-10-181-0/+4
|
* Merge pull request #28 from ↵Gravatar Nicolas Petton2021-03-251-8/+6
|\ | | | | | | | | NicolasPetton/nroam--sections-private * nroam.el (nroam--sections): Redefine as a private var.
| * * nroam.el (nroam--sections): Redefine as a private var.Gravatar Nicolas Petton2021-03-251-8/+6
| |
* | Merge pull request #24 from NicolasPetton/add-goto-sectionGravatar Nicolas Petton2021-03-192-3/+19
|\ \ | | | | | | Add nroam-goto
| * | Add nroam-gotoGravatar Damien Cassou2021-03-192-1/+15
| | | | | | | | | | | | | | | * nroam.el (nroam-goto): New function. * tests/nroam-test.el: New test for the function.
| * | nroam-test.el: Extract constantGravatar Damien Cassou2021-03-191-1/+3
| | | | | | | | | | | | * tests/nroam-test.el (nroam-test-main-section-regexp): New constant.
| * | * tests/nroam-test.el: Fix typo.Gravatar Damien Cassou2021-03-191-1/+1
|/ /
* | Merge pull request #22 from ↵Gravatar Nicolas Petton2021-03-181-1/+1
|\ \ | |/ |/| | | | | NicolasPetton/github-actions-badge * readme.org: Add a GitHub actions badge
| * * readme.org: Add a GitHub actions badgeGravatar Nicolas Petton2021-03-181-1/+1
|/
* Merge pull request #23 from NicolasPetton/ci-test-matrixGravatar Nicolas Petton2021-03-182-1/+4
|\ | | | | * .github/workflows/test.yml: Run tests for Emacs >= 26.1
| * * Makefile: Add gnu elpa archive for let-alist in Emacs 26.xGravatar Nicolas Petton2021-03-181-1/+1
| |
| * * .github/workflows/test.yml: Run tests for Emacs >= 26.1Gravatar Nicolas Petton2021-03-181-0/+3
|/
* Merge pull request #21 from NicolasPetton/local-keymapGravatar Nicolas Petton2021-03-171-34/+19
|\ | | | | Replace the minor mode keymap with a local keymap on nroam sections
| * Replace the minor mode keymap with a local keymap on ↵Gravatar Nicolas Petton2021-03-171-34/+19
|/ | | | | | | | | | | | | 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.
* Merge pull request #18 from ↵Gravatar Nicolas Petton2021-03-162-1/+56
|\ | | | | | | | | NicolasPetton/add-buttercup-tests * tests/nroam-test.el: new file. Add initial buttercup tests.
| * Add initial buttercup testGravatar Damien Cassou2021-03-162-1/+56
|/ | | | | | | * tests/nroam-test.el: new file. Add initial buttercup test and supporting macro. * Makefile: Add buttercup and its dependencies to the list of dependencies.
* Merge pull request #17 from NicolasPetton/fix-buildGravatar Nicolas Petton2021-03-162-2/+7
|\ | | | | Makefile: Use melpa to fix build
| * * Makefile: Fix dependenciesGravatar Damien Cassou2021-03-161-2/+6
| |
| * * .github/workflows/test.yml (jobs): Show Emacs versionGravatar Damien Cassou2021-03-161-0/+1
|/
* Merge pull request #16 from DamienCassou/add-makefileGravatar Nicolas Petton2021-03-163-0/+51
|\ | | | | Facilitate building and checking
| * Facilitate building and checkingGravatar Damien Cassou2021-03-163-0/+51
|/ | | | | | * .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.
* Remove advice before before org-capture-place templateGravatar Nicolas Petton2021-03-162-14/+1
| | | | | | | | | | | 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.
* * nroam.el: Bump dependency of org to 9.4.4 for ↵Gravatar Nicolas Petton2021-03-161-1/+1
| | | | `org-hide-drawer-toggle'.
* Merge pull request #15 from Whil-/masterGravatar Nicolas Petton2021-03-151-3/+3
|\ | | | | nroam-backlinks.el: Update levels due to pull request #14
| * nroam-backlinks.el: Update levels due to pull request #14Gravatar Gustav Wikström2021-03-151-3/+3
|/ | | | | | | | | 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-utils.el (nroam--insert-heading): Copyedit ↵Gravatar Nicolas Petton2021-03-151-1/+1
| | | | docstring.
* Fix a byte-compiler warningGravatar Nicolas Petton2021-03-151-0/+1
| | | | * nroam-backlinks.el: Require org for `org-hide-drawer-toggle'.
* * nroam-backlinks.el (nroam-backlinks--insert-group): ↵Gravatar Nicolas Petton2021-03-151-5/+5
| | | | Fix a let(*).
* Merge pull request #14 from cdlm/single-headingGravatar Nicolas Petton2021-03-154-10/+22
|\ | | | | Organize backlinks under single heading
| * Improve comment of nroam--insert-headingGravatar Damien Pollet2021-03-141-1/+2
| |
| * Organize backlinks under single headingGravatar Damien Pollet2021-03-144-10/+21
|/
* Fix #13 #10Gravatar Nicolas Petton2021-03-131-0/+4
| | | | | * 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.
* * nroam-utils.el (nroam--ensure-empty-line): Copyedit ↵Gravatar Nicolas Petton2021-03-131-1/+1
| | | | docstring.
* Merge pull request #12 from ↵Gravatar Nicolas Petton2021-03-122-2/+2
|\ | | | | | | | | DamienCassou/dont-export-sections Remove nroam sections from export
| * Remove nroam sections from exportGravatar Damien Cassou2021-03-122-2/+2
| | | | | | | | | | | | | | * 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'.
* | Fix #9Gravatar Nicolas Petton2021-03-121-0/+15
|/ | | | Document installation with straight.el.
* Fix docstringsGravatar Nicolas Petton2021-03-083-6/+6
| | | | | | | | | * 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'.
* Only use package headers in nroam.elGravatar Nicolas Petton2021-03-083-13/+0
| | | | | | * nroam-backlinks.el: * nroam-unlinked.el: * nroam-utils.el: Remove package headers.
* Merge pull request #8 from Whil-/masterGravatar Nicolas Petton2021-03-071-1/+1
|\ | | | | nroam.el: Fix nroam mode-line lighter
| * nroam.el: Fix nroam mode-line lighterGravatar Gustav Wikström2021-03-071-1/+1
|/ | | | * nroam.el (nroam-mode): Ligher needs an empty space as first character.
* Merge pull request #7 from DamienCassou/improve-readmeGravatar Nicolas Petton2021-03-071-6/+23
|\ | | | | Improve readme
| * * readme.org: Describe what unlinked references areGravatar Damien Cassou2021-03-071-2/+3
| |
| * * readme.org: Fix typoGravatar Damien Cassou2021-03-071-1/+1
| |
| * * readme.org: Fill paragraphsGravatar Damien Cassou2021-03-071-6/+22
| |
* | Bump nroam to v0.9.0v0.9.0Gravatar Nicolas Petton2021-03-074-4/+4
|/
* Merge pull request #6 from Whil-/masterGravatar Nicolas Petton2021-03-051-2/+2
|\ | | | | nroam-backlinks.el: Add logic for heading level for backlink subtree