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 12:35:55 +0100 Message-ID: <4D32D81B.5090905@gmx.at> References: <87aaj2asy4.fsf@gmail.com> <4D31FDEC.9050508@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 1295177772 29587 80.91.229.12 (16 Jan 2011 11:36:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Jan 2011 11:36:12 +0000 (UTC) Cc: thierry.volpiatto@gmail.com, Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 16 12:36:08 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 1PeQtz-00006j-42 for ged-emacs-devel@m.gmane.org; Sun, 16 Jan 2011 12:36:07 +0100 Original-Received: from localhost ([127.0.0.1]:45781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeQty-0005nt-Ij for ged-emacs-devel@m.gmane.org; Sun, 16 Jan 2011 06:36:06 -0500 Original-Received: from [140.186.70.92] (port=39381 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeQts-0005m3-Be for emacs-devel@gnu.org; Sun, 16 Jan 2011 06:36:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeQtr-0005DE-53 for emacs-devel@gnu.org; Sun, 16 Jan 2011 06:36:00 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:46901) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PeQtq-0005D6-PO for emacs-devel@gnu.org; Sun, 16 Jan 2011 06:35:59 -0500 Original-Received: (qmail invoked by alias); 16 Jan 2011 11:35:56 -0000 Original-Received: from 62-47-49-18.adsl.highway.telekom.at (EHLO [62.47.49.18]) [62.47.49.18] by mail.gmx.net (mp010) with SMTP; 16 Jan 2011 12:35:56 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19XvGViq4NXGLbKdAe53ncI2lzVTucF6IRd2ZjWcp J33370XxunMNWz 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: GNU/Linux 2.6 (newer, 3) 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:134601 Archived-At: >> Could some one rename Fselect_window to something else, add a third >> parameter to it and create a new Fselect_window that calls it (and let >> Fset_window_configuration call the new function with the new param), so >> as to get rid of this global var? > > This is what I intended to do (I thought it was pretty clear from the > discussions that this is THE right solution), but I'm traveling now > and will be back only a week from now. If no one beats me to it, I > will make this change. I posted a patch along these lines - please tell me whether it is what you had in mind. I'm almost 100% convinced that it doesn't DTRT. That parameter would have to be passed on to Fselect_frame and from there back to Fselect_window. As I said earlier, the problem is that we temporarily violate the invariant window_frame (selected_window) == selected_frame. It's like having two routines for setting the character and byte positions of point separately and calling a display routine in between. martin