update packages and add valign
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
This is org-roam.info, produced by makeinfo version 7.2 from
|
||||
This is org-roam.info, produced by makeinfo version 7.3 from
|
||||
org-roam.texi.
|
||||
|
||||
Copyright (C) 2020-2025 Jethro Kuan <jethrokuan95@gmail.com>
|
||||
Copyright (C) 2020-2026 Jethro Kuan <jethrokuan95@gmail.com> and
|
||||
the Org-roam contributors
|
||||
|
||||
You can redistribute this document and/or modify it under the terms
|
||||
of the GNU General Public License as published by the Free Software
|
||||
@@ -24,9 +25,10 @@ File: org-roam.info, Node: Top, Next: Introduction, Up: (dir)
|
||||
Org-roam User Manual
|
||||
********************
|
||||
|
||||
This manual is for Org-roam version 2.3.1.
|
||||
This manual is for Org-roam version 2.3.1-devel.
|
||||
|
||||
Copyright (C) 2020-2025 Jethro Kuan <jethrokuan95@gmail.com>
|
||||
Copyright (C) 2020-2026 Jethro Kuan <jethrokuan95@gmail.com> and
|
||||
the Org-roam contributors
|
||||
|
||||
You can redistribute this document and/or modify it under the terms
|
||||
of the GNU General Public License as published by the Free Software
|
||||
@@ -415,9 +417,6 @@ the Org-roam library. Add the following code to your ‘.emacs’:
|
||||
You now have Org-roam installed. However, you don't necessarily have
|
||||
the dependencies that it requires. These include:
|
||||
|
||||
• dash
|
||||
• f
|
||||
• s
|
||||
• org
|
||||
• emacsql
|
||||
• magit-section
|
||||
@@ -603,8 +602,7 @@ Node selection is achieved via the ‘completing-read’ interface,
|
||||
typically through ‘org-roam-node-read’. The presentation of these nodes
|
||||
are governed by ‘org-roam-node-display-template’.
|
||||
|
||||
• Variable: org-roam-node-display-template
|
||||
|
||||
-- Variable: org-roam-node-display-template
|
||||
Configures display formatting for Org-roam node.
|
||||
|
||||
Patterns of form "${field-name:length}" are interpolated based on
|
||||
@@ -700,8 +698,7 @@ Org-roam takes special care of additionally trying to process these
|
||||
links. Use ‘org-roam-db-extra-links-elements’ to specify which
|
||||
additional Org AST element types to consider.
|
||||
|
||||
• Variable: org-roam-db-extra-links-elements
|
||||
|
||||
-- Variable: org-roam-db-extra-links-elements
|
||||
The list of Org element types to include for parsing by Org-roam.
|
||||
|
||||
By default, when parsing Org's AST, links within keywords and
|
||||
@@ -714,8 +711,7 @@ within property drawers. For example, we would not want ‘ROAM_REFS’
|
||||
links to be self-referential. Hence, to exclude specific keys, we use
|
||||
‘org-roam-db-extra-links-exclude-keys’.
|
||||
|
||||
• Variable: org-roam-db-extra-links-exclude-keys
|
||||
|
||||
-- Variable: org-roam-db-extra-links-exclude-keys
|
||||
Keys to ignore when mapping over links.
|
||||
|
||||
The car of the association list is the Org element type (e.g.
|
||||
@@ -737,8 +733,7 @@ using the interactive commands.
|
||||
can be a slow operation. You can disable the automatic updating of the
|
||||
database by setting ‘org-roam-db-update-on-save’ to ‘nil’.
|
||||
|
||||
• Variable: org-roam-db-update-on-save
|
||||
|
||||
-- Variable: org-roam-db-update-on-save
|
||||
If t, update the Org-roam database upon saving the file. Disable
|
||||
this if your files are large and updating the database is slow.
|
||||
|
||||
@@ -764,15 +759,13 @@ references etc.). There are two main commands to use here:
|
||||
To bring up a buffer that tracks the current node at point, call ‘M-x
|
||||
org-roam-buffer-toggle’.
|
||||
|
||||
• Function: org-roam-buffer-toggle
|
||||
|
||||
-- Function: org-roam-buffer-toggle
|
||||
Toggle display of the ‘org-roam-buffer’.
|
||||
|
||||
To bring up a buffer that's dedicated for a specific node, call ‘M-x
|
||||
org-roam-buffer-display-dedicated’.
|
||||
|
||||
• Function: org-roam-buffer-display-dedicated
|
||||
|
||||
-- Function: org-roam-buffer-display-dedicated
|
||||
Launch node dedicated Org-roam buffer without visiting the node
|
||||
itself.
|
||||
|
||||
@@ -945,13 +938,11 @@ node:
|
||||
Alternatively, Org-roam provides some functions to add or remove
|
||||
aliases.
|
||||
|
||||
• Function: org-roam-alias-add alias
|
||||
|
||||
-- Function: org-roam-alias-add alias
|
||||
Add ALIAS to the node at point. When called interactively, prompt
|
||||
for the alias to add.
|
||||
|
||||
• Function: org-roam-alias-remove
|
||||
|
||||
-- Function: org-roam-alias-remove
|
||||
Remove an alias from the node at point.
|
||||
|
||||
|
||||
@@ -1001,13 +992,11 @@ has a citation key and a URL at the same time.
|
||||
|
||||
Org-roam also provides some functions to add or remove refs.
|
||||
|
||||
• Function: org-roam-ref-add ref
|
||||
|
||||
-- Function: org-roam-ref-add ref
|
||||
Add REF to the node at point. When called interactively, prompt
|
||||
for the ref to add.
|
||||
|
||||
• Function: org-roam-ref-remove
|
||||
|
||||
-- Function: org-roam-ref-remove
|
||||
Remove a ref from the node at point.
|
||||
|
||||
|
||||
@@ -1035,9 +1024,9 @@ File: org-roam.info, Node: Using the Cached Information, Up: Citations
|
||||
9.1 Using the Cached Information
|
||||
================================
|
||||
|
||||
It is common to use take reference notes for academic papers. To
|
||||
designate the node to be the canonical node for the academic paper, we
|
||||
can use its unique citation key:
|
||||
It is common to take notes on academic reference meterial. To designate
|
||||
a node as the canonical node for a particular reference, we can use its
|
||||
unique citation key:
|
||||
|
||||
* Probabilistic Robotics
|
||||
:PROPERTIES:
|
||||
@@ -1127,8 +1116,7 @@ choice.
|
||||
|
||||
(setq org-roam-completion-everywhere t)
|
||||
|
||||
• Variable: org-roam-completion-everywhere
|
||||
|
||||
-- Variable: org-roam-completion-everywhere
|
||||
When non-nil, provide link completion matching outside of Org links.
|
||||
|
||||
|
||||
@@ -1199,10 +1187,11 @@ the elements of the template are similar to ‘org-capture’ templates.
|
||||
6. ‘:target’ is a compulsory specification in the Org-roam capture
|
||||
template. The first element of the list indicates the type of the
|
||||
target, the second element indicates the location of the captured
|
||||
node, and the rest of the elements indicate prefilled template that
|
||||
will be inserted and the position of the point will be adjusted
|
||||
for. The latter behavior varies from type to type of the capture
|
||||
target.
|
||||
node (note the target location undergoes Org template expansion
|
||||
like the body elements), and the rest of the elements indicate
|
||||
prefilled template that will be inserted and the position of the
|
||||
point will be adjusted for. The latter behavior varies from type
|
||||
to type of the capture target.
|
||||
7. ‘:unnarrowed t’ tells org-capture to show the contents for the
|
||||
whole file, rather than narrowing to just the entry. This is part
|
||||
of the Org-capture templates.
|
||||
@@ -1416,14 +1405,14 @@ following additional configurations:
|
||||
1. Add option '-c' to 'emacsclient' in the script, and start emacs
|
||||
from command line with 'emacs -daemon'
|
||||
|
||||
on open location this_URL
|
||||
set EC to "/usr/local/bin/emacsclient -c --no-wait "
|
||||
set filePath to quoted form of this_URL
|
||||
do shell script EC & filePath & " &> /dev/null &"
|
||||
tell application "Emacs" to activate
|
||||
end open location
|
||||
on open location this_URL
|
||||
set EC to "/usr/local/bin/emacsclient -c --no-wait "
|
||||
set filePath to quoted form of this_URL
|
||||
do shell script EC & filePath & " &> /dev/null &"
|
||||
tell application "Emacs" to activate
|
||||
end open location
|
||||
|
||||
1. Add '(server-start)' in .emacs (in this case you do not need option
|
||||
2. Add '(server-start)' in .emacs (in this case you do not need option
|
||||
'-c' for 'emacsclient' in the script, and you do not need to start
|
||||
emacs with 'emacs -daemon'
|
||||
|
||||
@@ -1529,8 +1518,7 @@ org-roam-protocol::.
|
||||
|
||||
The entry point to graph creation is ‘org-roam-graph’.
|
||||
|
||||
• Function: org-roam-graph & optional arg node
|
||||
|
||||
-- Function: org-roam-graph & optional arg node
|
||||
Build and display a graph for NODE. ARG may be any of the following
|
||||
values:
|
||||
|
||||
@@ -1538,8 +1526,7 @@ values:
|
||||
• ‘integer’ an integer argument ‘N’ will show the graph for the
|
||||
connected components to node up to ‘N’ steps away.
|
||||
|
||||
• User Option: org-roam-graph-executable
|
||||
|
||||
-- User Option: org-roam-graph-executable
|
||||
Path to the graphing executable (in this case, Graphviz). Set this
|
||||
if Org-roam is unable to find the Graphviz executable on your
|
||||
system.
|
||||
@@ -1547,8 +1534,7 @@ values:
|
||||
You may also choose to use ‘neato’ in place of ‘dot’, which
|
||||
generates a more compact graph layout.
|
||||
|
||||
• User Option: org-roam-graph-viewer
|
||||
|
||||
-- User Option: org-roam-graph-viewer
|
||||
Org-roam defaults to using Firefox (located on PATH) to view the
|
||||
SVG, but you may choose to set it to:
|
||||
|
||||
@@ -1581,23 +1567,19 @@ Org-roam supports some of them. See
|
||||
<https://graphviz.gitlab.io/_pages/doc/info/attrs.html> for customizable
|
||||
options.
|
||||
|
||||
• User Option: org-roam-graph-filetype
|
||||
|
||||
-- User Option: org-roam-graph-filetype
|
||||
The file type to generate for graphs. This defaults to ‘"svg"’.
|
||||
|
||||
• User Option: org-roam-graph-extra-config
|
||||
|
||||
-- User Option: org-roam-graph-extra-config
|
||||
Extra options passed to graphviz for the digraph (The "G"
|
||||
attributes). Example: ‘'~(("rankdir" . "LR"))’
|
||||
|
||||
• User Option: org-roam-graph-node-extra-config
|
||||
|
||||
-- User Option: org-roam-graph-node-extra-config
|
||||
An alist of options to style the nodes. The car of the alist node
|
||||
type such as ‘"id"’, or ‘"http"’. The cdr of the list is another
|
||||
alist of Graphviz node options (the "N" attributes).
|
||||
|
||||
• User Option: org-roam-graph-edge-extra-config
|
||||
|
||||
-- User Option: org-roam-graph-edge-extra-config
|
||||
Extra options for edges in the graphviz output (The "E"
|
||||
attributes). Example: ‘'(("dir" . "back"))’
|
||||
|
||||
@@ -1623,13 +1605,11 @@ File: org-roam.info, Node: Configuration, Next: Usage, Up: org-roam-dailies
|
||||
|
||||
For ‘org-roam-dailies’ to work, you need to define two variables:
|
||||
|
||||
• Variable: ‘org-roam-dailies-directory’
|
||||
|
||||
-- Variable: org-roam-dailies-directory
|
||||
Path to daily-notes. This path is relative to
|
||||
‘org-roam-directory’.
|
||||
|
||||
• Variable: ‘org-roam-dailies-capture-templates’
|
||||
|
||||
-- Variable: org-roam-dailies-capture-templates
|
||||
Capture templates for daily-notes in Org-roam.
|
||||
|
||||
Here is a sane default configuration:
|
||||
@@ -1652,34 +1632,29 @@ File: org-roam.info, Node: Usage, Prev: Configuration, Up: org-roam-dailies
|
||||
|
||||
‘org-roam-dailies’ provides these interactive functions:
|
||||
|
||||
• Function: ‘org-roam-dailies-capture-today’ &optional goto
|
||||
|
||||
-- Function: org-roam-dailies-capture-today &optional goto
|
||||
Create an entry in the daily note for today.
|
||||
|
||||
When ‘goto’ is non-nil, go to the note without creating an entry.
|
||||
|
||||
• Function: ‘org-roam-dailies-goto-today’
|
||||
|
||||
-- Function: org-roam-dailies-goto-today
|
||||
Find the daily note for today, creating it if necessary.
|
||||
|
||||
There are variants of those commands for ‘-yesterday’ and
|
||||
‘-tomorrow’:
|
||||
|
||||
• Function: ‘org-roam-dailies-capture-yesterday’ n &optional goto
|
||||
|
||||
-- Function: org-roam-dailies-capture-yesterday n &optional goto
|
||||
Create an entry in the daily note for yesterday.
|
||||
|
||||
With numeric argument ‘n’, use the daily note ‘n’ days in the past.
|
||||
|
||||
• Function: ‘org-roam-dailies-goto-yesterday’
|
||||
|
||||
-- Function: org-roam-dailies-goto-yesterday
|
||||
With numeric argument N, use the daily-note N days in the future.
|
||||
|
||||
There are also commands which allow you to use Emacs’s ‘calendar’ to
|
||||
find the date
|
||||
|
||||
• Function: ‘org-roam-dailies-capture-date’
|
||||
|
||||
-- Function: org-roam-dailies-capture-date
|
||||
Create an entry in the daily note for a date using the calendar.
|
||||
|
||||
Prefer past dates, unless ‘prefer-future’ is non-nil.
|
||||
@@ -1687,23 +1662,19 @@ find the date
|
||||
With a 'C-u' prefix or when ‘goto’ is non-nil, go the note without
|
||||
creating an entry.
|
||||
|
||||
• Function: ‘org-roam-dailies-goto-date’
|
||||
|
||||
-- Function: org-roam-dailies-goto-date
|
||||
Find the daily note for a date using the calendar, creating it if
|
||||
necessary.
|
||||
|
||||
Prefer past dates, unless ‘prefer-future’ is non-nil.
|
||||
|
||||
• Function: ‘org-roam-dailies-find-directory’
|
||||
|
||||
-- Function: org-roam-dailies-find-directory
|
||||
Find and open ‘org-roam-dailies-directory’.
|
||||
|
||||
• Function: ‘org-roam-dailies-goto-previous-note’
|
||||
|
||||
-- Function: org-roam-dailies-goto-previous-note
|
||||
When in an daily-note, find the previous one.
|
||||
|
||||
• Function: ‘org-roam-dailies-goto-next-note’
|
||||
|
||||
-- Function: org-roam-dailies-goto-next-note
|
||||
When in an daily-note, find the next one.
|
||||
|
||||
|
||||
@@ -2260,14 +2231,12 @@ The node interface is cleanly defined using ‘cl-defstruct’. The primary
|
||||
method to access nodes is ‘org-roam-node-at-point’ and
|
||||
‘org-roam-node-read’:
|
||||
|
||||
• Function: org-roam-node-at-point &optional assert
|
||||
|
||||
-- Function: org-roam-node-at-point &optional assert
|
||||
Return the node at point. If ASSERT, throw an error if there is no
|
||||
node at point.
|
||||
|
||||
• Function: org-roam-node-read &optional initial-input filter-fn
|
||||
sort-fn require-match
|
||||
|
||||
-- Function: org-roam-node-read &optional initial-input filter-fn
|
||||
sort-fn require-match
|
||||
Read and return an 'org-roam-node'. INITIAL-INPUT is the initial
|
||||
minibuffer prompt value. FILTER-FN is a function to filter out
|
||||
nodes: it takes a single argument (an ‘org-roam-node’), and when
|
||||
@@ -2305,9 +2274,7 @@ the user experience, and sometimes it is desirable to use Org-roam's
|
||||
capturing system instead. The exposed function to be used in extensions
|
||||
is ‘org-roam-capture-’:
|
||||
|
||||
• Function: org-roam-capture- &key goto keys node info props
|
||||
templates
|
||||
|
||||
-- Function: org-roam-capture- &key goto keys node info props templates
|
||||
Main entry point. GOTO and KEYS correspond to 'org-capture'
|
||||
arguments. INFO is a plist for filling up Org-roam's capture
|
||||
templates. NODE is an 'org-roam-node' construct containing
|
||||
@@ -2391,103 +2358,147 @@ File: org-roam.info, Node: Function Index, Next: Variable Index, Prev: Comman
|
||||
Appendix C Function Index
|
||||
*************************
|
||||
|
||||
| ||||