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: On removing sequence_number from window structure Date: Sat, 09 Feb 2013 09:20:03 -0500 Message-ID: References: <510CD342.8090600@gmx.at> <87obfvz0bp.fsf@mail.jurta.org> <5114CC9C.9040204@gmx.at> <87sj56cp8c.fsf@mail.jurta.org> <51161506.40702@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360419621 9245 80.91.229.3 (9 Feb 2013 14:20:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2013 14:20:21 +0000 (UTC) Cc: Juri Linkov , emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 09 15:20:41 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 1U4BID-0002Go-Gh for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2013 15:20:37 +0100 Original-Received: from localhost ([::1]:51892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4BHr-0007gN-Qf for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2013 09:20:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4BHp-0007gA-15 for emacs-devel@gnu.org; Sat, 09 Feb 2013 09:20:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4BHk-0005NU-6V for emacs-devel@gnu.org; Sat, 09 Feb 2013 09:20:10 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:17557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4BHk-00059R-3n for emacs-devel@gnu.org; Sat, 09 Feb 2013 09:20:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSSIHgbBLZEKA4hhlnuFHoFegxU X-IPAS-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAs0EhQYDSSIHgbBLZEKA4hhlnuFHoFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="860363" Original-Received: from 69-165-153-237.dsl.teksavvy.com (HELO pastel.home) ([69.165.153.237]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 09 Feb 2013 09:20:03 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 64260593BF; Sat, 9 Feb 2013 09:20:03 -0500 (EST) In-Reply-To: <51161506.40702@gmx.at> (martin rudalics's message of "Sat, 09 Feb 2013 10:21:10 +0100") 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.182 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:156921 Archived-At: >> 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))) > Sure. But it wouldn't be of any help when the value of a function > returning a window prints differently. Of course we could incorporate this property in the # printout. Stefan