groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 30/53: doc/meref.me: Undocument `_M` register.


From: G. Branden Robinson
Subject: [groff] 30/53: doc/meref.me: Undocument `_M` register.
Date: Tue, 14 Dec 2021 01:21:56 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 3d739abff9fb8c908322dc7e0fc4fdf3c7e3f7c0
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Dec 14 12:51:31 2021 +1100

    doc/meref.me: Undocument `_M` register.
    
    This reverts part of d9ba1bd9, 5 August 2004.
    
    This is the only me(7) register we document that is named with a leading
    underscore, and thus lies outside the naming convention described in the
    introduction to this document.  If authors of me(7) documents need to
    test this register, they can still do so, and if a more "official"
    interface is required, then my opinion is that we should expose a string
    cacheing the first argument to `++` and name it `$T` or `$t` (both are
    available).
    
    Also update documentary comment in tmac/e.tmac to align terminology with
    forthcoming commit.
---
 doc/meref.me | 17 -----------------
 tmac/e.tmac  |  2 +-
 2 files changed, 1 insertion(+), 18 deletions(-)

diff --git a/doc/meref.me b/doc/meref.me
index 0756c62..59b4fc2 100644
--- a/doc/meref.me
+++ b/doc/meref.me
@@ -1704,22 +1704,6 @@ which specify renumbering of pages
 from one at the beginning of each
 chapter or appendix,
 respectively.
-The section type is available in register
-.NR (_M
-[1]; value 1 is equivalent to type
-.b C
-or
-.b RC ,
-value 2 represents type
-.b A
-or
-.b RA ,
-and values 3 to 5 are type
-.b P ,
-.b B ,
-and
-.b AB ,
-respectively.
 The
 .i H
 parameter defines the new header.
@@ -2282,7 +2266,6 @@ NAME      TYPE    DESCRIPTION
 \e|    F\(sc   1/6 em unbreakable thin space
 \e}    F\(sc   end conditional group
 \e*~   S       tilde
-\en(_M R       section type (as set with .++ macro)
 .)l
 .rm $H
 .\" Local Variables:
diff --git a/tmac/e.tmac b/tmac/e.tmac
index eeae35e..94be11c 100644
--- a/tmac/e.tmac
+++ b/tmac/e.tmac
@@ -2100,7 +2100,7 @@
 .nr $d 1                       \" delayed text number
 .ds _# [\\n($d]\"
 .ds # \*(_#\"                  \" delayed text mark
-.nr _M 1                       \" chapter mode is chapter
+.nr _M 1                       \" encoded document segment type
 .ds lq \(lq\"                  \" left quote
 .ds rq \(rq\"                  \" right quote
 .em @z



reply via email to

[Prev in Thread] Current Thread [Next in Thread]