From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25521: 26.0.50; After (make-frame '((name . "foo"))) (select-frame-by-name "foo") doesn't see the frame Date: Fri, 27 Jan 2017 09:56:02 +0200 Message-ID: <83vat10wdp.fsf@gnu.org> References: <87a8agrwwx.fsf@gmail.com> <83lgtz3jdf.fsf@gnu.org> <87mvefk54q.fsf@gmail.com> <87inp2u2nn.fsf@users.sourceforge.net> <87r33qm4lh.fsf@gmail.com> <87a8adubtz.fsf@users.sourceforge.net> <877f5hq0tl.fsf@gmail.com> <87ziids1j2.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1485503832 4238 195.159.176.226 (27 Jan 2017 07:57:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2017 07:57:12 +0000 (UTC) Cc: 25521@debbugs.gnu.org, qwxlea@gmail.com To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 27 08:57:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cX1P7-0000RB-2n for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jan 2017 08:57:05 +0100 Original-Received: from localhost ([::1]:43258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX1PC-0003c8-Fq for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jan 2017 02:57:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX1P7-0003c3-4c for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 02:57:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cX1P4-0005q8-5A for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 02:57:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48712) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cX1P4-0005q2-1V for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 02:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cX1P3-0003pW-RC for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 02:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Jan 2017 07:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25521 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25521-submit@debbugs.gnu.org id=B25521.148550378414674 (code B ref 25521); Fri, 27 Jan 2017 07:57:01 +0000 Original-Received: (at 25521) by debbugs.gnu.org; 27 Jan 2017 07:56:24 +0000 Original-Received: from localhost ([127.0.0.1]:46910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cX1OS-0003oc-Lp for submit@debbugs.gnu.org; Fri, 27 Jan 2017 02:56:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cX1OR-0003oQ-Go for 25521@debbugs.gnu.org; Fri, 27 Jan 2017 02:56:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cX1OJ-0005jm-4S for 25521@debbugs.gnu.org; Fri, 27 Jan 2017 02:56:18 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cX1OJ-0005ji-1J; Fri, 27 Jan 2017 02:56:15 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3960 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cX1OH-0001yg-OD; Fri, 27 Jan 2017 02:56:14 -0500 In-reply-to: <87ziids1j2.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128645 Archived-At: > From: npostavs@users.sourceforge.net > Cc: 25521@debbugs.gnu.org, Eli Zaretskii > Date: Thu, 26 Jan 2017 21:02:41 -0500 > > > I wonder whether we should reinstate a wait there, but make it limited > > so that it never infloops. Otherwise, these issues will continue to > > haunt us and the users. > > This case can be solved in a simpler way, and in the other case > (Bug#25511), I believe Martin was saying something similar, so I think > it would be a bit premature to add the busy wait again. Issues with rare use cases usually take many moons to emerge, but in this case the complaints started right away. So it seems like the elimination of the loop interferes with non-rare use cases, which means we will probably be seeing much more of similar complaints in the future, including for stuff people do in their init files without too detailed understanding of the underlying machinery. I'd expect at least some of these case not easily solved, and in any case it's a nuisance to users and Lisp package developers. What's more, a similar loop still exists on w32, so we will have subtly different behavior on different platforms. Reinstating the loop, but without the danger of inflooping, could have taken care of these issues in advance. Thus my proposal.