You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4da9004
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
## Unreleased
4
4
5
+
- Respect `eca-chat-window-side` (and width/height) even when `eca-chat-use-side-window` is nil, displaying the chat on that side via `display-buffer-in-direction`. To avoid overlapping/duplicate windows, placement now reuses the window already showing the chat, otherwise replaces another visible chat window in place (new-tab behavior), and only opens a new window when there is nothing to reuse.
5
6
- Bugfix: `eca-chat-add-context-to-user-prompt` and `eca-chat-add-filepath-to-user-prompt` no longer error with `window-live-p, nil` when the chat buffer is not visible; the chat window is now displayed first. With a prefix arg (`C-u`) they add the context without selecting the chat window, leaving point where it was. #266
6
7
- Bugfix: don't move the cursor while the chat is streaming. `eca-chat-content-received` rendered without a `save-excursion`, so content streamed above the prompt (e.g. while "thinking") dragged point up to the middle of the buffer; point is now preserved.
7
8
- Bugfix: keep the `:usage` and `:trust` mode-line segments visible after adding the context-usage bar. The right-alignment reserved space from `(length right)`, which counts the bar's pixel-width `display` spaces (and wide glyphs) as ~1 char each, so the segments overflowed off the right edge. It now measures the real rendered width via `string-pixel-width` and aligns flush to the right edge in pixels (Emacs 29+ only; on Emacs 28 right segments follow left without alignment).
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,10 +134,10 @@ Chat
134
134
-`eca-chat-parent-mode`: Set major-mode of chat parent, can be `markdown-mode`, `markdown-view-mode` or `gfm-view-mode` (default)
135
135
-`eca-chat-mode-hook`: Hooks to run after entering `eca-chat-mode`.
136
136
-`eca-chat-finished-hook`: Hooks to run after finishing a chat prompt.
137
-
-`eca-chat-use-side-window`: Whether the chat buffer is displayed in a side window or a normal window.
138
-
-`eca-chat-window-side`: On which side (`left`, `right`, `top`, `bottom`) the chat side window appears.
139
-
-`eca-chat-window-width`: Width of the chat side window when on the left or right.
140
-
-`eca-chat-window-height`: Height of the chat side window when on the top or bottom.
137
+
-`eca-chat-use-side-window`: Whether the chat buffer is displayed in a dedicated side window or a normal window. Either way it is placed on `eca-chat-window-side`.
138
+
-`eca-chat-window-side`: On which side (`left`, `right`, `top`, `bottom`) the chat window appears (respected for both side and normal windows).
139
+
-`eca-chat-window-width`: Width of the chat window when on the left or right.
140
+
-`eca-chat-window-height`: Height of the chat window when on the top or bottom.
141
141
-`eca-chat-focus-on-open`: Whether to focus the chat window when it opens.
142
142
-`eca-chat-auto-add-repomap`: Whether to automatically include repoMap context when opening ECA.
143
143
-`eca-chat-auto-add-cursor`: Whether to automatically track the cursor position and add it as context.
0 commit comments