826ff6acb4
Rename summary type to summary format, fix docstrings
2024-02-04 08:32:49 +01:00
8d33f85234
Fix duplicate summary_type key in request object
2024-02-04 08:29:33 +01:00
224972590a
Mention new variable in README
2024-02-03 23:03:15 +01:00
88032764df
Add changelog entry
2024-02-03 08:44:49 +01:00
42710abac6
Implement summarizer call with ability to produce a take-away
2024-02-03 07:51:06 +01:00
ed41982ed3
Merge branch 'main' into summary-takeaway
2024-02-03 07:26:52 +01:00
6627fc20d2
Version bump for bugfix release
2024-02-03 07:05:12 +01:00
a30003dc5f
Generate the buffer if it doesn't exist
2024-02-03 07:03:48 +01:00
e409be20b4
Do not insert a list element if no insert prompt is needed
2024-02-03 07:00:46 +01:00
6996098c1d
Fix buffer display
2024-02-03 07:00:31 +01:00
eb3d486534
Started with takeaway summary support
2024-02-02 21:31:05 +01:00
58a8560b8c
Version bump to 0.3
2024-02-02 21:06:57 +01:00
80bfa864e6
Add asciicasts demonstrating kagi.el functionality
2024-02-02 21:01:09 +01:00
6617fb5e82
Fix call to obtain FastGPT responses
2024-01-28 22:11:36 +01:00
fe6a9f2b64
Fix construction of the summarizer languages
2024-01-28 20:12:39 +01:00
f9fd1d294a
Merge branch 'translate'
2024-01-26 18:02:55 +01:00
e67b76b163
Mention kagi-translate
2024-01-26 17:59:15 +01:00
b9f47b194c
Take the buffer content if a buffer was chosen
2024-01-26 17:58:04 +01:00
4ab79511c9
Trim the translation result
...
Make sure the result is shown in the echo area when the translation
is a single line followed by a number of trailing newlines.
2024-01-26 07:12:47 +01:00
2240dd4a47
Handle case when no input is given to the translator
2024-01-26 07:03:38 +01:00
eabf43c3d1
Return buffer content if the user selected a buffer
2024-01-25 12:50:57 +01:00
f62a79d842
Swap arguments, source and target language were flipped
2024-01-25 12:30:07 +01:00
c86ec2f520
Update Changelog
2024-01-25 12:14:36 +01:00
cba961a2c8
Convert $italic$ to an italic face in FastGPT output
2024-01-25 10:14:11 +01:00
cb8ac81db0
Convert markdown **bold** to bold face
2024-01-25 10:10:00 +01:00
a6cf81c652
Return the language entered by the user
...
The user is free to pick any language which is not necessarily covered
by kagi--languages.
2024-01-25 08:16:11 +01:00
d0cd974683
Read source and target language from the minibuffer (with history)
2024-01-25 08:00:08 +01:00
d41a55fb98
Maintain an alist of (LANGUAGE . LANG-CODE)
...
From this list, construct a user-facing string for language selection.
Because having the language code embedded in the language name itself
is not always desired.
2024-01-25 06:11:33 +01:00
dfcc46e34b
Add kagi-translate function
2024-01-21 22:53:27 +01:00
a0dd0346a2
Do not attempt to insert in read-only buffers
2024-01-21 11:09:25 +01:00
0321b635c0
Fix prefix interpretation
2024-01-21 11:05:27 +01:00
9e1bdf8428
Update documentation for the new FastGPT functions
2024-01-21 10:51:43 +01:00
bf599591f0
Extend FastGPT function to insert result at point
...
Split the interactive and non-interactive functionality in separate
functions. This allows the interactive command to be extended with an
insert parameter.
2024-01-21 10:42:09 +01:00
f61c3c7d0f
Add kagi-fastgpt-prompt to send queries from the minibuffer or Lisp code
2024-01-21 09:16:01 +01:00
c6eb41df35
Merge branch 'main' of apps.bram85.nl:bram/kagi.el
2024-01-20 10:36:11 +01:00
8aa9510ed1
Fix typo in Korean language code
2024-01-18 20:44:30 +01:00
31115b2700
Mention kagi-bold in the configuration block
2024-01-16 21:50:15 +01:00
7f89fdbf9b
Set the alternative key binding C-c C-o from a mode hook
2024-01-16 21:47:44 +01:00
05d37eb89e
Do not ask for summary insertion for read-only buffers
2024-01-16 06:59:15 +01:00
d75542ac7f
Fix error when either language or engine are nil
2024-01-16 06:30:24 +01:00
f054879d37
Merge branch 'interactive-lang-engine-choice'
2024-01-15 16:35:47 +01:00
69993aa2f2
Merge branch 'main' of apps.bram85.nl:bram/kagi.el
2024-01-15 16:34:45 +01:00
75950967b9
Mention the help command, or suggest to use describe-keymap function
2024-01-14 14:57:54 +01:00
8b02973ad3
Add FastGPT screenshot
2024-01-14 14:57:54 +01:00
c2e13b23f8
Mention the help command, or suggest to use describe-keymap function
2024-01-14 10:14:31 +01:00
3a5d8e2181
Minor formatting
2024-01-14 10:11:45 +01:00
38c68d96fc
Update README with new summary
2024-01-14 10:05:07 +01:00
ad737301a3
Language codes should be upcased instead of downcased
2024-01-14 09:47:09 +01:00
113f98500d
Remove redundant newline
2024-01-14 09:43:32 +01:00
796018bc23
Add universal prefix support for the summarizer commands
...
These prompt the user whether the summary should be inserted at point,
which language to use and which summarizer engine to use.
2024-01-14 09:36:59 +01:00