Skip to content

Transient menu annoyingly introduces extra window when Helm mode enabled #656

@daedsidog

Description

@daedsidog
  • I have updated gptel to the latest commit and tested that the issue still exists (I have this bug with the latest commit, but I recreate the bug with the latest release)

Bug Description

Exiting out of the gptel-menu transient menu after invoking something that relies on completing read that was rerouted to Helm mode creates a buffer that stays after the transient menu has been closed.

Backend

None

Steps to Reproduce

  1. Install helm-mode and gptel
  2. Enable Helm globally with (helm-mode 1)
  3. M-x gptel-menu -i C-g C-g to introduce the aforementioned buffer (sometimes, just a single C-g is enough to exit out of gptel-menu, but other times you need two: one to exit the -i menu and another to exit gptel-menu

Image

M-x gptel-menu:

Image

-i:

Image

C-g (or C-g C-g):

Image

Additional Context

Emacs version: GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2)
OS: WSL2 Arch Linux

Helm versions:

helm-20250219.1650
helm-ag-20241028.144
helm-core-20250217.1544 
helm-project-20230608.1212

Transient version:

transient-20250216.1730

Bug can be recreated using both the latest gptel master and v0.9.7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions