[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gptel 3fb064a763 181/273: gptel: Better handling of read-o
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gptel 3fb064a763 181/273: gptel: Better handling of read-only bufs |
Date: |
Wed, 1 May 2024 10:02:21 -0400 (EDT) |
branch: elpa/gptel
commit 3fb064a76334c1b04c0e1f6584b8b29f5110d9c5
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
gptel: Better handling of read-only bufs
* gptel.el (gptel--insert-response): Turn on visual-line-mode in
the response buffer that is created when the gptel buffer is
read-only.
* gptel-curl.el (gptel-curl--stream-insert-response): Ditto.
---
gptel-curl.el | 1 +
gptel.el | 1 +
2 files changed, 2 insertions(+)
diff --git a/gptel-curl.el b/gptel-curl.el
index e2907877fc..46611766a2 100644
--- a/gptel-curl.el
+++ b/gptel-curl.el
@@ -284,6 +284,7 @@ See `gptel--url-get-response' for details."
(message "Buffer is read only, displaying reply in buffer \"*ChatGPT
response*\"")
(display-buffer
(with-current-buffer (get-buffer-create "*ChatGPT response*")
+ (visual-line-mode 1)
(goto-char (point-max))
(move-marker (plist-get proc-info :position) (point)
(current-buffer))
(current-buffer))
diff --git a/gptel.el b/gptel.el
index d34cdc6bd1..75f24a6e29 100644
--- a/gptel.el
+++ b/gptel.el
@@ -889,6 +889,7 @@ See `gptel--url-get-response' for details."
(message "Buffer is read only, displaying reply in buffer \"*ChatGPT
response*\"")
(display-buffer
(with-current-buffer (get-buffer-create "*ChatGPT response*")
+ (visual-line-mode 1)
(goto-char (point-max))
(move-marker start-marker (point) (current-buffer))
(current-buffer))
- [nongnu] elpa/gptel 1ada9c9214 031/273: gptel: Handle insertion with region-active correctly, (continued)
- [nongnu] elpa/gptel 1ada9c9214 031/273: gptel: Handle insertion with region-active correctly, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel d77c8f37c5 057/273: gptel: Improve header-line-format, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 6419e8f021 120/273: gptel: Add multi-llm support, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel aa50cbab70 123/273: gptel: Bump version, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel c97778d5a8 127/273: gptel: address byte-compile and checkdoc warnings, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 3e361323d5 137/273: Update available OpenAI GPT models to match API (#146), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 32dd463bd6 160/273: README: Mention YouTube demo, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 3ac5963080 168/273: README: Add instructions for Llamafile, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel bea31e33e2 175/273: gptel-ollama: Use default host in gptel-make-ollama, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel c6a07043af 179/273: gptel-kagi: Add support for Kagi FastGPT, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 3fb064a763 181/273: gptel: Better handling of read-only bufs,
ELPA Syncer <=
- [nongnu] elpa/gptel e79e386964 191/273: README: Move gptel-request to FAQ, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel a61fda4661 197/273: gptel-transient: better multi-line directive editing, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 226f8f0d90 208/273: gptel: Add customizable display-action (#216), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 8ba07d042c 210/273: gptel: Bump version, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel a32f4effe5 215/273: gptel-curl: Handle empty responses correctly, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel e5f54d1d09 229/273: gptel-anthropic: Modify order of request items, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel f529457bbe 232/273: gptel: Use visual-line-mode when ediff-ing, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 9eea4be5ed 245/273: gptel-transient: Fix gptel-menu definition bug (#265), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 6d3e4a99f5 236/273: gptel-transient: Rename additional-directive functions, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 5d069cfca8 243/273: gptel-anthropic: Simplify stream parser, ELPA Syncer, 2024/05/01