[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gptel 883b5e608a 17/20: gptel-context: Extra newlines befo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gptel 883b5e608a 17/20: gptel-context: Extra newlines before separator-line |
Date: |
Sun, 23 Jun 2024 00:59:54 -0400 (EDT) |
branch: elpa/gptel
commit 883b5e608a1e49483f830a3ddb085a964311463e
Author: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Commit: karthink <karthikchikmagalur@gmail.com>
gptel-context: Extra newlines before separator-line
* gptel-context.el (gptel-context--buffer-setup): Add an extra
newline before separator lines in the context buffer. This papers
over GUI platform differences in the implementation of
`make-separator-line`.
---
gptel-context.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gptel-context.el b/gptel-context.el
index 7959b06478..1b77557d7f 100644
--- a/gptel-context.el
+++ b/gptel-context.el
@@ -355,6 +355,7 @@ context overlays, see `gptel-context--alist'."
(setq beg (point))
(insert-buffer-substring
buf (overlay-start source-ov) (overlay-end source-ov))
+ (insert "\n")
(setq ov (make-overlay beg (point)))
(overlay-put ov 'gptel-context source-ov)
(overlay-put ov 'gptel-overlay t)
@@ -366,6 +367,7 @@ context overlays, see `gptel-context--alist'."
(setq beg (point))
(insert-file-contents buf)
(goto-char (point-max))
+ (insert "\n")
(setq ov (make-overlay beg (point)))
(overlay-put ov 'gptel-context buf)
(overlay-put ov 'gptel-overlay t)
- [nongnu] elpa/gptel updated (44780a408a -> df0b424ea1), ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel ef9684206a 01/20: gptel-context: Add contexter, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel b10cd98e07 02/20: gptel-context: Implement DWIM features, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 382b409176 03/20: gptel-transient: Simplify context buffer, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel f6306b5b15 08/20: gptel-transient: Update menu for context actions, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 5d093f2135 10/20: gptel-context: Support for files as context, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 0787592609 12/20: gptel-context: Fix context deletion overlay bug, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 0abaefed38 13/20: gptel-context: Fix narrowing bug when inserting context, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel c81284479f 18/20: gptel-transient: Move context items around, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 883b5e608a 17/20: gptel-context: Extra newlines before separator-line,
ELPA Syncer <=
- [nongnu] elpa/gptel df0b424ea1 20/20: gptel-ollama: Add num_ctx option, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel ef44164614 19/20: README: Update for context features, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 56f9fc5e72 04/20: gptel-transient: Make gptel-lisp-variable more flexible, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel cbb49f92d3 05/20: gptel-context: Add gptel-context--wrap, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 2b1dbf77b1 09/20: gptel-context: Make overlays front/rear-advance, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 70e3053c42 14/20: gptel-context: Clean up context buffer setup, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 8838f88950 06/20: gptel: Add gptel--strip-mode-suffix, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 31aa385a9d 07/20: gptel-context: Invert dependency, rename contexter and lint, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 3e7a4eb83c 11/20: gptel-context: Better context buffer navigation, ELPA Syncer, 2024/06/23
- [nongnu] elpa/gptel 121d73b99d 15/20: gptel-context: wrap-function instead of string-function, ELPA Syncer, 2024/06/23