tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Ingo Schwarze <schwarze@usta.de>
To: tech@mdocml.bsd.lv
Subject: Re: PATCH: break the line at an existing hyphen
Date: Wed, 26 May 2010 05:04:28 +0200	[thread overview]
Message-ID: <20100526030428.GE29800@iris.usta.de> (raw)
In-Reply-To: <4BFBC75E.2000603@bsd.lv>

Hi Kristaps,

> I've checked in a modified version of this that only breaks at free-form
> line hyphens along with a regression test.  It touches term.c (your
> exact patch, Ingo, except with ASCII_HYPH instead of the hyphen), html.c
> (to print a hyphen (NOT a soft-break, see note)), mdoc.c (sitting in
> Ingo's white-space loop), and mandoc.c (for the actual function of
> choosing).

This is awesome.  It gives much better results than what i had
before, see my commit message.  Thanks!

We are now in full sync, excepting UGLY, which i would like to
kick out of bsd.lv (the #ifdefs, not the code, of course).
Joerg, you wanted to look at UGLY, and comment on it, right?

> The same happens in -man, but I'll wait til Ingo applies his
> white-space code to -man for this to be implemented.

Oh, yet another TODO for me.  :-/

Besides, my nested block patch is pending -
i should polish and submit it.

And i've seen your .Li fix, Kristaps, but wont check it tonight.
I'm away tomorrow; maybe i can check right after midnight...

Yours,
  Ingo
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

  reply	other threads:[~2010-05-26  3:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-24 23:32 Ingo Schwarze
2010-05-24 23:59 ` Kristaps Dzonsons
2010-05-25 12:49 ` Kristaps Dzonsons
2010-05-26  3:04   ` Ingo Schwarze [this message]
2010-05-26 11:37     ` Kristaps Dzonsons

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

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

  git send-email \
    --in-reply-to=20100526030428.GE29800@iris.usta.de \
    --to=schwarze@usta.de \
    --cc=tech@mdocml.bsd.lv \
    /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.
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 NNTP newsgroup(s).