all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alin Soare <as1789@gmail.com>
To: "Emacs Dev [emacs-devel]" <emacs-devel@gnu.org>
Subject: Efficient debugging of the redisplay.
Date: Tue, 8 Dec 2009 15:08:59 +0200	[thread overview]
Message-ID: <de6e718a0912080508w28ea661bh2ffca48ca9bab526@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

The only documentation about debugging the redisplay of emacs I did find in
./etc/DEBUG

** Debugging Emacs Redisplay problems

The src/.gdbinit file defines many useful commands for dumping redisplay
related data structures in a terse and user-friendly format:

 `ppt' prints value of PT, narrowing, and gap in current buffer.
 `pit' dumps the current display iterator `it'.
 `pwin' dumps the current window 'win'.
 `prow' dumps the current glyph_row `row'.
 `pg' dumps the current glyph `glyph'.
 `pgi' dumps the next glyph.
 `pgrow' dumps all glyphs in current glyph_row `row'.
 `pcursor' dumps current output_cursor.

However, this tells me nothing about an efficient debugging of
redisplay_internal, and about display in general.

Could you suggest me something efficient, please?




Alin

[-- Attachment #2: Type: text/html, Size: 935 bytes --]

             reply	other threads:[~2009-12-08 13:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08 13:08 Alin Soare [this message]
2009-12-08 18:55 ` Efficient debugging of the redisplay Chong Yidong
2009-12-08 19:10   ` Alin Soare
2009-12-08 19:08 ` Eli Zaretskii
2009-12-08 19:34   ` Alin Soare
2009-12-08 19:52     ` Eli Zaretskii
2009-12-08 20:39       ` Alin Soare

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=de6e718a0912080508w28ea661bh2ffca48ca9bab526@mail.gmail.com \
    --to=as1789@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.