unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48201: bug(s) in underline-region
@ 2021-05-03 17:27 Boruch Baum
  2021-05-03 17:53 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Boruch Baum @ 2021-05-03 17:27 UTC (permalink / raw)
  To: 48201

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".

I'm not sure what is the scope of the intent of the package, but for
non-persistent use, it could use overlays with an underline face.

At the very least, the feature should check the environment, and abort
upon detecting incompatability.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48201: bug(s) in underline-region
  2021-05-03 17:27 bug#48201: bug(s) in underline-region Boruch Baum
@ 2021-05-03 17:53 ` Eli Zaretskii
  2021-05-03 22:31   ` Basil L. Contovounesios
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2021-05-03 17:53 UTC (permalink / raw)
  To: Boruch Baum; +Cc: 48201

> Date: Mon, 3 May 2021 13:27:53 -0400
> From: Boruch Baum <boruch_baum@gmx.com>
> 
> 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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#48201: bug(s) in underline-region
  2021-05-03 17:53 ` Eli Zaretskii
@ 2021-05-03 22:31   ` Basil L. Contovounesios
  0 siblings, 0 replies; 3+ messages in thread
From: Basil L. Contovounesios @ 2021-05-03 22:31 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 48201, Boruch Baum

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Mon, 3 May 2021 13:27:53 -0400
>> From: Boruch Baum <boruch_baum@gmx.com>
>> 
>> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-03 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03 17:27 bug#48201: bug(s) in underline-region Boruch Baum
2021-05-03 17:53 ` Eli Zaretskii
2021-05-03 22:31   ` Basil L. Contovounesios

unofficial mirror of bug-gnu-emacs@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/emacs-bugs/0 emacs-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 emacs-bugs emacs-bugs/ https://yhetil.org/emacs-bugs \
		bug-gnu-emacs@gnu.org
	public-inbox-index emacs-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.bugs
	nntp://news.gmane.io/gmane.emacs.bugs


code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs.git

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git