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: Window configurations Date: Sun, 06 Jun 2010 12:38:30 +0200 Message-ID: <4C0B7AA6.2090400@gmx.at> References: <4BB4CF6B.2000007@alice.it> <871vdu6qn5.fsf@mail.jurta.org> <87bpcv1wvt.fsf@mail.jurta.org> <4BE13828.2030609@gmx.at> <87vdb2qo82.fsf@mail.jurta.org> <4BE27C17.3030005@gmx.at> <87vdav4vx5.fsf@mail.jurta.org> <4BE900E7.3090402@gmx.at> <87r5liqv8f.fsf@mail.jurta.org> <4BEA74DC.2060103@gmx.at> <87y6fns8qo.fsf@mail.jurta.org> <4BECF4D6.9030707@gmx.at> <87632na2af.fsf@mail.jurta.org> <4C03F1B5.8040708@gmx.at> <4C04D1BF.9070902@gmx.at> <87zkzcse1j.fsf@mail.jurta.org> <4C08B53C.7040304@gmx.at> <877hmezpvu.fsf@mail.jurta.org> <4C0A47BF.7010202@gmx.at> <87d3w5nuki.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275820733 4587 80.91.229.12 (6 Jun 2010 10:38:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Jun 2010 10:38:53 +0000 (UTC) Cc: Stefan Monnier , Emacs To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 06 12:38:51 2010 connect(): No such file or directory 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 1OLDFf-0005tF-AR for ged-emacs-devel@m.gmane.org; Sun, 06 Jun 2010 12:38:47 +0200 Original-Received: from localhost ([127.0.0.1]:37988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLDFe-0002np-F8 for ged-emacs-devel@m.gmane.org; Sun, 06 Jun 2010 06:38:46 -0400 Original-Received: from [140.186.70.92] (port=40529 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLDFU-0002nf-LQ for emacs-devel@gnu.org; Sun, 06 Jun 2010 06:38:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLDFT-0006EI-N2 for emacs-devel@gnu.org; Sun, 06 Jun 2010 06:38:36 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:37643) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OLDFT-0006Dv-AK for emacs-devel@gnu.org; Sun, 06 Jun 2010 06:38:35 -0400 Original-Received: (qmail invoked by alias); 06 Jun 2010 10:38:32 -0000 Original-Received: from 62-47-44-102.adsl.highway.telekom.at (EHLO [62.47.44.102]) [62.47.44.102] by mail.gmx.net (mp015) with SMTP; 06 Jun 2010 12:38:32 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX189qSpjp0A9vbPY0QTs6P7KFavQdLUZ/1QBLSUB3c /tfb6aWV7LdnOS User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87d3w5nuki.fsf@mail.jurta.org> 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:125556 Archived-At: >> PS: I'm not sure whether in Fselect_window this [...] >> stuff should be moved in front of the >> >> if (EQ (window, selected_window)) >> return window; >> >> as well. Any ideas? > > But this will move it in front of Fset_buffer too. Is this right? I'm afraid not. It would probably also interact badly with the set_marker_both stuff. I suppose most of what is missing here is later covered up by the command loop synchronizing selected window and current buffer via set_buffer_internal_1. One of my favorite mysteries is why, when WINDOW is already selected, `select-window' should not set the current buffer. martin