1
0
Fork 0
Commit graph

156 commits

Author SHA1 Message Date
035fe3beb5
Mention kagi-summarize 2023-12-29 08:25:16 +01:00
86bc9517c0
Fix regexp to extract the domain name from a URL 2023-12-28 23:21:15 +01:00
94dda4d760
Add function to retrieve summaries from a text or URL
This function can be called from Lisp.
2023-12-28 23:13:40 +01:00
575ac76fa3
Perform non-greedy match between the start and end marker 2023-12-28 21:44:33 +01:00
e8950dfd56
Fix bug when bold/code contains backslashes
When a replacement text contains a literal \ in should be escaped with
another \.
2023-12-28 20:48:09 +01:00
06c65ae23b
Simplify kagi--display-summary
Pass it the summary itself, i.s.o. passing it a function to retrieve
it.
2023-12-28 19:47:59 +01:00
50be37a97e
Rename f parameter to something more descriptive 2023-12-28 18:23:46 +01:00
662d09a956
Add note about the Kagi Privacy Policy 2023-12-28 18:02:39 +01:00
5b5c91bea8
Fix call to renamed function 2023-12-28 17:43:41 +01:00
8db0c71163
Generate buffer name based on URL or current buffer name 2023-12-28 08:33:09 +01:00
e59fa41dda
Add section on Embark integration 2023-12-27 22:14:43 +01:00
7202a585f5
A bit more words on the password store 2023-12-27 21:09:33 +01:00
9ba371fee4
Add suggestion on how to override a kagi face 2023-12-27 21:04:57 +01:00
f9c65db7c2
Add faces for bold and code 2023-12-27 20:55:35 +01:00
0442dd3848
Restructure loop body 2023-12-27 20:54:34 +01:00
ef9b4c0578
Combine two markup conversion functions into one 2023-12-27 19:28:24 +01:00
8a5a59f39f
Format code snippets in output 2023-12-27 10:08:53 +01:00
c39c32ed85
Erase buffer before inserting the summary
In case there's an older summary.
2023-12-26 00:15:18 +01:00
82fcc23f46
Perform error handling 2023-12-25 23:53:30 +01:00
eb1a5a6b36
Header adjustments 2023-12-25 23:06:48 +01:00
3f3107482b
Added and adjusted docstrings 2023-12-25 21:28:44 +01:00
d8ec5b83ac
Update commentary inside kagi.el 2023-12-25 21:05:50 +01:00
3851a2ff4a
Add some docstrings 2023-12-25 13:06:56 +01:00
50939d0f9d
Update references 2023-12-25 12:40:57 +01:00
c58004c16c
Add autoloads 2023-12-25 12:34:42 +01:00
1fa0b05748
Update the README with the Universal Summarizer 2023-12-25 12:31:14 +01:00
b6b1164b26
Refactor out common parts from text and URL summary requests 2023-12-25 11:53:26 +01:00
727c18488b
Conditionally set target_language if a non-nil value was set 2023-12-25 10:08:29 +01:00
53eabd16f2
Add choices to language and model settings 2023-12-25 10:08:05 +01:00
63731e05db
Minor docstring fix 2023-12-25 08:58:47 +01:00
b257af7268
Rename language variable 2023-12-25 07:55:12 +01:00
dd5b9c90c8
Remove debug variables 2023-12-25 07:54:42 +01:00
1778140aaf
Implement URL summary 2023-12-25 00:39:06 +01:00
1cc035b8b0
Implement kagi-summarize-region
Remove duplicate functions and created function for buffer name.
2023-12-25 00:13:04 +01:00
b36b668726
Make call to the correct function 2023-12-25 00:12:44 +01:00
2d3689d936
Show summary in text-mode 2023-12-25 00:10:45 +01:00
6c5e0c1ca8
Add function to summarize a buffer 2023-12-24 23:48:28 +01:00
673554813b
Factor out the API endpoint from kagi--curl-flags 2023-12-24 23:25:07 +01:00
11865f92cf
Refactor code around the curl call
This makes passing input data and setting flags more robust.
2023-12-24 23:18:57 +01:00
0105a07695
Do some error handling whenever curl fails 2023-12-24 08:53:59 +01:00
8df4b24238
Add group keyword to customizables 2023-12-24 07:55:11 +01:00
1f60a1b2ef
Ignore *.elc 2023-12-23 23:30:04 +01:00
68ffb6b2f0
Typo fix 2023-12-23 23:29:16 +01:00
0f699b86a4
Add README 2023-12-23 19:17:08 +01:00
2c75d41f08
Add docstrings 2023-12-23 18:42:46 +01:00
a2be89eb60
Adjust package description 2023-12-23 15:58:55 +01:00
f78a206c0e
Fix package dependency 2023-12-23 15:58:38 +01:00
f74b30f80e
Use rx for the regular expression 2023-12-23 15:31:23 +01:00
cabfd25d2e
Set bold text with font-lock-face 2023-12-23 10:42:41 +01:00
9a224efcf4
Merge branch 'main' into format-html-tags 2023-12-22 22:23:19 +01:00