Timothy
25fcf67e64
Make fontification compose better
...
No need to clobber existing faces.
2024-06-08 22:46:43 +08:00
Timothy
3d37612603
Spelling/typo fixes in comments and docstrings
2024-06-08 22:46:43 +08:00
Timothy
421c13f80d
Introduce new autodetect in headings customisation
2024-06-08 22:46:43 +08:00
Timothy
1b9b7fd3d1
Apply export filters to terms
...
This isn't perfect, but resolves some issues with exports.
2023-03-20 23:44:59 +08:00
Timothy
407f143663
Change stage badge in readme to "refinement"
2023-02-28 22:18:19 +08:00
Timothy
f32be07786
Add screenshot to readme
2023-02-28 22:15:52 +08:00
Timothy
d8071ef6ed
Add \protect to \hyperlink in LaTeX export
...
This should fix issues where \hyperlink ends up being inserted inside
fragile commands (e.g. \caption{...}).
2023-02-28 00:47:41 +08:00
Timothy
8ac176c068
Add creating md backend spec to docs
2023-01-18 23:49:13 +08:00
Timothy
ff10653b8b
Tweak og-set-export-spec indentation
2023-01-18 23:44:31 +08:00
Timothy
2705080dd8
Bump minimum Emacs version to 28.1
2023-01-18 23:42:40 +08:00
Timothy
0d400c6ab2
Indentation tweaks
2023-01-18 23:42:30 +08:00
Timothy
62153ffa13
Fix backend spec parent resolution
...
Instead of looking for the first spec that is a parent of the given
backend, try to find the first backend along the backend-parent chain
that has a spec.
2023-01-18 23:05:06 +08:00
Timothy
cf5c8d269f
Def org-glossary-mode early for the byte-compiler
2022-12-21 00:48:39 +08:00
Timothy
4f1d4698f1
Remove duplicate let-binding
2022-12-21 00:48:13 +08:00
Timothy
0761e32723
Warn when extra glossary source does not exist
2022-12-21 00:42:17 +08:00
Timothy
44aa088f9b
Fix path-spec completion of non-file and space buf
...
The %S formatting of file names ensures the path is quoted, allowing for
paths with spaces. Before constructing an include based on the file name
though, we now first check that the buffer in fact has a file name.
2022-12-08 02:12:42 +08:00
Timothy
06df322b30
Update donation badge
2022-10-13 23:45:35 +08:00
Timothy
b45e47f733
New todo item, display plural substitutions
2022-10-13 23:35:16 +08:00
Timothy
a3ff078dee
Make the byte-compiler happy
2022-10-13 23:33:37 +08:00
Timothy
060ad369c7
Improve og-update-terms interactive calling detect
2022-10-13 23:10:09 +08:00
Timothy
e598ef072d
Add substitution text fontification
2022-10-13 23:06:22 +08:00
Timothy
d87f8ad99a
docs: mention og-display-substitute-value
2022-10-13 19:28:42 +08:00
Timothy
4f020b89eb
Fix wrong number of arguments to remove-hook
2022-10-04 00:01:59 +08:00
Timothy
8910fa28b7
Don't squash newlines in eldoc text
2022-08-07 17:47:39 +08:00
Timothy
2e41f61b45
Fontify help-echo text, and cache result
2022-08-07 17:47:13 +08:00
Timothy
3f4649d09a
Fix og--help-echo-from-textprop at buf start/end
2022-08-07 17:46:12 +08:00
Timothy
02d7ae3c50
Fix og--get-terms-oneshot for non-file path-spec
2022-08-07 17:45:24 +08:00
Henrik Lissner
7a18d9d5ea
Add Eldoc support
...
An advice is necessary because org-eldoc-documentation-function isn't
customizable, but as it's simply a list of OR'ed function calls, a
:before-until advice is elegant enough an alternative.
2022-08-07 16:40:52 +08:00
Henrik Lissner
943d6b9edf
Fix void-function org-export--prepare-file-contents error
...
`org-glossary--include-once` calls `org-export--prepare-file-contents`,
which is defined in `ox`, but `ox` is not loaded.
This happens because `org-export--prepare-file-contents` (defined in
`ox`) is called in `org-glossary--include-once`, which is called if
org-glossary-mode is given an external source to look up terms in. E.g.
(setq org-glossary-global-terms (list "~/path/to/glossary.org"))
2022-08-07 03:01:00 +08:00
Timothy
6da6d51ca2
Prevent recursive og--register-buffer-dependencies
2022-08-07 00:39:05 +08:00
Timothy
50e7446191
Enable multiline fontification when appropriate
2022-08-06 23:21:01 +08:00
Timothy
278d8146fb
Remove redundant case-fold-search binding
...
It's already bound in the relevant call to
org-glossary--mrx-search-forward.
2022-08-06 23:20:31 +08:00
TEC
df3536ffd3
Match displayed substitution capitalisation
2022-07-24 12:54:04 +08:00
TEC
061b950203
Implement sentence case capitalisation
2022-07-24 12:53:27 +08:00
TEC
9861c636b1
Add automatic term updating
2022-07-24 04:20:33 +08:00
TEC
059f8c5467
Refactor buffer switching in og-goto-term-def
2022-07-24 03:15:50 +08:00
TEC
80433a9b27
Record term hash and extra term sources in cache
2022-07-24 03:15:50 +08:00
TEC
5358fb0f69
Allow fetching extra sources from a parse tree
2022-07-24 03:15:50 +08:00
TEC
ab312e5a29
Merge multiple #+glossary_sources in a buffer
2022-07-24 03:15:50 +08:00
TEC
9642278dc9
Always update terms when entering og-mode
2022-07-24 03:08:31 +08:00
TEC
269ab35829
Allow 0-arg calling of og--complete-path-spec
2022-07-24 02:37:03 +08:00
TEC
10399b9d5e
Fix mis-placed paren
2022-07-24 00:25:55 +08:00
TEC
b2b53e8246
Shuffle some of the code between the help-echo fns
2022-07-13 23:37:15 +08:00
TEC
25bba66c3b
Fix "everything is an alisas" bug in help-echo
2022-07-13 23:35:10 +08:00
TEC
f31706ffcb
Indentation/formatting tweaks
2022-07-13 23:28:45 +08:00
TEC
d03eec48cf
Set :follow and :help-echo org link parameters
2022-07-13 23:27:58 +08:00
TEC
558eabc050
Split up help-echo into term extraction and info
2022-07-13 23:26:48 +08:00
TEC
8696ebb755
Replace newlines in def when creating candidates
2022-07-13 23:06:26 +08:00
TEC
5c40c17a68
Make og-goto-term-definition work with gls: links
2022-07-13 23:00:42 +08:00
TEC
8e9885f43a
Fix issue with already-included not propogating
...
I have no idea why nconc works and push doesn't, but testing confirms
that push is inadequate for preventing duplication.
2022-07-13 22:52:39 +08:00