Summary

pretty-print should place keyword and keyword value on same line.

Metadata

Description

The following program:

 (use extras)
 (set! foo `(foo bar: bar baz: baz qux: qux))
 (pretty-print `(,@foo ,@foo ,@foo))
 (exit)

Produces the following output:

 (foo bar:
      bar
      baz:
      baz
      qux:
      qux
      foo
      bar:
      bar
      baz:
      baz
      qux:
      qux
      foo
      bar:
      bar
      baz:
      baz
      qux:
      qux)

I think the output should instead be:

 (foo bar: bar
      baz: baz
      qux: qux
      foo 
      bar: bar
      baz: baz
      qux: qux
      foo
      bar: bar
      baz: baz
      qux: qux)

That is, the keyword and it's argument should be on the same line.

This is a stylistic issue, but I hope I'm not the only who thinks pretty-print would look prettier in the second format.

Changes and comments

[2011-02-05 15:35:54 UTC] sjamaan removed milestone 4.7.0

[2011-06-18 20:26:12 UTC] felix changed status from new to closed

[2011-06-18 20:26:12 UTC] felix set resolution to wontfix

[2011-06-18 20:26:12 UTC] felix wrote:

See the comment I added to #489. The same applies here.