From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: On removing sequence_number from window structure Date: Sat, 02 Feb 2013 21:32:49 +0400 Message-ID: <510D4DC1.1050900@yandex.ru> References: <510CD342.8090600@gmx.at> 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 1359826377 2993 80.91.229.3 (2 Feb 2013 17:32:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Feb 2013 17:32:57 +0000 (UTC) Cc: emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 02 18:33:17 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 1U1gxo-0000JL-93 for ged-emacs-devel@m.gmane.org; Sat, 02 Feb 2013 18:33:16 +0100 Original-Received: from localhost ([::1]:36805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1gxW-0005Sc-0C for ged-emacs-devel@m.gmane.org; Sat, 02 Feb 2013 12:32:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1gxT-0005SN-6v for emacs-devel@gnu.org; Sat, 02 Feb 2013 12:32:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1gxS-0001f5-16 for emacs-devel@gnu.org; Sat, 02 Feb 2013 12:32:55 -0500 Original-Received: from forward6.mail.yandex.net ([2a02:6b8:0:202::7]:41911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1gxR-0001eo-HM for emacs-devel@gnu.org; Sat, 02 Feb 2013 12:32:53 -0500 Original-Received: from smtp9.mail.yandex.net (smtp9.mail.yandex.net [77.88.61.35]) by forward6.mail.yandex.net (Yandex) with ESMTP id 3D8F11121897; Sat, 2 Feb 2013 21:32:50 +0400 (MSK) Original-Received: from smtp9.mail.yandex.net (localhost [127.0.0.1]) by smtp9.mail.yandex.net (Yandex) with ESMTP id 14F3115200B7; Sat, 2 Feb 2013 21:32:50 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp9.mail.yandex.net (nwsmtp/Yandex) with ESMTP id WnUCh2FU-WnUCdwax; Sat, 2 Feb 2013 21:32:49 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1359826370; bh=XtlJ6crjFU7L9b57stRWuJakpqZ+LPKumYZBFglKLBE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=YGlNHwJ5BM8Se5yRNGYo/83h2QO/nCmuSDzg6iYfjUZROu914pttZqnKMPXfgENoT 8rJaBw4u7znp23V5P76r13TRlR6qrHX2vSXPgCAOhYMbZ3Kicbp4Lzx6Sr+LQ5tq0D iH8lLoIFcWf9priO4Y4NFX9twejT/iLveHc3sewQ= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <510CD342.8090600@gmx.at> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a02:6b8:0:202::7 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:156801 Archived-At: On 02/02/2013 12:50 PM, martin rudalics wrote: > I'm afraid this change > > * window.h (struct window): ... > Remove sequence_number member. ... > * window.c (sequence_number): Remove. > * print.c (print_object): Follow the printed representation of > frames and print window pointer to distinguish between windows. > > will make debugging window code rather unpleasant. It's much simpler to > think of windows in terms of sequence numbers than in terms of pointers. Why? The only reason I can imagine is age tracking (e.g. the window with smaller sequence number is always created before the window with the larger one); is that so important? Are there other reasons? Dmitry