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; 6+ 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] 6+ 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; 6+ 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] 6+ 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
  2021-09-19 17:07     ` Stefan Kangas
  0 siblings, 1 reply; 6+ 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] 6+ messages in thread

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

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> 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

Should this therefore be closed as notabug?





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

* bug#48201: bug(s) in underline-region
  2021-09-19 17:07     ` Stefan Kangas
@ 2021-09-19 17:31       ` Eli Zaretskii
  2021-09-19 20:26         ` Stefan Kangas
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2021-09-19 17:31 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: contovob, 48201, boruch_baum

> From: Stefan Kangas <stefan@marxist.se>
> Date: Sun, 19 Sep 2021 10:07:32 -0700
> Cc: Eli Zaretskii <eliz@gnu.org>, 48201@debbugs.gnu.org, Boruch Baum <boruch_baum@gmx.com>
> 
> >> 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
> 
> Should this therefore be closed as notabug?

IMO, yes.





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

* bug#48201: bug(s) in underline-region
  2021-09-19 17:31       ` Eli Zaretskii
@ 2021-09-19 20:26         ` Stefan Kangas
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Kangas @ 2021-09-19 20:26 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: contovob, 48201, boruch_baum

tags 48201 + notabug
close 48201
thanks

Eli Zaretskii <eliz@gnu.org> writes:

>> Should this therefore be closed as notabug?
>
> IMO, yes.

OK, done.





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

end of thread, other threads:[~2021-09-19 20:26 UTC | newest]

Thread overview: 6+ 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
2021-09-19 17:07     ` Stefan Kangas
2021-09-19 17:31       ` Eli Zaretskii
2021-09-19 20:26         ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).