summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * nroam-backlinks.el: Add logic for heading level for ↵Gravatar Gustav Wikström2021-03-051-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(*) definitionGravatar Nicolas Petton2021-03-041-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-/masterGravatar Nicolas Petton2021-03-041-6/+7
|\ | | | | nroam-backlinks.el: Fix edge case (again)
| * nroam-backlinks.el: Fix edge case (again)Gravatar Gustav Wikström2021-03-041-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 functionGravatar Nicolas Petton2021-03-041-3/+3
| | | | | * nroam-backlinks.el (nroam-backlinks--insert-backlink-breadcrumbs): Rename from `nroam-backlinks--insert-backlink-outline’.
* Refactor nroam-backlinks--insert-backlinkGravatar Nicolas Petton2021-03-041-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’Gravatar Nicolas Petton2021-03-031-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-/masterGravatar Nicolas Petton2021-03-031-9/+22
|\ | | | | nroam-backlinks.el: Add more context to backlinks
| * nroam-backlinks.el: Add more context to backlinksGravatar Gustav Wikström2021-03-031-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.ymlGravatar Nicolas Petton2021-03-021-0/+12
|
* * readme.org: Copyedit.Gravatar Nicolas Petton2021-03-011-1/+1
|
* * readme.org: Update for unlinked referencesGravatar Nicolas Petton2021-03-013-2/+8
|
* Add support for unlinked referencesGravatar Nicolas Petton2021-03-012-0/+84
| | | | | * nroam-unlinked.el: New file. * nroam.el: Setup unlinked references section.
* Split nroam.elGravatar Nicolas Petton2021-03-013-129/+215
| | | | | * nroam-backlinks.el: * nroam-utils.el: New files.
* Insert sections when turning the mode on if the buffer ↵Gravatar Nicolas Petton2021-02-281-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 ↵Gravatar Nicolas Petton2021-02-281-12/+15
| | | | `nroam--set-sections-visibility'.
* * nroam.el (nroam--hide-drawers): Reformat.Gravatar Nicolas Petton2021-02-251-3/+1
|
* * nroam.el (nroam--ensure-empty-line): Do dot move to ↵Gravatar Nicolas Petton2021-02-251-2/+1
| | | | point-max.
* Refactor nroam--insert-backlinkGravatar Nicolas Petton2021-02-251-13/+8
| | | | * nroam.el (nroam--insert-source-content): Inline into `nroam--insert-backlink'.
* * nroam.el (nroam--insert): Rename let variableGravatar Nicolas Petton2021-02-251-3/+3
|
* * nroam.el (nroam--insert-backlinks-heading): SimplifyGravatar Nicolas Petton2021-02-251-5/+3
|
* * nroam.el: Remove a double spaceGravatar Nicolas Petton2021-02-251-1/+1
|
* Minor refactoringGravatar Nicolas Petton2021-02-251-6/+6
| | | | * nroam.el (nroam--insert-source-content): Rename let vars for clarity.
* Do not insert a new line if the buffer is emptyGravatar Nicolas Petton2021-02-251-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 sectionsGravatar Nicolas Petton2021-02-251-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-todayGravatar Nicolas Petton2021-02-251-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 headlineGravatar Nicolas Petton2021-02-241-1/+1
|
* Better headline when no linked referenceGravatar Nicolas Petton2021-02-241-3/+5
| | | | | * nroam.el (nroam--insert-backlinks-heading): Display "No linked reference" there is no backlink.
* Merge pull request #2 from Whil-/masterGravatar Nicolas Petton2021-02-241-6/+10
|\ | | | | Set visibility of backlinks section
| * Improve code for narrowing in nroam--insertGravatar Gustav Wikström2021-02-241-3/+1
| | | | | | | | * nroam.el (nroam--insert): Improve code for narrowing.
| * Set visibility of backlinks sectionGravatar Gustav Wikström2021-02-241-6/+12
|/ | | | | * nroam.el (nroam--insert): Set visibility according to startup-options.
* Advice org-capture to remove nroam sections when capturingGravatar Nicolas Petton2021-02-241-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 backlinkGravatar Nicolas Petton2021-02-241-2/+2
|
* Fix nroam--point-at-section-pGravatar Nicolas Petton2021-02-231-3/+4
| | | | * Fix `nroam--point-at-section-p' when nroam sections have not been inserted.
* Fix org-capture with nroamGravatar Nicolas Petton2021-02-232-3/+13
| | | | Only enable nroam-mode on org-roam file buffers.
* Add missing autoloadsGravatar Nicolas Petton2021-02-231-7/+11
|
* Make nroam sections customizableGravatar Nicolas Petton2021-02-231-44/+55
|
* Name the nroam work buffer *nroam-work*Gravatar Nicolas Petton2021-02-231-1/+1
|
* Call get-buffer-create with one agrumentGravatar Nicolas Petton2021-02-231-1/+1
| | | | The second argument is not available in Emacs 27.1.
* Merge pull request #1 from Whil-/masterGravatar Nicolas Petton2021-02-232-13/+18
|\ | | | | Make crawler not crawl and as a consequence ... speed up things a lot!
| * Add docstring and empty lineGravatar Gustav Wikström2021-02-231-0/+2
| | | | | | | | * nroam.el (nroam--init-work-buffer): Add docstring.