Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[bug #58958] undocumented (or just broken) inability of .char to map to \:

1 view
Skip to first unread message

Dave

unread,
Aug 14, 2020, 11:26:40 PM8/14/20
to Dave, bug-...@gnu.org
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

unread,
Aug 14, 2020, 11:48:02 PM8/14/20
to G. Branden Robinson, Dave, bug-...@gnu.org
Update of bug #58958 (project groff):

Status: None => Confirmed

_______________________________________________________

Follow-up Comment #1:

Alas, you didn't fix my typo.

> the exact character count of "\[u2000B]"

should have been

> the exact character count of "\[u200B]"

Dave

unread,
Aug 15, 2020, 1:49:33 PM8/15/20
to G. Branden Robinson, Dave, bug-...@gnu.org
Follow-up Comment #2, bug #58958 (project groff):

[comment #1 comment #1:]
> Alas, you didn't fix my typo.

Copy/paste failed to fix it. I failed to notice it altogether.
0 new messages