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
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: 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).
6
7
- Bugfix: closing a chat (`kill-buffer`, `C-c C-k`, or the tab close button) now switches the chat window to a sibling chat (the previous tab, or the only one left) instead of falling back to an unrelated buffer like the settings buffer, and drops the dead chat from the session registry. `C-c C-k` (`eca-chat-reset`) only starts a fresh chat when the closed chat was the last one.
7
8
- Add `eca-chat-copy-at-point`, bound to `C-c C-w`. It copies the fenced code block at point, the assistant response at point, or the latest response as a fallback.
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