From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: On removing sequence_number from window structure Date: Fri, 08 Feb 2013 11:55:12 +0200 Message-ID: <83ehgr870f.fsf@gnu.org> References: <510CD342.8090600@gmx.at> <87obfvz0bp.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1360317299 16638 80.91.229.3 (8 Feb 2013 09:54:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 09:54:59 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 10:55:20 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 1U3kfv-0008DN-BY for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 10:55:19 +0100 Original-Received: from localhost ([::1]:41739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kfc-00058u-GC for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 04:55:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kfa-00058k-67 for emacs-devel@gnu.org; Fri, 08 Feb 2013 04:54:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3kfX-0007es-SJ for emacs-devel@gnu.org; Fri, 08 Feb 2013 04:54:58 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:57636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kfX-0007eN-K0 for emacs-devel@gnu.org; Fri, 08 Feb 2013 04:54:55 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MHW00A00BHZ1P00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Fri, 08 Feb 2013 11:54:53 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHW009P1BJHZ860@a-mtaout23.012.net.il>; Fri, 08 Feb 2013 11:54:53 +0200 (IST) In-reply-to: <87obfvz0bp.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:156881 Archived-At: > From: Juri Linkov > Date: Fri, 08 Feb 2013 10:17:30 +0200 > Cc: emacs-devel > > > It's much simpler to think of windows in terms of sequence numbers > > than in terms of pointers. > > Are window sequence numbers necessary from the user's point of view? They are no more necessary than the pointer to the window object we are showing now instead of the sequence. > Please address these questions as a user since as a developer > you can add something like this for debugging purposes: > > (set-window-parameter nil 'window-number (incf global-window-counter)) > > to a hook run during window creation. That'd be a nuisance. Emacs already has several features whose sole purpose is to aid in debugging; I don't see why we should break that tradition in this particular case.