From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: bug in 23.2.92 with anything Date: Sun, 16 Jan 2011 18:51:24 +0100 Message-ID: <4D33301C.3080100@gmx.at> References: <87aaj2asy4.fsf@gmail.com> <4D31FDEC.9050508@gmx.at> <4D32D81B.5090905@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295200301 31197 80.91.229.12 (16 Jan 2011 17:51:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Jan 2011 17:51:41 +0000 (UTC) Cc: Eli Zaretskii , thierry.volpiatto@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 16 18:51:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PeWlM-0005v9-EN for ged-emacs-devel@m.gmane.org; Sun, 16 Jan 2011 18:51:36 +0100 Original-Received: from localhost ([127.0.0.1]:45342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeWlM-0007W3-2H for ged-emacs-devel@m.gmane.org; Sun, 16 Jan 2011 12:51:36 -0500 Original-Received: from [140.186.70.92] (port=35005 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeWlD-0007Uk-VC for emacs-devel@gnu.org; Sun, 16 Jan 2011 12:51:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeWlC-00058b-Qc for emacs-devel@gnu.org; Sun, 16 Jan 2011 12:51:27 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:52022) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PeWlC-00057l-Eb for emacs-devel@gnu.org; Sun, 16 Jan 2011 12:51:26 -0500 Original-Received: (qmail invoked by alias); 16 Jan 2011 17:51:24 -0000 Original-Received: from 88-117-32-141.adsl.highway.telekom.at (EHLO [88.117.32.141]) [88.117.32.141] by mail.gmx.net (mp040) with SMTP; 16 Jan 2011 18:51:24 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX181DcoRq7s1Ucs4TS40+PBA15VQo49w9S77G2j7tB A3DUtS6WkwZxBc User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134610 Archived-At: > No argument from me here. BTW, there's another place in the redisplay > where we break this invariant, as mentioned in the corresponding > comment: > > /* When running redisplay, we play a bit fast-and-loose and allow e.g. > selected_frame and selected_window to be temporarily out-of-sync so > when we come back here via `goto retry', we need to resync because we > may need to run Elisp code (via prepare_menu_bars). */ > select_frame_for_redisplay (old_frame); > > It would be good to get rid of such risky code. Is there any reason why this should not select the window too? martin