From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.rz.uni-karlsruhe.de (Debian-exim@smtp1.rz.uni-karlsruhe.de [129.13.185.217]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o9RKwAEA024714 for ; Wed, 27 Oct 2010 16:58:11 -0400 (EDT) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.63 #1) id 1PBD4T-0000X4-M1; Wed, 27 Oct 2010 22:58:09 +0200 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.71) (envelope-from ) id 1PBD4T-0001pW-Kk for tech@mdocml.bsd.lv; Wed, 27 Oct 2010 22:58:09 +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 1PBD4T-0000I7-Jj for tech@mdocml.bsd.lv; Wed, 27 Oct 2010 22:58:09 +0200 Received: from schwarze by usta.de with local (Exim 4.71) (envelope-from ) id 1PBD4T-0007Ap-8E for tech@mdocml.bsd.lv; Wed, 27 Oct 2010 22:58:09 +0200 Date: Wed, 27 Oct 2010 22:58:08 +0200 From: Ingo Schwarze To: tech@mdocml.bsd.lv Subject: Re: .IP without line args is not an ERROR Message-ID: <20101027205808.GL16057@iris.usta.de> References: <20101027102224.GB16057@iris.usta.de> <20101027124337.GA22794@britannica.bec.de> <20101027204611.GK16057@iris.usta.de> <20101027204902.GA17065@britannica.bec.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 In-Reply-To: <20101027204902.GA17065@britannica.bec.de> User-Agent: Mutt/1.5.20 (2009-06-14) Hi Joerg, Joerg Sonnenberger wrote on Wed, Oct 27, 2010 at 10:49:02PM +0200: >>> E.g. the "restore previous" behavior for missing arguments? > If the macros are used without argument, they use the value > specified by the last instance. Ah, now i see what you mean. Yes, that's indeed what Kristaps has coded. In terminal_man, we have the initialization mt->lmargin = INDENT mt->offset = INDENT .HP, .IP, and .TP change mt->lmargin whenever you give an argument, .RS changes mt->offset, and all of them use the mt values without ever resetting them. So yes, values specified once get reused. Yours, Ingo -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv