[Moin-user] Re: long lines

Werner LEMBERG wl at gnu.org
Tue May 31 07:03:25 EDT 2005


> > Thus I ask you to add `\' as a line continuation.  It is extremely
> > ugly and error prone to be forced to use overlong lines --
> > something which is not used normally in the UNIX world.
>
> The example you use in you previous post:
>
> === This is \
>        a test ===
>
> Is not a real use case.

Of course it is not.  Sorry for the sloppy example -- I though it was
obvious what I want.  Here something real:

  You can read
  [http://freetype.freedesktop.org/freetype2/docs/reference/ft2-header_file_macros.html this section of the FreeType 2 API Reference]
  for a complete listing of the header macros.

I can live with the (unfortunate) limitation that the `[' and `]' must
be on the same line, but then I would like to split the line like
this:

  You can read
  [http://freetype.freedesktop.org/freetype2/docs/reference/ft2-header_file_macros.html \
  this section of the FreeType 2 API Reference] for a complete listing
  of the header macros.

BTW, this also gives a real example of the need for a non-breakable
space: `FreeType 2'.  It looks bad IMHO if the browser shows `FreeType
2' (as demonstrated here).

Regarding line continuation, an even worse situation is the handling
of term definitions.  Contrary to bulleted lists I'm forced to use a
single long line:

  face_index:: Certain font formats allow several font faces to be embedded in a single file.  This index tells which face you want to load.  An error will be returned if its value is too large.  Index[[nbsp]]0 always work, though.

This doesn't get the expected layout:

  face_index:: Certain font formats allow several font faces to be
  embedded in a single file.  This index tells which face you want to
  load.  An error will be returned if its value is too large.
  Index 0 always work, though.

Personally, I consider this a bug in moin 1.3.4.  Otherwise, it would
be *much* more readable if I can write

  face_index:: Certain font formats allow several font faces to be \
  embedded in a single file.  This index tells which face you want to \
  load.  An error will be returned if its value is too large. \
  Index 0 always work, though.

instead.


    Werner




More information about the Moin-user mailing list