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: Sat, 09 Feb 2013 02:30:19 +0200 Organization: JURTA Message-ID: <87sj56cp8c.fsf@mail.jurta.org> References: <510CD342.8090600@gmx.at> <87obfvz0bp.fsf@mail.jurta.org> <5114CC9C.9040204@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360372299 25392 80.91.229.3 (9 Feb 2013 01:11:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2013 01:11:39 +0000 (UTC) Cc: emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 09 02:12:00 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 1U3yyv-000233-Dp for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2013 02:11:53 +0100 Original-Received: from localhost ([::1]:36440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3yyc-00087n-Cp for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 20:11:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3ywJ-0007kp-I8 for emacs-devel@gnu.org; Fri, 08 Feb 2013 20:09:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3ywB-0004mb-Cj for emacs-devel@gnu.org; Fri, 08 Feb 2013 20:09:04 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:54974 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3ywB-0004mV-70 for emacs-devel@gnu.org; Fri, 08 Feb 2013 20:09:03 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 475C8201D3F81D; Fri, 8 Feb 2013 17:09:01 -0800 (PST) In-Reply-To: <5114CC9C.9040204@gmx.at> (martin rudalics's message of "Fri, 08 Feb 2013 10:59:56 +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:156906 Archived-At: >> 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 Can't you then use the new window parameter for the modeline like below instead of hacking on the internal representation: (concat ; WINDOW " #" (format "%s" (window-parameter (selected-window) 'window-number)))