Subject: bug#48201: bug(s) in underline-region

From: "Basil L. Contovounesios" <[email-masked]>
Date: Mon, 03 May 2021 23:31:09 +0100

Eli Zaretskii <[email-masked]> writes:

>> Date: Mon, 3 May 2021 13:27:53 -0400
>> From: Boruch Baum <[email-masked]>
>> 
>> The functions of package underline region doesn't check whether it's
>> operations will work in the user's terminal or GUI environment. When I
>> try using the feature in emacs-nox, it replaces the region with
>> what is for that environment interleaved garbage in the form of "_\b".
>
> AFAIU, this package does that 100% intentionally.

I believe so too: it's a kind of backspace overstriking referred to by
termcap/nroff/ul.  A variation is often seen in the output of fortune.

See e.g.:
- https://www.emacswiki.org/emacs/UnterminalString
- https://unix.stackexchange.com/q/274658/230197

-- 
Basil