update of packages

This commit is contained in:
2023-11-04 19:26:41 +01:00
parent e162a12b58
commit 3b54a3236d
726 changed files with 297673 additions and 34585 deletions

View File

@@ -6,7 +6,7 @@
;; URL: https://github.com/org-roam/org-roam
;; Keywords: org-mode, roam, convenience
;; Version: 2.2.2
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "3.0.0") (emacsql-sqlite "1.0.0") (magit-section "3.0.0"))
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "20230228") (magit-section "3.0.0"))
;; This file is NOT part of GNU Emacs.

View File

@@ -6,7 +6,7 @@
;; URL: https://github.com/org-roam/org-roam
;; Keywords: org-mode, roam, convenience
;; Version: 2.2.2
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "3.0.0") (emacsql-sqlite "1.0.0") (magit-section "3.0.0"))
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "20230228") (magit-section "3.0.0"))
;; This file is NOT part of GNU Emacs.
@@ -36,7 +36,12 @@
(defvar org-outline-path-cache)
;;; Options
(defcustom org-roam-database-connector 'sqlite
(defcustom org-roam-database-connector (if (and (progn
(require 'emacsql-sqlite-builtin nil t)
(functionp 'emacsql-sqlite-builtin))
(functionp 'sqlite-open))
'sqlite-builtin
'sqlite)
"The database connector used by Org-roam.
This must be set before `org-roam' is loaded. To use an alternative
connector you must install the respective package explicitly.

View File

@@ -6,7 +6,7 @@
;; URL: https://github.com/org-roam/org-roam
;; Keywords: org-mode, roam, convenience
;; Version: 2.2.2
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "3.0.0") (emacsql-sqlite "1.0.0") (magit-section "3.0.0"))
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "20230228") (magit-section "3.0.0"))
;; This file is NOT part of GNU Emacs.

View File

@@ -6,7 +6,7 @@
;; URL: https://github.com/org-roam/org-roam
;; Keywords: org-mode, roam, convenience
;; Version: 2.2.2
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "3.0.0") (emacsql-sqlite "1.0.0") (magit-section "3.0.0"))
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "20230228") (magit-section "3.0.0"))
;; This file is NOT part of GNU Emacs.

View File

@@ -6,7 +6,7 @@
;; URL: https://github.com/org-roam/org-roam
;; Keywords: org-mode, roam, convenience
;; Version: 2.2.2
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "3.0.0") (emacsql-sqlite "1.0.0") (magit-section "3.0.0"))
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "20230228") (magit-section "3.0.0"))
;; This file is NOT part of GNU Emacs.

View File

@@ -112,6 +112,12 @@ It takes a single argument REF, which is a propertized string."
:group 'org-roam
:type '(function))
(defcustom org-roam-ref-prompt-function nil
"Function to prompt for ref strings in `org-roam-ref-add'.
Should take no arguments, prompt the user, and return a string."
:group 'org-roam
:type 'function)
;;;; Completion-at-point
(defcustom org-roam-completion-everywhere nil
"When non-nil, provide link completion matching outside of Org links."
@@ -210,6 +216,10 @@ This path is relative to `org-roam-directory'."
(_
(org-roam-node-title node))))
(cl-defmethod org-roam-node-category ((node org-roam-node))
"Return the category for NODE."
(cdr (assoc-string "CATEGORY" (org-roam-node-properties node))))
;;; Nodes
;;;; Getters
(defun org-roam-node-at-point (&optional assert)
@@ -226,11 +236,10 @@ populated."
(t (org-with-wide-buffer
(while (not (or (org-roam-db-node-p)
(bobp)
;; Handle case where top-level is a heading
(= (funcall outline-level)
(save-excursion
(org-roam-up-heading-or-point-min)
(funcall outline-level)))))
(eq (funcall outline-level)
(save-excursion
(org-roam-up-heading-or-point-min)
(funcall outline-level)))))
(org-roam-up-heading-or-point-min))
(when-let ((id (org-id-get)))
(org-roam-populate
@@ -770,7 +779,8 @@ We use this as a substitute for `org-link-bracket-re', because
"Complete \"roam:\" link at point to an existing Org-roam node."
(let (roam-p start end)
(when (org-in-regexp org-roam-bracket-completion-re 1)
(setq roam-p (not (string-blank-p (match-string 1)))
(setq roam-p (not (or (org-in-src-block-p)
(string-blank-p (match-string 1))))
start (match-beginning 2)
end (match-end 2))
(list start end
@@ -792,6 +802,7 @@ outside of the bracket syntax for links (i.e. \"[[roam:|]]\"),
hence \"everywhere\"."
(when (and org-roam-completion-everywhere
(thing-at-point 'word)
(not (org-in-src-block-p))
(not (save-match-data (org-in-regexp org-link-any-re))))
(let ((bounds (bounds-of-thing-at-point 'word)))
(list (car bounds) (cdr bounds)
@@ -1032,7 +1043,9 @@ and when nil is returned the node will be filtered out."
;;;; Editing
(defun org-roam-ref-add (ref)
"Add REF to the node at point."
(interactive "sRef: ")
(interactive `(,(if org-roam-ref-prompt-function
(funcall org-roam-ref-prompt-function)
(read-string "Ref: "))))
(let ((node (org-roam-node-at-point 'assert)))
(save-excursion
(goto-char (org-roam-node-point node))

View File

@@ -1,11 +1,12 @@
(define-package "org-roam" "20221205.355" "A database abstraction layer for Org-mode"
(define-package "org-roam" "20230307.1721" "A database abstraction layer for Org-mode"
'((emacs "26.1")
(dash "2.13")
(org "9.4")
(emacsql "3.0.0")
(emacsql-sqlite "1.0.0")
(emacsql "20230228")
(magit-section "3.0.0"))
:commit "f9228ce31969cab9ca46ad4890e82e2ea7de3738" :authors
:commit "5c06471c3a11348342719fd9011486455adeb701" :authors
'(("Jethro Kuan" . "jethrokuan95@gmail.com"))
:maintainers
'(("Jethro Kuan" . "jethrokuan95@gmail.com"))
:maintainer
'("Jethro Kuan" . "jethrokuan95@gmail.com")

View File

@@ -120,7 +120,7 @@ SPEC is a list, as per `dolist'."
;;; File utilities
(defun org-roam-descendant-of-p (a b)
"Return t if A is descendant of B."
(unless (equal (file-truename a) (file-truename b))
(unless (and a b (equal (file-truename a) (file-truename b)))
(string-prefix-p (replace-regexp-in-string "^\\([A-Za-z]\\):" 'downcase (expand-file-name b) t t)
(replace-regexp-in-string "^\\([A-Za-z]\\):" 'downcase (expand-file-name a) t t))))
@@ -227,9 +227,9 @@ Like `org-fontify-like-in-org-mode', but supports `org-ref'."
;; `org-fontify-like-in-org-mode' here
(with-temp-buffer
(insert s)
(let ((org-ref-buffer-hacked t)
(org-fold-core-style 'overlays))
(let ((org-ref-buffer-hacked t))
(org-mode)
(setq-local org-fold-core-style 'overlays)
(font-lock-ensure)
(buffer-string))))

View File

@@ -6,7 +6,7 @@
;; URL: https://github.com/org-roam/org-roam
;; Keywords: org-mode, roam, convenience
;; Version: 2.2.2
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "3.0.0") (emacsql-sqlite "1.0.0") (magit-section "3.0.0"))
;; Package-Requires: ((emacs "26.1") (dash "2.13") (org "9.4") (emacsql "20230228") (magit-section "3.0.0"))
;; This file is NOT part of GNU Emacs.
@@ -152,31 +152,40 @@ responsibility to ensure that."
'(find fd fdfind rg))
"Commands that will be used to find Org-roam files.
It should be a list of symbols or cons cells representing any of the following
supported file search methods.
It should be a list of symbols or cons cells representing any of
the following supported file search methods.
The commands will be tried in order until an executable for a command is found.
The Elisp implementation is used if no command in the list is found.
The commands will be tried in order until an executable for a
command is found. The Elisp implementation is used if no command
in the list is found.
`find'
Use find as the file search method.
Example command:
find /path/to/dir -type f \( -name \"*.org\" -o -name \"*.org.gpg\" \)
find /path/to/dir -type f \
\( -name \"*.org\" -o -name \"*.org.gpg\" -name \"*.org.age\" \)
`fd'
Use fd as the file search method.
Example command: fd /path/to/dir/ --type file -e \".org\" -e \".org.gpg\"
Example command:
fd /path/to/dir/ --type file -e \".org\" -e \".org.gpg\" -e \".org.age\"
`fdfind'
Same as `fd'. It's an alias that used in some OSes (e.g. Debian, Ubuntu)
`rg'
Use ripgrep as the file search method.
Example command: rg /path/to/dir/ --files -g \"*.org\" -g \"*.org.gpg\"
By default, `executable-find' will be used to look up the path to the
executable. If a custom path is required, it can be specified together with the
method symbol as a cons cell. For example: '(find (rg . \"/path/to/rg\"))."
Use ripgrep as the file search method.
Example command:
rg /path/to/dir/ --files -g \"*.org\" -g \"*.org.gpg\" -g \"*.org.age\"
By default, `executable-find' will be used to look up the path to
the executable. If a custom path is required, it can be specified
together with the method symbol as a cons cell. For example:
'(find (rg . \"/path/to/rg\"))."
:type '(set (const :tag "find" find)
(const :tag "fd" fd)
(const :tag "fdfind" fdfind)
@@ -196,7 +205,8 @@ FILE is an Org-roam file if:
(let* ((path (or file (buffer-file-name (buffer-base-buffer))))
(relative-path (file-relative-name path org-roam-directory))
(ext (org-roam--file-name-extension path))
(ext (if (string= ext "gpg")
(ext (if (or (string= ext "gpg")
(string= ext "age"))
(org-roam--file-name-extension (file-name-sans-extension path))
ext))
(org-roam-dir-p (org-roam-descendant-of-p path org-roam-directory))
@@ -290,7 +300,8 @@ If no files are found, an empty list is returned."
E.g. (\".org\") => (\"*.org\" \"*.org.gpg\")"
(cl-loop for e in exts
append (list (format "\"*.%s\"" e)
(format "\"*.%s.gpg\"" e))))
(format "\"*.%s.gpg\"" e)
(format "\"*.%s.age\"" e))))
(defun org-roam--list-files-find (executable dir)
"Return all Org-roam files under DIR, using \"find\", provided as EXECUTABLE."
@@ -321,7 +332,7 @@ E.g. (\".org\") => (\"*.org\" \"*.org.gpg\")"
"Return all Org-roam files under DIR, using Elisp based implementation."
(let ((regex (concat "\\.\\(?:"(mapconcat
#'regexp-quote org-roam-file-extensions
"\\|" )"\\)\\(?:\\.gpg\\)?\\'"))
"\\|" )"\\)\\(?:\\.gpg\\|\\.age\\)?\\'"))
result)
(dolist (file (org-roam--directory-files-recursively dir regex nil nil t) result)
(when (and (file-readable-p file)

View File

@@ -1,4 +1,4 @@
This is org-roam.info, produced by makeinfo version 7.0.1 from
This is org-roam.info, produced by makeinfo version 6.8 from
org-roam.texi.
Copyright (C) 2020-2022 Jethro Kuan <jethrokuan95@gmail.com>
@@ -24,7 +24,8 @@ File: org-roam.info, Node: Top, Next: Introduction, Up: (dir)
Org-roam User Manual
********************
This manual is for Org-roam version 2.2.2.
This manual is for Org-roam version 2.2.2.
Copyright (C) 2020-2022 Jethro Kuan <jethrokuan95@gmail.com>
@@ -391,14 +392,6 @@ reading the documentation in the Emacs manual, see *note
Org-roam also depends on a recent version of Org, which can be
obtained in Orgs package repository (see *note (org)Installation::).
To use Orgs ELPA archive:
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
Once you have added your preferred archive, you need to update the
local package list using:
M-x package-refresh-contents RET
Once you have done that, you can install Org-roam and its
dependencies using:
@@ -786,19 +779,25 @@ set:
(setq org-roam-database-connector 'sqlite3)
**emacsql-libsqlite3**
(https://github.com/emacscollective/emacsql-libsqlite3/)
**emacssql-sqlite-module**
(https://melpa.org/#/emacsql-sqlite-module) (previously
emacsql-libsqlite3)
emacs-libsqlite3 is a relatively young package which uses an Emacs
module that exposes parts of the SQLite C API to Emacs Lisp, instead of
using subprocess as emacsql-sqlite does. It is expected to be a more
performant drop-in replacement for emacs-sqlite.
emacs-sqlite-module is a relatively young package which uses an
Emacs module that exposes parts of the SQLite C API to Emacs Lisp,
instead of using subprocess as emacsql-sqlite does. It is expected to
be a more performant drop-in replacement for emacs-sqlite.
At the moment it is experimental and does not work well with the SQL
query load required by Org-roam, but you may still try it by ensuring
the package is installed and setting:
(setq org-roam-database-connector 'sqlite-module)
(setq org-roam-database-connector 'libsqlite3)
**emacsql-sqlite-builtin**
(https://melpa.org/#/emacsql-sqlite-builtin)
emacsql-sqlite-builtin uses the in-built SQLite support for Emacs
29 and later. This is the recommended option if you are using a version
of Emacs that supports it.
(setq org-roam-database-connector 'sqlite-builtin)

File: org-roam.info, Node: What to cache, Next: When to cache, Prev: How to cache, Up: Customizing Node Caching
@@ -1868,7 +1867,7 @@ File: org-roam.info, Node: Garbage Collection, Up: Performance Optimization
During the cache-build process, Org-roam generates a lot of in-memory
data-structures (such as the Org files AST), which are discarded after
use. These structures are garbage collected at regular intervals (see
*note info:elisp#Garbage Collection: (elisp)Garbage Collection.).
*note info:elisp#Garbage Collection: (elisp)Garbage Collection.).
Org-roam provides the option org-roam-db-gc-threshold to
temporarily change the threshold value for GC to be triggered during
@@ -2621,97 +2620,97 @@ Emacs 29.0.50 (Org mode 9.6)

Tag Table:
Node: Top756
Node: Introduction4512
Ref: Introduction-Footnote-16657
Node: Target Audience6766
Node: A Brief Introduction to the Zettelkasten Method8642
Node: Installation11800
Node: Installing from MELPA12164
Node: Installing from Source13423
Node: Installation Troubleshooting16406
Node: C Compiler16608
Node: C Compiler for Windows17179
Node: Getting Started18420
Node: The Org-roam Node18712
Node: Links between Nodes19540
Node: Setting up Org-roam19945
Node: Creating and Linking Nodes21552
Node: Customizing Node Completions23272
Node: Customizing Node Caching25492
Node: How to cache25728
Node: What to cache27764
Node: When to cache29892
Node: The Org-roam Buffer30661
Node: Navigating the Org-roam Buffer32117
Node: Configuring what is displayed in the buffer32833
Node: Configuring the Org-roam buffer display34164
Node: Styling the Org-roam buffer35665
Node: Node Properties35877
Node: Standard Org properties36096
Node: Titles and Aliases36446
Node: Tags37447
Node: Refs38107
Node: Citations39307
Node: Using the Cached Information39873
Node: Completion41020
Node: Completing within Link Brackets41816
Node: Completing anywhere42266
Node: Encryption43042
Node: The Templating System43798
Node: Template Walkthrough44515
Node: Org-roam Template Expansion46359
Node: Extensions48246
Node: org-roam-protocol48482
Node: Installation (1)48944
Node: Linux49786
Node: Mac OS51312
Ref: Testing org-protocol53350
Node: Windows54363
Node: The roam-node protocol55106
Node: The roam-ref protocol55493
Node: org-roam-graph56672
Node: Graph Options58569
Node: org-roam-dailies59591
Node: Configuration59878
Node: Usage60675
Node: org-roam-export62417
Node: Performance Optimization62937
Node: Garbage Collection63143
Node: The Org-mode Ecosystem63939
Node: Browsing History with winner-mode64436
Node: Versioning Notes65308
Node: Full-text search with Deft66099
Node: Org-journal66850
Node: Org-download67662
Node: mathpixel68181
Node: Org-noter / Interleave68762
Node: Bibliography69154
Node: Spaced Repetition69915
Node: FAQ70571
Node: How do I have more than one Org-roam directory?71178
Node: How do I create a note whose title already matches one of the candidates?72749
Node: How can I stop Org-roam from creating IDs everywhere?73669
Node: How do I migrate from Roam Research?74363
Node: How to migrate from Org-roam v1?74860
Node: How do I publish my notes with an Internet-friendly graph?76269
Node: Configure org-mode for publishing77711
Node: Overriding the default link creation function79197
Node: Copying the generated file to the export directory79869
Node: I'm seeing this ``Selecting deleted buffer'' error What do I do?80840
Node: Developer's Guide to Org-roam81898
Node: Org-roam's Design Principle82172
Node: Building Extensions and Advanced Customization of Org-roam84162
Node: Accessing the Database85424
Node: Accessing and Modifying Nodes86153
Node: Extending the Capture System88029
Node: Appendix89571
Node: Note-taking Workflows89758
Node: Ecosystem91040
Node: Keystroke Index91157
Node: Command Index91308
Node: Function Index91461
Node: Variable Index93239
Node: Top754
Node: Introduction4514
Ref: Introduction-Footnote-16659
Node: Target Audience6768
Node: A Brief Introduction to the Zettelkasten Method8644
Node: Installation11802
Node: Installing from MELPA12166
Node: Installing from Source13181
Node: Installation Troubleshooting16164
Node: C Compiler16366
Node: C Compiler for Windows16937
Node: Getting Started18178
Node: The Org-roam Node18470
Node: Links between Nodes19298
Node: Setting up Org-roam19703
Node: Creating and Linking Nodes21310
Node: Customizing Node Completions23030
Node: Customizing Node Caching25250
Node: How to cache25486
Node: What to cache27679
Node: When to cache29807
Node: The Org-roam Buffer30576
Node: Navigating the Org-roam Buffer32032
Node: Configuring what is displayed in the buffer32748
Node: Configuring the Org-roam buffer display34079
Node: Styling the Org-roam buffer35580
Node: Node Properties35792
Node: Standard Org properties36011
Node: Titles and Aliases36361
Node: Tags37362
Node: Refs38022
Node: Citations39222
Node: Using the Cached Information39788
Node: Completion40935
Node: Completing within Link Brackets41731
Node: Completing anywhere42181
Node: Encryption42957
Node: The Templating System43713
Node: Template Walkthrough44430
Node: Org-roam Template Expansion46274
Node: Extensions48161
Node: org-roam-protocol48397
Node: Installation (1)48859
Node: Linux49701
Node: Mac OS51227
Ref: Testing org-protocol53265
Node: Windows54278
Node: The roam-node protocol55021
Node: The roam-ref protocol55408
Node: org-roam-graph56587
Node: Graph Options58484
Node: org-roam-dailies59506
Node: Configuration59793
Node: Usage60590
Node: org-roam-export62332
Node: Performance Optimization62852
Node: Garbage Collection63058
Node: The Org-mode Ecosystem63852
Node: Browsing History with winner-mode64349
Node: Versioning Notes65221
Node: Full-text search with Deft66012
Node: Org-journal66763
Node: Org-download67575
Node: mathpixel68094
Node: Org-noter / Interleave68675
Node: Bibliography69067
Node: Spaced Repetition69828
Node: FAQ70484
Node: How do I have more than one Org-roam directory?71091
Node: How do I create a note whose title already matches one of the candidates?72662
Node: How can I stop Org-roam from creating IDs everywhere?73582
Node: How do I migrate from Roam Research?74276
Node: How to migrate from Org-roam v1?74773
Node: How do I publish my notes with an Internet-friendly graph?76182
Node: Configure org-mode for publishing77624
Node: Overriding the default link creation function79110
Node: Copying the generated file to the export directory79782
Node: I'm seeing this ``Selecting deleted buffer'' error What do I do?80753
Node: Developer's Guide to Org-roam81811
Node: Org-roam's Design Principle82085
Node: Building Extensions and Advanced Customization of Org-roam84075
Node: Accessing the Database85337
Node: Accessing and Modifying Nodes86066
Node: Extending the Capture System87942
Node: Appendix89484
Node: Note-taking Workflows89671
Node: Ecosystem90953
Node: Keystroke Index91070
Node: Command Index91221
Node: Function Index91374
Node: Variable Index93152

End Tag Table