From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: On removing sequence_number from window structure Date: Fri, 08 Feb 2013 10:17:30 +0200 Organization: JURTA Message-ID: <87obfvz0bp.fsf@mail.jurta.org> References: <510CD342.8090600@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360314057 19945 80.91.229.3 (8 Feb 2013 09:00:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 09:00:57 +0000 (UTC) Cc: emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 10:01:18 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 1U3jpa-0001yG-OJ for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 10:01:14 +0100 Original-Received: from localhost ([::1]:48945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3jpH-0006ah-Vp for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 04:00:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3jpF-0006ac-D2 for emacs-devel@gnu.org; Fri, 08 Feb 2013 04:00:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3jpD-0003ah-Rq for emacs-devel@gnu.org; Fri, 08 Feb 2013 04:00:53 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:42383 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3jD3-00037D-1a for emacs-devel@gnu.org; Fri, 08 Feb 2013 03:21:25 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D6AF520195DD68; Fri, 8 Feb 2013 00:21:22 -0800 (PST) In-Reply-To: <510CD342.8090600@gmx.at> (martin rudalics's message of "Sat, 02 Feb 2013 09:50:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.218.105 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:156880 Archived-At: > 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? For frames simple sequence numbers are necessary on terminals where creating new frames increments the frame number starting from 1 to give frame names like "F1", "F2", "F3" displayed on the modeline. It's important for the users to know which frame is current by number. Is the same true for windows? For frames these sequence numbers are included in frame names. Should windows have names that could include sequence numbers like "W1", "W2", "W3"? 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.