1
0
Fork 0
Commit graph

235 commits

Author SHA1 Message Date
2d3e55c615 Add changelog to README
Hoping that Forgejo properly expands macros.
2024-01-11 20:39:18 +01:00
7b76af8cd2 Rename variable for consistency 2024-01-11 20:23:16 +01:00
48bb880885 Rename the custom variables with the entry point URLs
Took the liberty to rename because the package is still in its
infancy. Besides, it's unlikely that anyone would change these URLs in
their init file.
2024-01-11 20:19:06 +01:00
bc0eb7023b
Detect URL properly, such that correct API call is made
This fixes issue #2. Whenever a text contains an URL anywhere, the
kagi-url-p function would return positive and the text is submitted as
an URL to the Kagi Summarizer API. Now this is only done when the
string is a URL only, otherwise the text summarizer is invoked.
2024-01-11 19:20:39 +01:00
fe72d5cebc
Add configuration example to confirm closing the FastGPT buffer
Source:

https://christiantietze.de/posts/2024/01/chatgpt-shell-confirm-close-compose-buffer/
2024-01-11 07:10:52 +01:00
1cfb4c6886
Update copyright 2024-01-10 21:46:55 +01:00
6d8f786d04
Explain C-c RET 2024-01-10 16:49:04 +01:00
93e8ab4426
Mention that the kagi package in on MELPA 2024-01-08 06:21:55 +01:00
79fcc316f0
Fix formatting 2024-01-07 22:35:28 +01:00
f2533fe259
Minor rephrase 2024-01-05 23:52:24 +01:00
4e70777b11
Put engine descriptions in the customize type specification 2024-01-05 23:50:13 +01:00
6c8cf63f7c
Fix minor typo in docstring 2024-01-05 23:06:56 +01:00
71a626e691
Add language codes to each car of the language list 2024-01-05 23:04:52 +01:00
5ae159f109 Remove uncertainty around MELPA submission
A MELPA pull request is pending at the moment of writing.
2024-01-05 22:51:57 +01:00
4524ed72a2 Allow to change the language and the summarizer engine interactively
To be extended to the other interactive functions.
2024-01-05 22:48:46 +01:00
7945594767 Rename variable for consistence 2024-01-05 22:32:42 +01:00
be2fe9dd3a Move out the languages or the engines outside the (defcustom) clause 2024-01-05 21:47:47 +01:00
f6abd8df17 Restructure the README a bit about the Kagi API setup 2024-01-05 21:09:12 +01:00
919de252c5 Interpret the prefix argument differently 2024-01-05 21:03:39 +01:00
af326af4f6 Remove stray (message) call 2024-01-05 20:50:45 +01:00
4ef9d8f494
Add ability to insert summaries at point 2024-01-05 20:44:24 +01:00
540ca654f8
Fix minor formatting 2023-12-31 20:13:45 +01:00
830532f503
Use zerop 2023-12-30 10:04:56 +01:00
49106bf695
Minor formatting 2023-12-29 23:16:23 +01:00
bf74326b6d
Revised the README a bit 2023-12-29 23:16:06 +01:00
2afd846d48
Add configuration listing and suggestions for new functions 2023-12-29 22:30:51 +01:00
7d69a7a958
Evaluate value in order to send the correct language 2023-12-29 20:29:26 +01:00
eb6c8b8bb9
Rename variables, remove the -api- infix for some
Took the liberty of doing so, since the package is still quite young,
it shoudn't affect many.
2023-12-29 08:52:47 +01:00
d12fa61748
Add flag to toggle cached results from the Summarizer API 2023-12-29 08:45:43 +01:00
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