popper icon indicating copy to clipboard operation
popper copied to clipboard

auto-hide does not work on *Warnings* buffer when display-warning is called

Open gvannoye opened this issue 4 months ago • 1 comments

Minimal configuration:

(use-package popper
:custom
  (popper-reference-buffers
   '(("\\*Warnings\\*" . hide)))
  :init (popper-mode +1))

To reproduce the bug, execute the following snippet:

(display-warning :warning "test")

Expected behavior: the *Warnings* buffer should not be displayed. Seen behavior: the *Warnings* buffer is displayed.

Thanks a lot for the package and any help you could bring!

gvannoye avatar Jul 30 '25 08:07 gvannoye

Expected behavior: the Warnings buffer should not be displayed. Seen behavior: the Warnings buffer is displayed.

The 'hide' setting only applies once, when the buffer is created. If you want the window to never show at all, you can add a display-buffer-alist entry for "\Warnings\".

karthink avatar Aug 13 '25 17:08 karthink