Subject: Re: bug#17736: 24.4.50; *-mouse-1 acts on wrong frame

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 04 Dec 2020 12:57:13 +0100

Drew Adams <[email-masked]> writes:

> Put this code in a file:
>
> -------------------------
> (defun 1on1-emacs () ""
>   (interactive)
>   (setq default-frame-alist (list (cons 'minibuffer nil)))
>   (setq pop-up-frames  t)
>   (setq minibuffer-frame-alist 1on1-minibuffer-frame-alist)
>   (make-frame 1on1-minibuffer-frame-alist)
>   (setq minibuffer-auto-raise t)
>   (setq w32-grab-focus-on-raise nil))
>
> (global-set-key [C-S-mouse-1]
> 		(lambda () (interactive)
>                    (message "FR: %S" (selected-frame))))
> -------------------------
>
> runemacs.exe -Q --debug-init  -l "onetest.el" -f "1on1-emacs"

This recipe just gives me an error:

1on1-emacs: Symbol’s value as variable is void: 1on1-minibuffer-frame-alist

Do you have a working recipe that demonstrates this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no