From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from scc-mailout.scc.kit.edu (scc-mailout.scc.kit.edu [129.13.185.201]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id pA1GB9k5016303 for ; Tue, 1 Nov 2011 12:11:10 -0400 (EDT) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by scc-mailout-01.scc.kit.edu with esmtp (Exim 4.72 #1) id 1RLGvb-0001Ci-Ba; Tue, 01 Nov 2011 17:11:07 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1RLGvb-0004BD-DD for tech@mdocml.bsd.lv; Tue, 01 Nov 2011 17:11:07 +0100 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1RLHrr-0000bC-2f for tech@mdocml.bsd.lv; Tue, 01 Nov 2011 18:11:19 +0100 Received: from schwarze by usta.de with local (Exim 4.72) (envelope-from ) id 1RLGlZ-0005ju-AY for tech@mdocml.bsd.lv; Tue, 01 Nov 2011 17:00:45 +0100 Date: Tue, 1 Nov 2011 17:00:45 +0100 From: Ingo Schwarze To: tech@mdocml.bsd.lv Subject: correct .Eo spacing Message-ID: <20111101160045.GN6817@iris.usta.de> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Hi, even though .Eo does not print any delimiters except the custom ones printed implicitly, it still needs to suppress spacing when entering and exiting its body. OK? Ingo Index: mdoc_term.c =================================================================== RCS file: /cvs/src/usr.bin/mandoc/mdoc_term.c,v retrieving revision 1.138 diff -u -p -r1.138 mdoc_term.c --- mdoc_term.c 16 Oct 2011 12:18:32 -0000 1.138 +++ mdoc_term.c 1 Nov 2011 16:05:03 -0000 @@ -190,7 +190,7 @@ static const struct termact termacts[MDO { NULL, NULL }, /* Ec */ /* FIXME: no space */ { NULL, NULL }, /* Ef */ { termp_under_pre, NULL }, /* Em */ - { NULL, NULL }, /* Eo */ + { termp_quote_pre, termp_quote_post }, /* Eo */ { termp_xx_pre, NULL }, /* Fx */ { termp_bold_pre, NULL }, /* Ms */ { termp_igndelim_pre, NULL }, /* No */ @@ -1921,6 +1921,8 @@ termp_quote_pre(DECL_ARGS) case (MDOC_Dq): term_word(p, "``"); break; + case (MDOC_Eo): + break; case (MDOC_Po): /* FALLTHROUGH */ case (MDOC_Pq): @@ -1984,6 +1986,8 @@ termp_quote_post(DECL_ARGS) /* FALLTHROUGH */ case (MDOC_Dq): term_word(p, "''"); + break; + case (MDOC_Eo): break; case (MDOC_Po): /* FALLTHROUGH */ -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv