Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix docstrings | Nicolas Petton | 2021-03-08 | 3 | -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.el | Nicolas Petton | 2021-03-08 | 3 | -13/+0 |
| | | | | | | * nroam-backlinks.el: * nroam-unlinked.el: * nroam-utils.el: Remove package headers. | ||||
* | Merge pull request #8 from Whil-/master | Nicolas Petton | 2021-03-07 | 1 | -1/+1 |
|\ | | | | | nroam.el: Fix nroam mode-line lighter | ||||
| * | nroam.el: Fix nroam mode-line lighter | Gustav Wikström | 2021-03-07 | 1 | -1/+1 |
|/ | | | | * nroam.el (nroam-mode): Ligher needs an empty space as first character. | ||||
* | Merge pull request #7 from DamienCassou/improve-readme | Nicolas Petton | 2021-03-07 | 1 | -6/+23 |
|\ | | | | | Improve readme | ||||
| * | * readme.org: Describe what unlinked references are | Damien Cassou | 2021-03-07 | 1 | -2/+3 |
| | | |||||
| * | * readme.org: Fix typo | Damien Cassou | 2021-03-07 | 1 | -1/+1 |
| | | |||||
| * | * readme.org: Fill paragraphs | Damien Cassou | 2021-03-07 | 1 | -6/+22 |
| | | |||||
* | | Bump nroam to v0.9.0v0.9.0 | Nicolas Petton | 2021-03-07 | 4 | -4/+4 |
|/ | |||||
* | Merge pull request #6 from Whil-/master | Nicolas Petton | 2021-03-05 | 1 | -2/+2 |
|\ | | | | | nroam-backlinks.el: Add logic for heading level for backlink subtree | ||||
| * | nroam-backlinks.el: Add logic for heading level for ↵ | Gustav Wikström | 2021-03-05 | 1 | -2/+2 |
|/ | | | | | | | | 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. | ||||
* | Fix a let(*) definition | Nicolas Petton | 2021-03-04 | 1 | -7/+7 |
| | | | | | * nroam-backlinks.el (nroam-backlinks--hide-drawers): Use `let*’ as `elt’ is used in other let forms. | ||||
* | Merge pull request #5 from Whil-/master | Nicolas Petton | 2021-03-04 | 1 | -6/+7 |
|\ | | | | | nroam-backlinks.el: Fix edge case (again) | ||||
| * | nroam-backlinks.el: Fix edge case (again) | Gustav Wikström | 2021-03-04 | 1 | -6/+7 |
|/ | | | | | * nroam-backlinks.el (nroam-backlinks--crawl-source): Set full-outline to nil if point is before first heading using a built in org function. | ||||
* | Refactoring: rename a function | Nicolas Petton | 2021-03-04 | 1 | -3/+3 |
| | | | | | * nroam-backlinks.el (nroam-backlinks--insert-backlink-breadcrumbs): Rename from `nroam-backlinks--insert-backlink-outline’. | ||||
* | Refactor nroam-backlinks--insert-backlink | Nicolas Petton | 2021-03-04 | 1 | -15/+27 |
| | | | | | | | | * 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. | ||||
* | Fix an edge case in `nroam-backlinks--crawl-source’ | Nicolas Petton | 2021-03-03 | 1 | -7/+10 |
| | | | | | * 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. | ||||
* | Merge pull request #4 from Whil-/master | Nicolas Petton | 2021-03-03 | 1 | -9/+22 |
|\ | | | | | nroam-backlinks.el: Add more context to backlinks | ||||
| * | nroam-backlinks.el: Add more context to backlinks | Gustav Wikström | 2021-03-03 | 1 | -9/+22 |
|/ | | | | | | * nroam-backlinks.el (nroam-backlinks--insert-backlink) (nroam-backlinks--crawl-source): Make sure the outline hierarchy is included in the backlinks section. | ||||
* | Create FUNDING.yml | Nicolas Petton | 2021-03-02 | 1 | -0/+12 |
| | |||||
* | * readme.org: Copyedit. | Nicolas Petton | 2021-03-01 | 1 | -1/+1 |
| | |||||
* | * readme.org: Update for unlinked references | Nicolas Petton | 2021-03-01 | 3 | -2/+8 |
| | |||||
* | Add support for unlinked references | Nicolas Petton | 2021-03-01 | 2 | -0/+84 |
| | | | | | * nroam-unlinked.el: New file. * nroam.el: Setup unlinked references section. | ||||
* | Split nroam.el | Nicolas Petton | 2021-03-01 | 3 | -129/+215 |
| | | | | | * nroam-backlinks.el: * nroam-utils.el: New files. | ||||
* | Insert sections when turning the mode on if the buffer ↵ | Nicolas Petton | 2021-02-28 | 1 | -1/+6 |
| | | | | | | | | file exists. * nroam.el (nroam-mode): Conditionally insert sections when turning enabling `nroam-mode'. (nroam--maybe-insert-immediately): New function. | ||||
* | * nroam.el (nroam--insert): Extract ↵ | Nicolas Petton | 2021-02-28 | 1 | -12/+15 |
| | | | | `nroam--set-sections-visibility'. | ||||
* | * nroam.el (nroam--hide-drawers): Reformat. | Nicolas Petton | 2021-02-25 | 1 | -3/+1 |
| | |||||
* | * nroam.el (nroam--ensure-empty-line): Do dot move to ↵ | Nicolas Petton | 2021-02-25 | 1 | -2/+1 |
| | | | | point-max. | ||||
* | Refactor nroam--insert-backlink | Nicolas Petton | 2021-02-25 | 1 | -13/+8 |
| | | | | * nroam.el (nroam--insert-source-content): Inline into `nroam--insert-backlink'. | ||||
* | * nroam.el (nroam--insert): Rename let variable | Nicolas Petton | 2021-02-25 | 1 | -3/+3 |
| | |||||
* | * nroam.el (nroam--insert-backlinks-heading): Simplify | Nicolas Petton | 2021-02-25 | 1 | -5/+3 |
| | |||||
* | * nroam.el: Remove a double space | Nicolas Petton | 2021-02-25 | 1 | -1/+1 |
| | |||||
* | Minor refactoring | Nicolas Petton | 2021-02-25 | 1 | -6/+6 |
| | | | | * nroam.el (nroam--insert-source-content): Rename let vars for clarity. | ||||
* | Do not insert a new line if the buffer is empty | Nicolas Petton | 2021-02-25 | 1 | -1/+2 |
| | | | | | * 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. | ||||
* | Ensure one empty line between each heading in nroam sections | Nicolas Petton | 2021-02-25 | 1 | -8/+14 |
| | | | | | | | | * 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. | ||||
* | Fix nroam with org-roam-dailies-find-today | Nicolas Petton | 2021-02-25 | 1 | -0/+1 |
| | | | | | * nroam.el (nroam--insert): Insert a non read-only newline before nroam sections so that `org-roam-dailies-find-today' can insert the capture template. | ||||
* | Add missing newline after backlink headline | Nicolas Petton | 2021-02-24 | 1 | -1/+1 |
| | |||||
* | Better headline when no linked reference | Nicolas Petton | 2021-02-24 | 1 | -3/+5 |
| | | | | | * nroam.el (nroam--insert-backlinks-heading): Display "No linked reference" there is no backlink. | ||||
* | Merge pull request #2 from Whil-/master | Nicolas Petton | 2021-02-24 | 1 | -6/+10 |
|\ | | | | | Set visibility of backlinks section | ||||
| * | Improve code for narrowing in nroam--insert | Gustav Wikström | 2021-02-24 | 1 | -3/+1 |
| | | | | | | | | * nroam.el (nroam--insert): Improve code for narrowing. | ||||
| * | Set visibility of backlinks section | Gustav Wikström | 2021-02-24 | 1 | -6/+12 |
|/ | | | | | * nroam.el (nroam--insert): Set visibility according to startup-options. | ||||
* | Advice org-capture to remove nroam sections when capturing | Nicolas Petton | 2021-02-24 | 1 | -2/+15 |
| | | | | | Nroam sections need to be pruned as they are in read-only, otherwise `org-capture' will fail to insert the capture template. | ||||
* | Do not insert backlink section when there is no backlink | Nicolas Petton | 2021-02-24 | 1 | -2/+2 |
| | |||||
* | Fix nroam--point-at-section-p | Nicolas Petton | 2021-02-23 | 1 | -3/+4 |
| | | | | * Fix `nroam--point-at-section-p' when nroam sections have not been inserted. | ||||
* | Fix org-capture with nroam | Nicolas Petton | 2021-02-23 | 2 | -3/+13 |
| | | | | Only enable nroam-mode on org-roam file buffers. | ||||
* | Add missing autoloads | Nicolas Petton | 2021-02-23 | 1 | -7/+11 |
| | |||||
* | Make nroam sections customizable | Nicolas Petton | 2021-02-23 | 1 | -44/+55 |
| | |||||
* | Name the nroam work buffer *nroam-work* | Nicolas Petton | 2021-02-23 | 1 | -1/+1 |
| | |||||
* | Call get-buffer-create with one agrument | Nicolas Petton | 2021-02-23 | 1 | -1/+1 |
| | | | | The second argument is not available in Emacs 27.1. | ||||
* | Merge pull request #1 from Whil-/master | Nicolas Petton | 2021-02-23 | 2 | -13/+18 |
|\ | | | | | Make crawler not crawl and as a consequence ... speed up things a lot! |