0137492184
Use push instead of add-to-list
2024-08-11 23:30:18 +02:00
ffa505400c
Add a few more Embark keymaps
2024-08-11 21:51:17 +02:00
f8de57ec67
Dedicate a main section for various package integrations
2024-08-11 21:47:30 +02:00
6109a0d3b1
Update changelog
2024-08-11 17:25:10 +02:00
437d625e51
Only process the command when it's non-empty
...
Pressing RET without any prompt would send something (seemingly)
random to FastGPT, only to get a random response back the user didn't
ask for.
2024-08-11 16:18:52 +02:00
9e48fc96d5
Version 0.6
2024-08-02 23:53:14 +02:00
2b471f9e76
Merge branch 'main' into markdown-mode2
2024-07-24 21:04:16 +02:00
ec1e424a11
Update README
2024-07-24 21:00:15 +02:00
dbd6fbd97f
Remove some assertions
...
kagi--fastgpt-display-result is stubbed so it makes no sense to assert
on its implementation.,c
2024-07-24 06:50:02 +02:00
ef8edc9972
Add check that view-mode is enabled for result buffers
2024-07-23 22:17:44 +02:00
91876a5f9d
Add tests to check formatting is done by markdown-mode
2024-07-23 22:07:34 +02:00
ea77e31713
Remove irrelavant tests now we don't do our own formatting anymore
2024-07-23 21:44:32 +02:00
002393ad7a
Fix %s expansion in prompts defined with define-kagi-fastgpt-prompt
...
The expansion is done with replace-regexp-in-string, which does a
combination of string-match and replace-match. When a function is
passed to replace-regexp-in-string instead of a text, it will call
kagi--get-text-for-prompt which uses the minibuffer / completing read,
possibly messing up the (match-data) along the way that
replace-regexp-in-string relies on. Therefore, save the matching data
before calling the supplied text function, so it will be restored and
replace-regexp-in-string won't notice it.
2024-07-23 21:20:41 +02:00
714db74bb0
Apply trick to insert font-locked strings in a font-locked buffer
2024-07-23 20:05:18 +02:00
3a9964e905
Remove declare-function now we unconditionally use markdown-mode
2024-07-22 23:11:05 +02:00
ff4c4d1986
Enable view-mode instead of read-only-mode
2024-07-22 23:09:47 +02:00
36b4e3782d
Let kagi-fastgpt-prompt return a font-locked string by markdown-mode
2024-07-22 19:58:39 +02:00
54bd8466a5
Remove all own formatting code in favor of markdown-mode formatting
...
Do not attempt to format the Markdown returned by FastGPT ourselves,
but rely on markdown-mode to do this for us. This means an additional
dependency on the kagi.el package.
2024-07-22 19:49:04 +02:00
8aafb8cf7f
Enable read-only mode in FastGPT result buffers
2024-07-22 19:34:19 +02:00
153ec9a838
Fix minor typo in docstring
2024-07-22 17:28:16 +00:00
fe33c8cab1
Merge branch 'main' into markdown-mode2
2024-07-21 22:35:05 +02:00
1142c2c68c
Update changelog
2024-07-21 22:32:59 +02:00
b2fd821a80
Let the FastGPT shell use kagi-fastgpt-prompt function directly
...
Also remove the function kagi--call-fastgpt that was only called by
kagi--fastgpt, embed its content in kagi--fastgpt instead. This
reduces the call stack by 1 towards the Kagi API call.
2024-07-21 22:23:50 +02:00
823f3256c3
Switch to markdown-mode in a dedicated response buffer
...
Markdown formatting not supported (yet) in the shell.
2024-07-21 21:48:32 +02:00
3ae19c59db
Add contact section in the README file
2024-07-20 22:58:00 +02:00
9e37fd82a5
Remove typo in comment string
2024-07-20 21:46:49 +02:00
ad6cd1cf6c
Show welcome message when starting the FastGPT shell
2024-07-20 21:32:58 +02:00
eb767d1e0d
Small adaptations to the README
2024-06-29 07:57:19 +02:00
b3d45264fb
Do not track intermediate file kagi.texi
2024-04-24 22:21:34 +02:00
b9612ef119
Add note about the full changelog
2024-04-24 22:01:59 +02:00
a0e06cb928
Version bump
2024-04-24 21:37:45 +02:00
757908f5e7
Fix Cask execution by whitelisting which files to compile
2024-04-24 21:31:56 +02:00
29fd0985f2
Treat info file as text when showing diffs
2024-04-24 18:58:48 +02:00
5433a9a91d
Change the prompt for more useful output
2024-04-24 10:39:58 +02:00
2da8956e27
Small fixes
2024-04-24 10:38:14 +02:00
bc6055758e
Set Org Babel defaults for Emacs Lisp blocks in the README
2024-04-24 08:04:21 +02:00
8eb6015601
Remove variable
2024-04-23 07:51:51 +02:00
3907067195
Merge branch 'info'
2024-04-20 18:09:31 +02:00
56d059cb3a
Add changelog entry
2024-04-20 18:09:04 +02:00
d686d629b2
Adapt docstring
2024-04-20 12:17:54 +02:00
38f74f1a24
Refactored gathering of summary parameters
...
There was a bug causing the kagi-summarize-url to break, due to an
incorrect parameter set.
2024-04-20 09:54:47 +02:00
65a1487d7a
Export to info on save
2024-04-18 07:20:24 +02:00
d8422451b5
Generate info file from README
2024-04-18 06:20:57 +02:00
e38a9e1c81
README update
2024-04-15 22:10:11 +02:00
2afc2f5b6d
Move Babel section, add use-package section for it
2024-04-15 07:06:30 +02:00
0f96a54818
Add autoload directive
2024-04-14 18:58:30 +02:00
4d9338991c
Export both prompt and output by default
2024-04-14 18:27:47 +02:00
4e2a15a23d
Cache results by default
2024-04-12 23:37:10 +02:00
e19b2e4bcb
Add sentence
2024-04-12 23:21:51 +02:00
fda16c6d48
Update README
2024-04-12 23:13:05 +02:00