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: On removing sequence_number from window structure Date: Fri, 08 Feb 2013 10:59:56 +0100 Message-ID: <5114CC9C.9040204@gmx.at> References: <510CD342.8090600@gmx.at> <87obfvz0bp.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360317618 19225 80.91.229.3 (8 Feb 2013 10:00:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 10:00:18 +0000 (UTC) Cc: emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 11:00:39 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 1U3kl4-0003b7-SY for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 11:00:38 +0100 Original-Received: from localhost ([::1]:42948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kki-0006Gv-Ay for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 05:00:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kke-0006Gl-9Y for emacs-devel@gnu.org; Fri, 08 Feb 2013 05:00:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3kkb-0000iz-Ga for emacs-devel@gnu.org; Fri, 08 Feb 2013 05:00:12 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:55177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3kkb-0000Xy-75 for emacs-devel@gnu.org; Fri, 08 Feb 2013 05:00:09 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MWvNq-1UOd9B2Yvk-00Vxiv for ; Fri, 08 Feb 2013 11:00:01 +0100 Original-Received: (qmail invoked by alias); 08 Feb 2013 10:00:01 -0000 Original-Received: from 62-47-40-201.adsl.highway.telekom.at (EHLO [62.47.40.201]) [62.47.40.201] by mail.gmx.net (mp032) with SMTP; 08 Feb 2013 11:00:01 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+ce6EbtBGcq8vVhvrnUClzn74X5CL8IBwyMEjcYj i7Y9Lq0GwSqLcx In-Reply-To: <87obfvz0bp.fsf@mail.jurta.org> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.19 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:156882 Archived-At: > Are window sequence numbers necessary from the user's point of view? No. > 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"? I suppose that (1) the gaps in such numbers due to internal windows and (2) the fact that windows hidden within saved window configurations use up numbers but are not visible anywhere, would be only disorienting. > 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. No, since the parameter would not be used as the printed representation of the value of a function that returns a window. martin