GNU bug report logs -
#26513
25.2; pop-up-frames and *Completions* buffer
Previous Next
Full log
View this message in rfc822 format
> I also tried Martin's suggestion of removing the
> (select-window) call but that didn't get rid of the error for me.
Evaluating with emacs -Q
(add-to-list 'special-display-buffer-names '("*Completions*" foo))
(setq w32-grab-focus-on-raise nil)
(defun foo (buffer &optional args)
(interactive)
(let* ((mini-win (active-minibuffer-window))
(mini-frame (window-frame mini-win))
(window
(select-window
(funcall special-display-function buffer args)))
(frame (window-frame window)))
(raise-frame frame)
(redirect-frame-focus frame mini-frame)
window))
and typing
C-h f set- TAB
gets me a new frame with input focus. Evaluating with emacs -Q
(add-to-list 'special-display-buffer-names '("*Completions*" foo))
(setq w32-grab-focus-on-raise nil)
(defun foo (buffer &optional args)
(interactive)
(let* ((mini-win (active-minibuffer-window))
(mini-frame (window-frame mini-win))
(window
(funcall special-display-function buffer args))
(frame (window-frame window)))
(raise-frame frame)
(redirect-frame-focus frame mini-frame)
window))
and typing
C-h f set- TAB
gets me a new frame with input focus in the old frame.
Verified with Emacs 25 and 26 under Debian GTK+ and Windows XP.
martin
This bug report was last modified 3 years and 114 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.