Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatility between helm-display-buffer-reuse-frame, helm-display-buffer-in-own-frame and desktop-read #2688

Open
1 task done
scmanjarrez opened this issue Oct 21, 2024 · 0 comments
Labels

Comments

@scmanjarrez
Copy link

scmanjarrez commented Oct 21, 2024

What happened?

Hello, I've noticed that I can't load a desktop anymore when I have helm-display-buffer-in-own-frame and helm-display-buffer-reuse-frame enabled, I can't move between windows, and the Helm-Mx buffer won't open in a new frame.

How to reproduce?

This is a basic emacs configuration to reproduce it, I've only straight enabled to install helm:

;; Reduce start up time from straight due to 'find' on start
(setq straight-check-for-modifications '(check-on-save find-when-checking))
;; Install straight.el
(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

;; Install use-package
(straight-use-package 'use-package)

;; Configure use-package to use straight.el by default
(use-package straight
  :custom (straight-use-package-by-default t))

;; Better M-x menu
(use-package helm
  :bind
  (("M-x" . helm-M-x))
  :custom
  (helm-display-function 'helm-display-buffer-in-own-frame)
  (helm-display-buffer-reuse-frame t)
  )
  1. Open emacs, check that M-x opens a new frame (Helm-Mx), split emacs frame into multiple windows, I'll use this configuration as an example:
+----+----+
|    |    |
+    |----+
|    |    |
+----+----+
  1. Save desktop with desktop-save
  2. Close and open emacs, load saved desktop with desktop-read
  3. Try to run Helm-Mx, it won't open in a new frame and switching windows with C-x o won't work.

Peek 2024-10-21 10-41

Helm Version

Master branch

Emacs Version

Emacs-29.4

OS

GNU/Linux

Relevant backtrace (if possible)

No response

Minimal configuration

  • I agree using a minimal configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant