bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25521: 26.0.50; After (make-frame '((name . "foo"))) (select-frame-b


From: Alex \(QWxleA\)
Subject: bug#25521: 26.0.50; After (make-frame '((name . "foo"))) (select-frame-by-name "foo") doesn't see the frame
Date: Thu, 26 Jan 2017 13:40:42 +0200
User-agent: mu4e 0.9.19; emacs 26.0.50.1

address@hidden writes:

> "Alex (QWxleA)" <address@hidden> writes:
>>
>> Yes, the following works:
>>
>> (require 'org)
>>
>> (defun qw ()
>>   (interactive)
>>   "Create a new capture frame helper-function" 
>>   (make-frame '((name . "foo")
>>                 (width . 120)
>>                 (height . 25)))
>>   (sleep-for 0.00134)
>>   (select-frame-by-name "foo") 
>>   (org-agenda))
>>
>> If sleep gets any shorter it no longer works. The wait is short enough
>> not to be noticed. Good enough for me, thanks for the suggestion.
>
> Can you clarify if the waitless version I suggested in
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25521#8 also works?

No, the wrong frame is targeted without (select-frame-by-name "foo").
Without it, the parent-frame will run (org-agenda).

Select-frame-by-name does not work without (sleep-for 0.00134).

thanks,

Alex





reply via email to

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