masm11 / emacs

Mirror of GNU Emacs
http://www.gnu.org/software/emacs/
GNU General Public License v3.0
198 stars 14 forks source link

X-widget: Buffer is not being re-displayed #73

Closed A6GibKm closed 3 years ago

A6GibKm commented 3 years ago

Same setup of opening a file with xwidget as the previous two bugs. This time around run counsel-M-x to extend the buffer and the xwidget buffer will not be re displayed after quiting counsel-M-x.

Steps to reproduce:

With the following .emacs file

(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
(package-initialize)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

(eval-when-compile
  (require 'use-package))

(use-package counsel
  :ensure t)

The counsel minibuffer should disappear and the xwidget should be re displayed, see screencast below.

Screencast from 10-16-2020 12:37:40 PM.zip

A6GibKm commented 3 years ago

Not reproducible in the master branch of Emacs. Incidentaly, vanilla emacs is providing a way worse experience than pgtk due to some flashes of the previous buffer :tada:.

A6GibKm commented 3 years ago

I think it should be possible to reproduce this using C-x C-b to list buffers. No need for the config or counsel.

masm11 commented 3 years ago

confirmed with counsel-M-x and C-g.