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.202]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p67LBYRr013929 for ; Thu, 7 Jul 2011 17:11:36 -0400 (EDT) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by scc-mailout-02.scc.kit.edu with esmtp (Exim 4.72 #1) id 1QevrA-0008U4-CT; Thu, 07 Jul 2011 23:11:32 +0200 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1QevrA-0000MC-EC for tech@mdocml.bsd.lv; Thu, 07 Jul 2011 23:11:32 +0200 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.69) (envelope-from ) id 1QevrA-000597-Cu for tech@mdocml.bsd.lv; Thu, 07 Jul 2011 23:11:32 +0200 Received: from schwarze by usta.de with local (Exim 4.72) (envelope-from ) id 1QevrA-0002Rf-2Q for tech@mdocml.bsd.lv; Thu, 07 Jul 2011 23:11:32 +0200 Date: Thu, 7 Jul 2011 23:11:31 +0200 From: Ingo Schwarze To: tech@mdocml.bsd.lv Subject: Re: sync results Message-ID: <20110707211131.GI130@iris.usta.de> References: <20110704224519.GC28684@iris.usta.de> <4E1306FA.3070801@bsd.lv> <20110706060332.GB29041@iris.usta.de> <4E158A0F.3060608@bsd.lv> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E158A0F.3060608@bsd.lv> User-Agent: Mutt/1.5.21 (2010-09-15) Hi Kristaps, Kristaps Dzonsons wrote on Thu, Jul 07, 2011 at 12:27:27PM +0200: > It seems I've neglected that `RS' saves the current > default-left-margin, restoring it on output. The enclosed patch > introduces a stack of `RS' default-left-margins. The stack > overflows neatly: if there are too many nested `RS' scopes, it stops > nesting but keeps track of what the stack would be. When the stack > drops below overflow, nesting is reenabled. I set the current max > stack to 64. > > This should clean up output a great deal when the `RS' is used with > embedded paragraphs. It looks reasonable, does not cause regressions, and fixes lynx(1) indentation. So i have committed it to OpenBSD. Thanks, Ingo -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv