all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Your changes in revision 106240
Date: Sun, 30 Oct 2011 23:23:06 -0700	[thread overview]
Message-ID: <4EAE3ECA.1060401@cs.ucla.edu> (raw)
In-Reply-To: <E1RKPnP-00072c-WB@fencepost.gnu.org>

On 10/30/11 00:27, Eli Zaretskii wrote:
> It is unreasonable to ask GDB to display a list
> that is longer than a small number of items.

First, list display need not be involved.  For example:

  set $len = Flength (which_symbols (Qnil, $my_limit))
  pp $len

These GDB commands print a count of how many symbols have
the value nil, while not bothering to count any symbols more than
an upper bound of $my_limit.  On a 64-bit host, there's no good
reason for these commands to misbehave merely because $my_limit
exceeds 2**32.

Second, even if display is involved, it is sometimes reasonable to
ask for the display of a long list.  For example, when debugging
Emacs under GDB, I sometimes generate long outputs which I then
analyze with other tools.




  reply	other threads:[~2011-10-31  6:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-29 20:54 Your changes in revision 106240 Eli Zaretskii
2011-10-30  2:44 ` Paul Eggert
2011-10-30  5:06   ` Stefan Monnier
2011-10-30  6:06     ` Paul Eggert
2011-10-30  6:28       ` Eli Zaretskii
2011-10-30  6:31       ` Stefan Monnier
2011-10-30  7:15         ` Paul Eggert
2011-10-30  7:27           ` Eli Zaretskii
2011-10-31  6:23             ` Paul Eggert [this message]
2011-10-30  8:07           ` Stefan Monnier
2011-10-31  6:28             ` Paul Eggert
2011-10-30  6:16     ` Eli Zaretskii
2011-10-30  7:04       ` Paul Eggert

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=4EAE3ECA.1060401@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --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.