unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mike Mattie <codermattie@gmail.com>
To: emacs developers <emacs-devel@gnu.org>
Subject: pp-to-string heisenberg bug
Date: Mon, 31 Mar 2008 15:56:30 -0700	[thread overview]
Message-ID: <20080331155630.4dadae11@reforged> (raw)

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

Hello,

I am running Emacs 23.0.60.2 on linux, and Emacs.app 0.9-rc2. The following pp-to-string
phenomena is seen on both platforms.

description:

pp-to-string is suppost to pretty print nested lists, however when I start Emacs I always get
this output truncated with ...

<example 1>
parser-compile-run: Creating new closure.
(lambda
  (start-pos)
  (save-excursion
    (let
        (...)
      (goto-char start-pos)
      (funcall ...))))
</example 1>

Which is very annoying.

If I edebug-defun evaluate this little snippet:

(pp-to-string 'foo)

a couple of times pp-to-string starts working normally producing the
correct output below:

<example 2>
parser-compile-run: Creating new closure.
(lambda
  (start-pos)
  (save-excursion
    (let
        ((parser-position
          (cons start-pos nil)))
      (goto-char start-pos)
      (funcall 'start))))
</example 2>

If you can't reproduce this problem it might have to do with what kind of lists my parser-compiler is generating.
If That is the case (I think so) contact me for help in reproducing the problem. It happens every time, I have to "trigger"
normal behavior so it's a matter of running a small test case with my Parser Compiler.

Cheers,
Mike Mattie

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-03-31 22:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31 22:56 Mike Mattie [this message]
2008-04-01  7:13 ` pp-to-string heisenberg bug Thien-Thi Nguyen
2008-04-02 15:07   ` Stephen J. Turnbull
2008-04-02 20:31     ` Thien-Thi Nguyen
2008-04-01  8:29 ` Andreas Schwab

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=20080331155630.4dadae11@reforged \
    --to=codermattie@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 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).