Re: info browser handles OSC 8 escape sequences poorly (was: [platform-testers] texinfo-7.2.90 pretest available)
"G. Branden Robinson" <[email protected]>
| Newsgroups | gmane.comp.tex.texinfo.bugs |
|---|---|
| Message-ID | <20260112134238.3jtilj3njbixkqff@illithid> |
Hi Eli, At 2026-01-12T15:19:19+0200, Eli Zaretskii wrote: > > Date: Sun, 11 Jan 2026 14:32:39 -0600 > > From: "G. Branden Robinson" <[email protected]> > > > > > > If these problems have gone unraised by Texinfo users for a long > > time, my surmise is that users of info(1), and of GNU Emacs's WoMan > > man browser, have such low expectations of their rendering that they > > disregard any formatting errors they see. I observe that, for > > example, WoMaN, which apparently attempts to parse man(7) document > > input for itself instead of entrusting it to a man(1) program or to > > the nroff command, misrenders `\c` and `\:` escape sequences.[9] > > Your surmise is evidently based on incomplete or inaccurate > information. Apparently so! I am not a sophisticated Emacs user; I'm familiar with the MicroEmacs feature set but little else. > The WoMan package in Emacs is deprecated, have not seen any > significant maintenance for many years, and as result doesn't support > many directives used in modern man pages. Ah! Since that is the case, are there plans to withdraw WoMan from distribution? If someone wants to revive it, they could always do so via ELPA, right? > The supported Emacs command to read man pages is "M-x man", which runs > the system's 'man' command, and then displays what that produces. In GNU Emacs 27.1--which I acknowledge is pretty old--I see that "M-x man" _also_ passes through OSC 8 sequences mostly uninterpreted. ("Mostly": It translates the literal escape characters that begin these sequences into Basic Latin as the `^[` sequence, coloring them cyan.[1]) I assume that bug has since been fixed. Can you tell me in which release it was? There's a non-zero chance the question will come up on the groff mailing list, and I'd like to be prepared with an answer. > (The Emacs Info reader also doesn't show man pages like the > stand-alone Info reader from Texinfo does.) Okay. Thanks for putting me in the picture regarding the best way to use GNU Emacs as a man page renderer. Regards, Branden [1] Unicode hyphens (U+2010) are also colored cyan. Good show! This choice is a useful aid for man page writers who trouble themselves to care about the distinction between 0+002D and U+2010. This choice makes it easy to confirm that they're being used correctly. I appreciate that.
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmlk+kYACgkQ0Z6cfXEm bc6GdRAAjmtQ45gyIPcXd8UfKoVy8qw7WUBoVyE6+s44zCvo/nB2693xBg+9gQBm BUidC0sIdmywcWZUanwJbBh/F02lu4nqntdDM/Bc2/BNaCvJcxEcZK5C2StNsNzj zEjjEJbvsLXadeH2qYJcoGZo+r+Ne52HMs9CRSu9tZN7rGk2YkAPeNlmRyet/fzF vV5agI11W5r1lQjnk0lgmWHdmoz4Kpr5dtDKL7/H9cqh+zzqUTGW5OuLGP3BGFBu AJjlap8znIGx1ZDywvCt4jVfJsIVFpLX5u5aWCZ6DJ8VvSHUPR0rY65JlS0954/u 3U/SjsD7CMa2ZhKSGO5eppJ2gTh2gkz2ZT50q/uaAr9pXXYlfl0uM07J18IYbxUv YcxBPWBAeNW8bZz0hkiwhu7o8tHQmiYi1WU2HYt9MYCV//8G2Zp8gqhOb5YfF9W0 M6swODclpBA+Cx8orlfqG/TDc4FOS+3W7JSqLEY91IUKVD4Bb9h1mVX6XaqgTI3r /Yuo4LpHJQ9Muc4SdN+0iY7Q1oi+FM1w0NSeHSZOUAFeTAvO78eNlyLa2Y1Dp2tZ ZmGCc5lTXqEQ2pBA+pwmCtLXT2HCgPtt00RND2aJAIDRQqIRL0eMqmP6LY44ATR4 PglJgYpvK+uuXfLBR3GemFWpwFI6DND7S9sBzHOq1Zv8WduWNUg= =lVXt -----END PGP SIGNATURE-----