unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: 16587@debbugs.gnu.org
Subject: bug#16587: 24.3.50; max-specpdl-size exceeded + crash with gnus (shr).
Date: Fri, 31 Jan 2014 15:00:35 +0000	[thread overview]
Message-ID: <vz1k3dgkxgs.fsf@gmail.com> (raw)
In-Reply-To: <87iot2hjmh.fsf@yahoo.fr>

On Fri 31 Jan 2014, Lars Ingebrigtsen wrote:

> I think there are numerous Emacs variables here, in addition to some
> crashiness, that makes it very difficult to inspect what's actually
> going on here.
>
> I don't really believe that the HTML parser is returning a circular
> structure, but I just can't get Emacs to print it out, even after
> twiddling `print-circle' and `max-lisp-eval-depth'.  Help, somebody?
>
> Included is the offending "HTML".   Put it in a buffer and say
>
> (setq a (libxml-parse-html-region (point-min) (point-max)))
>
> and try to get `a' to print in the scratch buffer.

I tried this in the *scratch* buffer with:

(setq print-circle t)
(insert (format "\n%S\n" a))

This did print successfully. The not-quite-html after "Recent input:"
results in a deeply nested set of tags, which may trigger a depth check
for apparent circularity.

    AndyM






  parent reply	other threads:[~2014-01-31 15:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29 15:51 bug#16587: 24.3.50; max-specpdl-size exceeded + crash with gnus (shr) Nicolas Richard
2014-01-30  1:17 ` Katsumi Yamaoka
2014-01-30 11:56   ` Nicolas Richard
2014-01-31  2:25 ` Lars Ingebrigtsen
2014-01-31  2:37   ` Lars Ingebrigtsen
2014-01-31  2:46     ` Lars Ingebrigtsen
2014-01-31 14:28       ` Stefan Monnier
2014-01-31 21:21         ` Lars Ingebrigtsen
2014-01-31 15:00       ` Andy Moreton [this message]
2014-01-31 14:23   ` Stefan Monnier
2014-01-31 21:08     ` Lars Ingebrigtsen
2014-01-31 21:18       ` Lars Ingebrigtsen
2014-11-13 20:57         ` Lars Magne Ingebrigtsen
2014-11-13 21:13           ` Lars Magne Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=vz1k3dgkxgs.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=16587@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).