emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stop frames stealing eachothers' minibuffers!


From: Stefan Monnier
Subject: Re: Stop frames stealing eachothers' minibuffers!
Date: Fri, 20 Nov 2020 16:36:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> (setq default-frame-alist '((minibuffer . nil)))
>>
>> (defun foo ()
>>    (interactive)
>>    (read-from-minibuffer "...?")
>>    (insert (format "%s" (selected-frame))))
[...]
> However, if I type (frame-list) into *scratch* and do C-x C-e I get only
> one frame in the list, and it has the same address in the #<frame ...>
> output as the " *Minibuf-1* 0xxxx" output.

Hmm... any chance you've missed the

    (setq default-frame-alist '((minibuffer . nil)))

or you executed it too late?
There *should* be 2 frames in the above recipe, one being
a minibuffer-only frame.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]