From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alin Soare Newsgroups: gmane.emacs.devel Subject: Re: Efficient debugging of the redisplay. Date: Tue, 8 Dec 2009 14:10:51 -0500 Message-ID: References: <87aaxts3bx.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00504502d29c1b1ba2047a3c55db X-Trace: ger.gmane.org 1260304669 27334 80.91.229.12 (8 Dec 2009 20:37:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Dec 2009 20:37:49 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 08 21:37:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NI6oR-0000rN-JZ for ged-emacs-devel@m.gmane.org; Tue, 08 Dec 2009 21:37:38 +0100 Original-Received: from localhost ([127.0.0.1]:35055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI6oR-0006kI-28 for ged-emacs-devel@m.gmane.org; Tue, 08 Dec 2009 15:37:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NI5Sb-00022g-Tu for emacs-devel@gnu.org; Tue, 08 Dec 2009 14:10:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NI5SX-0001zM-9M for emacs-devel@gnu.org; Tue, 08 Dec 2009 14:10:57 -0500 Original-Received: from [199.232.76.173] (port=40889 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI5SX-0001zF-5z for emacs-devel@gnu.org; Tue, 08 Dec 2009 14:10:53 -0500 Original-Received: from mail-ew0-f209.google.com ([209.85.219.209]:57803) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NI5SX-00051g-6C for emacs-devel@gnu.org; Tue, 08 Dec 2009 14:10:53 -0500 Original-Received: by ewy1 with SMTP id 1so3092668ewy.8 for ; Tue, 08 Dec 2009 11:10:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ebKh3bRb0jP8+eGwzyUCXYAXg16Y+0lSZh7ZePWsZyM=; b=bE98prQGi9G0ArbM11SLH+Z7EWabH6cp78ssWmxPY+mjYPMjar+gHs5UfPPfuU7qmU uGU/l+dOLY5YZ1VUvYsTxNVSOkzWcaIm2cGlWNAce78zcNP6qat/qA6+CTDZFpIlJfYf 6lZ3i2pV7OZ8x7DyyOQ18+MbJs4zPzVYaEc30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gvXAWYxwdclECBTFzjqaFnqApUD1dqcu7gbsv2jpbqifkW0lqQN2Yh/VQsOaSxFibE W9+PCBzjdE8VQnz3IAfqhg0VWVox+3+A5V4pQT4cXhHw12WP3uw/pqzwa5Zl8QxSziCd 7mCB2d84+OgnKBmys79KPnQfhFEMKbORHbybA= Original-Received: by 10.213.103.11 with SMTP id i11mr301099ebo.63.1260299451308; Tue, 08 Dec 2009 11:10:51 -0800 (PST) In-Reply-To: <87aaxts3bx.fsf@stupidchicken.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 08 Dec 2009 15:37:28 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118400 Archived-At: --00504502d29c1b1ba2047a3c55db Content-Type: text/plain; charset=ISO-8859-1 > > However, this tells me nothing about an efficient debugging of > > redisplay_internal, and about display in general. > > > > Could you suggest me something efficient, please? > > I usually just use standard GDB breakpoints. Maybe you could be a bit > more specific about what you want to do. > Thanks. For example, suppose that I had 2 frames X and Y. Suppose that Vframe_list = ( X Y Z T ) and selected_frame = X. What would you do for emacs to display (caddr (member (selected-frame) (frame-list) ) ) = Z instead of X? In general, suppose that you want to display a frame different of selected_frame . What should you do? Apart from redisplay_internal, in which functions should modify? Alin. --00504502d29c1b1ba2047a3c55db Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> However, this tells me nothing about an efficient debugging of
> redisplay_internal, and about display in general.
>
> Could you suggest me something efficient, please?

I usually just use standard GDB breakpoints. =A0Maybe you could be a = bit
more specific about what you want to do.


Thanks.


For example, suppose that I h= ad 2 frames X and Y.

Suppose that Vframe_list =3D ( X Y Z T ) and se= lected_frame =3D X.

What would you do for emacs to display

= =A0(caddr (member (selected-frame)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 (frame-list) ) ) =3D Z=A0
instead of X?

In general, suppose that you want to display = a frame different of selected_frame .

=A0What should you do? Apart f= rom redisplay_internal, in which functions should modify?




Alin.








--00504502d29c1b1ba2047a3c55db--