From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [RFC] Getting rid of selected_window Date: Mon, 02 Dec 2013 10:06:14 -0500 Message-ID: References: <5298804A.5040405@yandex.ru> <83fvqf6xrp.fsf@gnu.org> <837gbr6llg.fsf@gnu.org> <529C9B13.1040508@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385996800 31742 80.91.229.3 (2 Dec 2013 15:06:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Dec 2013 15:06:40 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 02 16:06:45 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VnV59-0008TV-Bx for ged-emacs-devel@m.gmane.org; Mon, 02 Dec 2013 16:06:43 +0100 Original-Received: from localhost ([::1]:37324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnV58-0001qV-QF for ged-emacs-devel@m.gmane.org; Mon, 02 Dec 2013 10:06:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnV4y-0001qG-PM for emacs-devel@gnu.org; Mon, 02 Dec 2013 10:06:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnV4r-0005vV-GF for emacs-devel@gnu.org; Mon, 02 Dec 2013 10:06:32 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:39955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnV4h-0005tJ-Ly; Mon, 02 Dec 2013 10:06:15 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpY5e/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGWe4UegV6DFQ X-IPAS-Result: Av4EABK/CFFFpY5e/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGWe4UegV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="40904535" Original-Received: from 69-165-142-94.dsl.teksavvy.com (HELO pastel.home) ([69.165.142.94]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Dec 2013 10:06:15 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0325C62D4B; Mon, 2 Dec 2013 10:06:14 -0500 (EST) In-Reply-To: <529C9B13.1040508@yandex.ru> (Dmitry Antipov's message of "Mon, 02 Dec 2013 18:37:07 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166009 Archived-At: > BTW, there is another approach: what if we introduce Lisp_Fwd_Frame_Obj > and forward Vselected_window to SELECTED_FRAME()'s selected_window? Please don't! Frame-local vars are on the way to extinction and it's a good thing. Stefan