all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Antipov <dmantipov@yandex.ru>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: On removing sequence_number from window structure
Date: Sat, 02 Feb 2013 21:32:49 +0400	[thread overview]
Message-ID: <510D4DC1.1050900@yandex.ru> (raw)
In-Reply-To: <510CD342.8090600@gmx.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




  reply	other threads:[~2013-02-02 17:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-02  8:50 On removing sequence_number from window structure martin rudalics
2013-02-02 17:32 ` Dmitry Antipov [this message]
2013-02-02 17:50   ` martin rudalics
2013-02-08  8:17 ` Juri Linkov
2013-02-08  9:55   ` Eli Zaretskii
2013-02-08  9:59   ` martin rudalics
2013-02-08 15:17     ` Stefan Monnier
2013-02-08 15:33       ` Drew Adams
2013-02-09  0:30     ` Juri Linkov
2013-02-09  9:21       ` martin rudalics
2013-02-09 14:20         ` Stefan Monnier
2013-02-09 17:08           ` martin rudalics
2013-02-10  9:57             ` Juri Linkov
2013-02-10 13:33               ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=510D4DC1.1050900@yandex.ru \
    --to=dmantipov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.