d87dd011aa
(fix): preserve existing description in a roam: link on replace ( #1327 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2020-12-15 19:47:51 +08:00
f2976fa3be
(fix): close files intelligently after modifying ( #1330 )
...
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com >
2020-12-15 18:33:55 +08:00
8aa793b021
(docs): org-roam-doctor: fix docs for prefix arg ( #1337 )
2020-12-12 14:34:04 +08:00
be95b42d32
(docs): fix link to org-capture ( #1329 )
...
Required capitalization.
2020-12-01 12:42:33 +08:00
cff1168ac1
(doc): fix link to manual ( #1328 )
2020-11-28 19:44:15 +08:00
06d0db736a
(internal): remove error-checking for olp ( #1326 )
...
The `org-roam-capture-find-or-create-olp` function will throw the same
error, so we don't have to explicitly catch and throw.
2020-11-24 21:09:28 +08:00
fb0662efe7
(fix): uniqify title and tag extraction ( #1325 )
...
Remove duplicates from title and tag extraction, arising from
multiple (or the same) sources.
Fixes #1324
2020-11-24 20:00:49 +08:00
9ca5461a2f
(fix): fix mode toggle not re-enabling buffer-local hooks ( #1321 )
2020-11-23 19:59:30 +08:00
33805c3ff5
(fix): don't set default-directory if no file is passed ( #1318 )
...
This fixes calls like (org-roam--with-temp-buffer nil ...). Fixes #1310 , #1316 .
2020-11-21 16:42:50 +08:00
3a4ff76508
(fix): dailies: fix capture changing window configuration ( #1314 )
...
`*-captures` commands now maintain window configuration, while the
`*-find` commands change to the file.
2020-11-21 01:27:03 +08:00
bf41352c1c
(fix): fix title change not triggering rename if new title contains old ( #1315 )
...
title
Fixes #1303
2020-11-20 21:32:36 +08:00
1b598a4618
(fix): dailies: misc fixes ( #1309 )
...
Fixes #1293
2020-11-19 23:00:33 +08:00
ab34dd138d
(fix): fix rename file corrupting database ( #1308 )
...
The rename file advice is passed relative file names: e.g. "foo.org" ->
"bar.org". This was not accounted for, and paths in the Org-roam
database are supposed to be absolute paths. This caused the storing of
relative paths in the Org-roam database, which were then never purged.
Fixes #1304
2020-11-19 22:26:59 +08:00
b17cc3b1e3
(internal): org-roam-db--update-maybe -> org-roam-db--upgrade-maybe ( #1307 )
2020-11-19 21:55:07 +08:00
f9b1e53894
(fix): do not display buffer if it is not processed in db ( #1302 )
...
Finding an Org-roam file that does not exist yet triggers the find-file
hook, resulting in an Org-roam buffer update, attempting to show the
file. However, if the file does not yet exist, attempts to show the file
will not work, since the database does not contain the relevant
information yet.
This bug has always been present, but was only recently made visible by
the code cleanups in #1284 .
Now, we ensure that the file has been processed by the database before
attempting to re-display the buffer.
Fixes #1297
2020-11-18 20:24:21 +08:00
dbed2bcf5d
(fix): set default-directory in org-roam-with-temp-buffer ( #1300 )
...
This ensures that relative paths in keywords such as `#+setupfile:` and
`#+include:` work when building cache etc.
2020-11-18 18:33:57 +08:00
060a29c91d
(fix): use correct type for org-roam-db-update-method
( #1295 )
...
Fixes #1294 .
2020-11-18 18:17:00 +08:00
8efec080e0
(ci): fix ci test flow ( #1301 )
2020-11-18 18:07:05 +08:00
61e01430e0
(perf): improve database update on 'immediate ( #1285 )
2020-11-16 21:27:23 +08:00
d70198bba9
(fix): fix cache updates on org-id creation in non-existing files ( #1288 )
...
closes #1287
2020-11-16 10:38:58 +08:00
face683e00
(internal): remove org-roam--get-title-or-slug function ( #1284 )
...
Every file has a title when saved into the database, so this function is
redundant in most cases (e.g. in org-roam-buffer, where backlinks are
fetched from the database).
2020-11-15 19:44:36 +08:00
baf0dd9d00
(doc): document tag completions ( #1282 )
2020-11-15 14:36:49 +08:00
a9fd6c0fc7
(fix): fix idle-timer not created on org-roam-mode ( #1281 )
...
Fixes #1280
2020-11-15 14:21:03 +08:00
6502874576
(doc): document completion-at-point ( #1279 )
2020-11-15 04:43:57 +08:00
8401784cd2
(doc): document org-roam-tag-sources ( #1274 )
2020-11-14 21:12:08 +08:00
6dc316c450
(doc): fix menu-comment styling ( #1273 )
2020-11-14 14:17:08 +08:00
48ef3fee11
(doc): document org-roam-title-sources
( #1271 )
2020-11-13 22:55:52 +08:00
16c520068b
(doc): Fix typo ( #1272 )
...
The `olp` option in the lab notes example was swapped.
2020-11-13 14:22:58 +01:00
b1608bf869
(feat): capture: create OLP if does not exist ( #1270 )
...
Remove the requirement that the OLP already exists in the captured file.
Also, make OLP available beyond dailies functionality.
2020-11-13 16:29:00 +08:00
cc01cf346e
(release): v1.2.3 ( #1269 )
v1.2.3
2020-11-13 14:22:18 +08:00
eaf99cba03
(doc): minor changes ( #1268 )
2020-11-13 13:17:28 +08:00
65a2cb6efd
(fix): readme: fix link to manual
2020-11-13 02:52:48 +08:00
bc12d1cf04
(feat): add org-roam-db-update-method
( #1264 )
...
* (feat): add `org-roam-db-update-method`
Add `org-roam-db-update-method`, which can be one of two choices:
1. `immediate`: the cache is updated upon file changes
2. `idle-timer`: Marks the org-roam database as dirty. If Emacs idles
for some seconds, the Org-roam cache is updated. This is the default,
and current behaviour.
The idle method makes for a smoother editing experience, but some
inconsistencies can be faced.
* org-roam-update-db-idle-seconds -> org-roam-db-update-idle-seconds
2020-11-12 19:48:40 +08:00
a86d82b20e
(fix): fix backlink-to-current-p killing buffers ( #1263 )
...
Change `org-roam--backlink-to-current-p` to only perform a DB query.
2020-11-12 16:11:35 +08:00
d4c875b53b
(doc): doc stylistic changes ( #1262 )
...
- style tables properly
- reduce pre font-size
2020-11-12 15:40:27 +08:00
2159b6a846
(web): Remove mention to company-org-roam on index.html ( #1261 )
2020-11-12 08:27:22 +01:00
1db4c22950
(doc): remove top-level TOC ( #1260 )
2020-11-12 15:13:59 +08:00
9c0f030ffd
(doc): add indexes ( #1259 )
...
Add keystroke, command, function and variable indexes
2020-11-12 14:56:48 +08:00
983d7a8798
(doc): Link org-journal to section on daily-notes ( #1258 )
2020-11-12 07:47:44 +01:00
910b37268e
(doc): make manual single-page ( #1257 )
...
This should make things easier to browse/search for. Also simplify styling.
2020-11-12 14:32:59 +08:00
d39556a78b
(fix): unlinked-references: support filenames with spaces ( #1256 )
2020-11-12 12:05:14 +08:00
167553b8ee
(doc): various improvements ( #1253 )
...
- options: explicitly enable smart quotes on export
- zettelkasten introduction: add sections for fleeting notes and
permanent notes for easier access and reference
- anatomy: add a missing period
- encryption: clarify org-roam-encrypt-files is a user option
- roam protocol: remove extraneous heading
- roam protocol: small grammar fix
- doctor: explain what the doctor does by default
- org-roam-bibtex: explain part of what orb actually does
2020-11-11 18:04:09 +08:00
76affe177a
(doc): reflect that we now allow multiple refs ( #1251 )
2020-11-11 15:42:45 +08:00
e96685b1a9
(fix): respect original link type during replacement ( #1252 )
...
During automatic link replacement, respect the original link type
i.e. absolute links remain absolute. Fixes #1228 .
2020-11-11 14:25:50 +08:00
aef71f1623
(docs): use ox-texinfo+ ( #1250 )
...
This generates texi documents with understanding of variables and
functions.
2020-11-11 13:00:49 +08:00
d913447939
(fix): Fix command signature ( #1247 )
2020-11-10 18:04:59 +01:00
47e83f7d3f
(fix): Deprecate old ord commands ( #1246 )
2020-11-10 17:57:26 +01:00
023bcce867
(internal): remove unnecessary variables ( #1244 )
...
For captures, enforce that `:file-name` needs to be specified, and
`:head` when not provided defaults to the empty string (i.e. no head)
2020-11-10 23:58:16 +08:00
4f6eb285bf
(feat): Overhaul org-roam-dailies ( #978 )
...
Implement ideas from `org-journal` to `org-roam-dailies`.
Update the doc.
2020-11-10 14:31:38 +01:00
8c81104816
(feat): unlinked-references: add error message if rg has no PCRE2 support ( #1243 )
2020-11-10 13:48:50 +08:00