TEC
c746ebf302
Incomprehensible fix for incomprehensible bug
...
For reasons that are utterly beyond me, it seems that /somehow/ the if
statement in `org-glossary--print-terms-singular' would append the both
the true/false values together when the predicate is non-nil! It is hard
to be certain of this though, because re-evaluating this function (even
when the body was unchanged) changed the behaviour.
For now, reversing the list of extra parameters makes this behave as
expected. Perhaps I could dig deeper, but I fear for my sanity should I
continue.
2022-07-10 20:13:12 +08:00
TEC
5ae080144f
Add convinience function for tweaking export spec
2022-07-10 20:13:12 +08:00
TEC
7d7481b65d
More robust alias detection in help-echo
2022-07-10 20:13:12 +08:00
TEC
086f66f787
Normalise case when grouping by first letter
2022-07-10 20:13:12 +08:00
TEC
0c4ce4c14e
Auto-add :only-contents with #+glossary_sources
2022-07-10 20:13:12 +08:00
TEC
956cdacf38
Use non-canonical key/key-nonse in glsdef export
2022-07-10 20:13:11 +08:00
TEC
b3cb473a6e
Update \labelcpageref example and add to docstring
2022-07-10 20:13:11 +08:00
TEC
1a67e4095e
Minor docs correction
2022-07-10 20:13:11 +08:00
TEC
e9c14b33bc
Use the key nonce over the key in export specs
2022-07-10 20:13:11 +08:00
TEC
6d42a0b5dc
Don't use the canonical term for num uses
2022-07-10 20:13:11 +08:00
TEC
213038ff02
Capitalise term names in glossary
2022-07-10 20:13:11 +08:00
TEC
9cea634dc6
Remove completed todo items
2022-07-10 20:13:06 +08:00
TEC
aa9ec43871
Add keyword completion
2022-07-10 20:12:39 +08:00
TEC
59b289ed6f
New feature, glossary sources
...
It's basically a more convenient #+include.
2022-07-10 20:12:39 +08:00
TEC
5b23244b46
Resolve nested includes with appropriate directory
2022-07-10 20:12:39 +08:00
TEC
9080d0be58
New todo item, style collections
2022-07-10 20:12:39 +08:00
TEC
d716332702
Support aliases in generated glossaries
2022-07-10 20:12:35 +08:00
TEC
81d9fe0d87
User a more appropriate term sorting predicate
2022-07-10 01:45:50 +08:00
TEC
b88c5bd0e1
Add option to canonicalise aliases
2022-07-10 01:45:50 +08:00
TEC
98a6d4957c
Use custom description as the term value
2022-07-10 01:45:50 +08:00
TEC
29fba5d876
Factor out magic string into defconst
2022-07-10 01:45:50 +08:00
TEC
4757c92ac8
New todo item, alias canonicalisation
2022-07-10 01:45:50 +08:00
TEC
e2b3d37be5
Make og-goto-term-def return the term in question
2022-07-09 19:42:27 +08:00
TEC
5eee056183
Sometimes clear quicklookup cache when new terms
2022-07-09 19:41:48 +08:00
TEC
396a08c19f
Improve detection of proper nouns like "Z disc".
2022-07-09 19:40:20 +08:00
TEC
618158fde9
New todo item, include aliasse in generated glsry
2022-07-08 01:46:36 +08:00
TEC
c89ab97a4e
When applying terms register alias-for too
2022-07-08 01:36:08 +08:00
TEC
eb813cd56e
Strip newline + indentation in help echo text
2022-07-08 00:31:31 +08:00
TEC
97cfeb68c2
Make og--mrx-search-forward case sensitive
2022-07-08 00:29:09 +08:00
TEC
c3e4e3c12e
Display term alias info in help echo
2022-07-08 00:25:28 +08:00
TEC
316f8d060f
Fix click to go to definition
2022-07-07 23:43:51 +08:00
TEC
d9a346be06
Fix bug in item tag interpreting
2022-07-07 23:25:11 +08:00
TEC
477e8e4b8c
Only notify term scan time if >0.1s
2022-07-07 23:24:48 +08:00
TEC
61e3c3381f
Improve og-update-terms status message
2022-07-07 23:24:30 +08:00
TEC
6b43206108
Support org-derived modes
2022-07-07 23:24:13 +08:00
TEC
d250be4f43
Fix accidental recursion with global term adding
2022-07-07 23:22:32 +08:00
TEC
c520d66cd8
Fix logical gaps in og--quicklookup
2022-06-19 19:13:07 +08:00
TEC
8e75cc07ce
Fix code I forgot to update in use extraction
2022-06-19 13:00:30 +08:00
TEC
4a928ede20
Sort out some free variables
2022-06-19 13:00:30 +08:00
TEC
a2fcdd6bf1
Convert sentance case terms to lowercase
2022-06-19 13:00:30 +08:00
TEC
69fe67d1a7
Don't special-case mrx term capitalisation on acr
2022-06-19 13:00:30 +08:00
TEC
06089f27ad
Deduplicate #+include paths
2022-06-18 22:05:46 +08:00
TEC
65d54304df
Make use of org-with-wide-buffer
2022-06-18 18:48:52 +08:00
TEC
6e7b1c9622
Turn hardcoded letter thresholds into custom var
2022-06-18 17:24:31 +08:00
TEC
510542f6bb
Tweak the default value of og-export-specs
2022-06-18 17:13:46 +08:00
TEC
564ea4b034
Treat :heading like :{category,letter}-heading
2022-06-18 17:11:35 +08:00
TEC
f48661ace5
Add key nonces
2022-06-18 17:08:47 +08:00
TEC
92ed9657e8
Use og--export-instance for letters
2022-06-18 16:35:09 +08:00
TEC
3816283a3c
Make og--export-template format str case sensitive
2022-06-18 16:35:09 +08:00
TEC
da2e97c9ad
Fix glossary sort order
2022-06-18 16:32:38 +08:00
TEC
022e07614b
Add og-insert-term-reference command
2022-06-18 14:32:09 +08:00
TEC
2f1e584034
Fix mistake in og-english-plural
2022-06-18 14:31:54 +08:00
TEC
b17b08bbfc
Rename :letter-separator -> :letter-heading
2022-06-18 14:31:44 +08:00
TEC
4b1e4377ef
Mention ability to have a template function
2022-06-17 23:00:32 +08:00
TEC
7ede2f01c0
Update TODO (categories exist now)
2022-06-17 22:40:53 +08:00
TEC
d8820b1238
Create term definition function
2022-06-17 22:21:03 +08:00
TEC
9c1f79c82d
Add def creation function
2022-06-17 22:07:16 +08:00
TEC
58c00db2e1
Rename og-term-definition: or-goto-term-definition
2022-06-16 21:17:37 +08:00
TEC
fe85bd1e2d
Resolve aliases globally, not locally
2022-06-16 20:08:25 +08:00
TEC
157abbee60
Alias support
2022-06-16 19:45:30 +08:00
TEC
fbba925322
Fix oversights in go to def
2022-06-16 00:29:45 +08:00
TEC
73d75ec31c
New todo item, term aliases
2022-06-16 00:18:09 +08:00
TEC
8fae324eb0
Add support for an :all print argument
2022-06-16 00:17:28 +08:00
TEC
95e00d8f71
Refactor use extraction
2022-06-16 00:14:15 +08:00
TEC
9d4dff2578
Set category criteria to tag not todo keyword
2022-06-15 21:40:19 +08:00
TEC
67b868c9d4
Fix typo in plural replacement rule
2022-06-15 21:32:42 +08:00
TEC
ce874c6175
Fix, don't set-default, set the toplevel default
2022-06-15 18:43:54 +08:00
TEC
9216fd309b
Interpret a nil template as an empty template
2022-06-15 18:43:38 +08:00
TEC
df29523050
Allow for omission of plural forms
2022-06-15 18:43:20 +08:00
TEC
16dd3495ba
Category support
2022-06-15 18:41:12 +08:00
TEC
9c33b4c96d
Docstring improvements
2022-06-14 23:43:22 +08:00
TEC
74233313fa
Don't include empty headings
2022-06-14 23:41:57 +08:00
TEC
4b1cb00c45
Two quick fixes for bugs that recently crept in
2022-06-14 23:41:29 +08:00
TEC
345916b00c
Generalise (mostly) glossary/acronym/substitution
2022-06-14 23:11:16 +08:00
TEC
5538323102
Don't find uses of terms in og--update-terms
...
This saves a /lot/ of time when working in large files with many terms
and org-glossary-mode on.
2022-06-14 16:59:52 +08:00
TEC
0aa5b1efce
Message progress updates in apply-terms
2022-06-14 16:59:33 +08:00
TEC
2fa0e9a2c2
Support for matching thousands of terms
2022-06-14 16:59:29 +08:00
TEC
45d8c9e9a6
Refactor term grouping
2022-06-14 02:50:47 +08:00
TEC
43ae424be5
Notify change in available terms on update-terms
2022-06-14 02:47:05 +08:00
TEC
fe19488af5
Actually use global term sources
2022-06-14 02:35:43 +08:00
TEC
2bf43e3419
Add support for displaying substitution result
2022-06-13 01:18:45 +08:00
TEC
1cfa574629
Support #+.index via special stub description
2022-06-13 00:47:46 +08:00
TEC
b208c55b5e
Pass extra params through in og--export-template
2022-06-13 00:47:46 +08:00
TEC
e4a469ed33
Keep link description in og--update-link
2022-06-13 00:47:46 +08:00
TEC
5871d6b054
Might as well pass along link description info
2022-06-13 00:47:46 +08:00
TEC
f8736c4970
Don't apply to term instances in unparsed keywords
2022-06-13 00:47:46 +08:00
TEC
30fea8eefd
New TODO item, support for index sections
2022-06-11 23:17:51 +08:00
TEC
5937d98956
Introducing #+print_glossary!
2022-06-11 23:17:48 +08:00
TEC
17f4b91c3a
Allow keeping unused terms when applying
2022-06-11 22:55:28 +08:00
TEC
74b2f45f92
Fix docstring, remove unused arg, fix wrong arg
2022-06-11 22:43:19 +08:00
TEC
990231a7a2
Terms in headings are a bit dodgy
2022-06-11 22:29:23 +08:00
TEC
5b910ca2eb
Generate * before :heading, + allow for no heading
2022-06-11 22:03:26 +08:00
TEC
63ef072061
Sort usage backrefs by usage order
2022-06-11 21:36:16 +08:00
TEC
a8f33ab05e
Add simpler fontification as an option
2022-06-11 14:30:59 +08:00
TEC
6c6462079d
Add per-type faces
2022-06-11 14:14:12 +08:00
TEC
e48c41e531
Fix two minor bugs
2022-06-11 03:22:09 +08:00
TEC
7428b27a8b
Refactor print-terms + related functions
2022-06-11 03:14:32 +08:00
TEC
d797c1c033
Require cl-lib and subr-x when byte-compiling
2022-06-11 02:59:12 +08:00
TEC
3d1974baf5
Tentative addition of a global terms source
2022-06-11 02:49:54 +08:00
TEC
81ec833c8b
Add default export spec for ascii
2022-06-11 02:18:38 +08:00