be2e163bca
Run hook after renaming a node
2022-09-26 18:23:01 +13:00
3a2e319e40
Don't ask for a node to rewrite to if we're deleting an orphan
2022-09-22 23:21:09 +12:00
29cbc44c48
Run a hook when we remove a node
2022-09-22 23:13:17 +12:00
b9c15a587f
Revert buffers after editing links
2022-09-14 11:38:20 +12:00
82349b640b
💄 comment
2022-09-14 11:38:16 +12:00
fedd7b8f29
Improve robustness of extraction w.r.t. transclusions
2022-09-13 16:40:53 +12:00
b69d1c40d1
Parameterise org-roam-rewrite-extract over node and dest
2022-09-13 15:45:38 +12:00
e33bda4a75
Assert we're at a node when extracting
2022-09-13 15:04:14 +12:00
c128693b93
Teach node deletion how to handle nodes not at top-level
2022-09-06 11:34:03 +12:00
b34b615bcc
Rename function
2022-09-06 11:20:11 +12:00
0a2b1cbcc8
s/note/node for consistency with org-roam's terminology
2022-09-06 11:19:36 +12:00
f5e76b8f1f
Prompt user just for backlink desc change when renaming
2022-09-02 22:09:23 +12:00
a79be8dd20
Generously pluralise 'backlinks' noun in y-or-n-p prompt
2022-09-02 22:08:43 +12:00
5bb395f351
Throw an error if we're attempting to update properties for some reason
...
I've noticed link rewriting will occasionally but reproducibly replace
a node's actual ID with the backlink replacement text when processing a
file.
This changeset tests whether `looking-at` actually spotted a link at
point. This _might_ address the issue, but I'm not sure exactly what's
causing it. For now, throw at error if we're in a property drawer.
2022-09-02 22:04:57 +12:00
b07e1cb14d
Teach org-roam-rewrite-rename to default to the node at point
2022-08-28 11:40:57 +12:00
aa7360176f
Improve robustness of note extraction
2022-08-25 19:42:51 +12:00
932cf7ca23
Define a hook for node extraction
2022-08-24 17:35:41 +12:00
376996b02b
Run a db sync after rewriting links
2022-08-18 13:38:41 +12:00
5dbfc71ed8
Suggest current node as default for rewrite commands
2022-08-18 13:32:30 +12:00
335261ab18
💄 indentation
2022-08-18 11:34:37 +12:00
49b936204b
Clear the org-capture context in case it is initialised during note extraction
2022-08-18 11:34:35 +12:00
7cb098741d
Fix bug in note extraction when prompts for dest path are skipped
2022-08-17 16:18:45 +12:00
a7fe8668df
Add org-roam-rewrite
2022-08-16 22:48:01 +12:00