Skip to content

Add regression tests for shell buffer selection ordering#3

Merged
timvisher-dd merged 1 commit intomainfrom
timvisher/fix-shell-buffer-selection-ordering
Mar 15, 2026
Merged

Add regression tests for shell buffer selection ordering#3
timvisher-dd merged 1 commit intomainfrom
timvisher/fix-shell-buffer-selection-ordering

Conversation

@timvisher-dd
Copy link
Copy Markdown
Owner

@timvisher-dd timvisher-dd commented Mar 15, 2026

Closes xenodium#344

Regression tests validating that agent-shell-buffers and agent-shell-project-buffers reflect (buffer-list) ordering correctly. Covers switch-to-buffer and select-window promoting, with-current-buffer not promoting, bury-buffer demoting, never-displayed buffers staying at the end, and project filtering preserving order.

Checklist

  • I agree to communicate (PR description and comments) with the author myself (not AI-generated).
  • I've reviewed all code in PR myself and will vouch for its quality.
  • I've read and followed the Contributing guidelines.
  • I've filed a feature request/discussion for a new feature. N/A tests only
  • I've added tests where applicable.
  • I've updated documentation where necessary.
  • I've run M-x checkdoc and M-x byte-compile-file.

Validate that agent-shell-buffers and agent-shell-project-buffers
reflect (buffer-list) ordering correctly: switch-to-buffer and
select-window promote, with-current-buffer does not, bury-buffer
demotes, and project filtering preserves order.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@timvisher-dd timvisher-dd marked this pull request as ready for review March 15, 2026 19:38
@timvisher-dd timvisher-dd merged commit fbb25dc into main Mar 15, 2026
1 check passed
timvisher-dd added a commit that referenced this pull request Mar 15, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
timvisher-dd added a commit that referenced this pull request Mar 15, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
timvisher-dd added a commit that referenced this pull request Mar 16, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
timvisher-dd added a commit that referenced this pull request Mar 17, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant