Paul Eggert <[email protected]> writes:
> On 2026-11-11 19:54, Dan Jacobson wrote:
>> $ emacs -Q
>> M-x man ls
>> You'll see the many ^[]8;; messing up the page.
>
> This is a known problem and a real annoyance. Arguably it's a missing feature
> in Emacs, though, so please report it to [email protected].
It should be fixed in the upcoming Emacs release, with this commit:
commit e13fb667a2179548a1b57bf1e345b5a1dc00bb24
Author: Zhengyi Fu <[email protected]>
AuthorDate: Tue Jun 16 12:49:15 2026 +0800
Commit: Eli Zaretskii <[email protected]>
CommitDate: Sun Jun 21 08:55:30 2026 +0300
Support OSC 8 hyperlinks in man pages
* lisp/man.el: Require `ansi-osc'.
(Man-ansi-osc-handlers): New variable.
(Man-fontify-manpage): Call ansi-osc-apply-on-region to buttonize
OSC 8 hyperlinks. (Bug#81240)
* etc/NEWS: Announce the new feature.
Also noting that there was some previous discussion in bug 81874 and
82022 about this behavior.
Collin