GNU bug report logs - #48201
bug(s) in underline-region

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Mon, 3 May 2021 17:29:01 UTC

Severity: normal

Tags: notabug

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48201 in the body.
You can then email your comments to 48201 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48201; Package emacs. (Mon, 03 May 2021 17:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Boruch Baum <boruch_baum <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 03 May 2021 17:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Emacs Bug Reporting <bug-gnu-emacs <at> gnu.org>
Subject: bug(s) in underline-region
Date: Mon, 3 May 2021 13:27:53 -0400
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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48201; Package emacs. (Mon, 03 May 2021 17:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 48201 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Boruch Baum <boruch_baum <at> gmx.com>
Cc: 48201 <at> debbugs.gnu.org
Subject: Re: bug#48201: bug(s) in underline-region
Date: Mon, 03 May 2021 20:53:47 +0300
> Date: Mon, 3 May 2021 13:27:53 -0400
> From: Boruch Baum <boruch_baum <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48201; Package emacs. (Mon, 03 May 2021 22:32:02 GMT) Full text and rfc822 format available.

Message #11 received at 48201 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 48201 <at> debbugs.gnu.org, Boruch Baum <boruch_baum <at> gmx.com>
Subject: Re: bug#48201: bug(s) in underline-region
Date: Mon, 03 May 2021 23:31:09 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48201; Package emacs. (Sun, 19 Sep 2021 17:08:01 GMT) Full text and rfc822 format available.

Message #14 received at 48201 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 48201 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 Boruch Baum <boruch_baum <at> gmx.com>
Subject: Re: bug#48201: bug(s) in underline-region
Date: Sun, 19 Sep 2021 10:07:32 -0700
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> Date: Mon, 3 May 2021 13:27:53 -0400
>>> From: Boruch Baum <boruch_baum <at> 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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48201; Package emacs. (Sun, 19 Sep 2021 17:33:01 GMT) Full text and rfc822 format available.

Message #17 received at 48201 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: contovob <at> tcd.ie, 48201 <at> debbugs.gnu.org, boruch_baum <at> gmx.com
Subject: Re: bug#48201: bug(s) in underline-region
Date: Sun, 19 Sep 2021 20:31:37 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sun, 19 Sep 2021 10:07:32 -0700
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 48201 <at> debbugs.gnu.org, Boruch Baum <boruch_baum <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48201; Package emacs. (Sun, 19 Sep 2021 20:27:02 GMT) Full text and rfc822 format available.

Message #20 received at 48201 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: contovob <at> tcd.ie, 48201 <at> debbugs.gnu.org, boruch_baum <at> gmx.com
Subject: Re: bug#48201: bug(s) in underline-region
Date: Sun, 19 Sep 2021 13:26:50 -0700
tags 48201 + notabug
close 48201
thanks

Eli Zaretskii <eliz <at> gnu.org> writes:

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

OK, done.




Added tag(s) notabug. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sun, 19 Sep 2021 20:27:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 48201 <at> debbugs.gnu.org and Boruch Baum <boruch_baum <at> gmx.com> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sun, 19 Sep 2021 20:27:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 Oct 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.