unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* pp-to-string heisenberg bug
@ 2008-03-31 22:56 Mike Mattie
  2008-04-01  7:13 ` Thien-Thi Nguyen
  2008-04-01  8:29 ` Andreas Schwab
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Mattie @ 2008-03-31 22:56 UTC (permalink / raw)
  To: emacs developers

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-02 20:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 22:56 pp-to-string heisenberg bug Mike Mattie
2008-04-01  7:13 ` 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

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).