Discussion:
[bug #58958] undocumented (or just broken) inability of .char to map to \:
(too old to reply)
Dave
2020-08-15 03:26:09 UTC
Permalink
URL:
<https://savannah.gnu.org/bugs/?58958>

Summary: undocumented (or just broken) inability of .char to
map to \:
Project: GNU troff
Submitted by: barx
Submitted on: Fri 14 Aug 2020 10:26:07 PM CDT
Category: Core
Severity: 3 - Normal
Item Group: Documentation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None

_______________________________________________________

Details:

(First mentioned as a side note in bug #58930, this problem is unrelated to
that feature request and warrants its own report.)

.char \[u200B] \:

doesn't work. .char being unable to map something to an escape, or at least
to this particular escape, is a bug either in the implementation, or in the
lack of documentation of the restriction.

Branden wrote the following in a follow-up comment:

It looks like the transform is just not happening:


.pl 1v
.char \[u200B] \:
.ds a \[u200B]
.length i \*a
\ni
8

.pl 1v
.ds a \[u200B]
.length i \*a
\ni
8

.pl 1v
.char a b
.ds a a
\*a
b


That unchanged length of 8, the exact character count of "\[u2000B]" is highly
suspicious to me.




_______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
G. Branden Robinson
2020-08-15 03:47:59 UTC
Permalink
Update of bug #58958 (project groff):

Status: None => Confirmed

_______________________________________________________

Follow-up Comment #1:

Alas, you didn't fix my typo.
Post by Dave
the exact character count of "\[u2000B]"
should have been
Post by Dave
the exact character count of "\[u200B]"
_______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Dave
2020-08-15 17:49:31 UTC
Permalink
Follow-up Comment #2, bug #58958 (project groff):

[comment #1 comment #1:]
Post by G. Branden Robinson
Alas, you didn't fix my typo.
Copy/paste failed to fix it. I failed to notice it altogether.

_______________________________________________________

Reply to this item at:

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

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

Loading...