Commit Graph

12 Commits

Author SHA1 Message Date
Chris Barrett
f5e76b8f1f Prompt user just for backlink desc change when renaming 2022-09-02 22:09:23 +12:00
Chris Barrett
a79be8dd20 Generously pluralise 'backlinks' noun in y-or-n-p prompt 2022-09-02 22:08:43 +12:00
Chris Barrett
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
Chris Barrett
b07e1cb14d Teach org-roam-rewrite-rename to default to the node at point 2022-08-28 11:40:57 +12:00
Chris Barrett
aa7360176f Improve robustness of note extraction 2022-08-25 19:42:51 +12:00
Chris Barrett
932cf7ca23 Define a hook for node extraction 2022-08-24 17:35:41 +12:00
Chris Barrett
376996b02b Run a db sync after rewriting links 2022-08-18 13:38:41 +12:00
Chris Barrett
5dbfc71ed8 Suggest current node as default for rewrite commands 2022-08-18 13:32:30 +12:00
Chris Barrett
335261ab18 💄 indentation 2022-08-18 11:34:37 +12:00
Chris Barrett
49b936204b Clear the org-capture context in case it is initialised during note extraction 2022-08-18 11:34:35 +12:00
Chris Barrett
7cb098741d Fix bug in note extraction when prompts for dest path are skipped 2022-08-17 16:18:45 +12:00
Chris Barrett
a7fe8668df Add org-roam-rewrite 2022-08-16 22:48:01 +12:00