bug-groff
[Top][All Lists]
Advanced

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

[bug #61683] [me] either document $r and $R registers or rename them


From: Dave
Subject: [bug #61683] [me] either document $r and $R registers or rename them
Date: Fri, 17 Dec 2021 15:38:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, bug #61683 (project groff):

[comment #0 original submission:]
> Or maybe someone will be able to locate a use case.

If that sideways glance was in my direction, I don't have one.  I had never
spotted this register in the source, and can't think how to use it now that I
know about it.  Maybe it's some experimental dead end Eric was pursuing in the
'70s that's since become ossified.

On the other hand, unless you plan to repurpose the registers for something
else, leaving them as-is ensures they'll continue to work for anyone who _is_
using them but not following groff discussion channels.  I've been known to
exploit undocumented -me internals on occasion to fiddle with something for
which there's no approved mechanism, under the assumption that -me internals
in the 21st century are largely unchanging.  Worth a code comment to note the
anomalous name, but beyond that perhaps doesn't warrant a change.

(If your itchy refactoring finger needs an outlet, I'd look at the ?k
register, which is set in multiple places but appears to be never used -- at
least under that name, though because the language lets you build register
names on the fly, a simple code examination is insufficient to determine
this.)

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61683>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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