GNU bug report logs - #23574
24.5; Overzealous underlining in emacs-nox

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Colin Woodbury <cwoodbury@HIDDEN>; Keywords: notabug; dated Wed, 18 May 2016 17:11:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) notabug. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 6 Jun 2016 11:42:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 06 07:42:47 2016
Received: from localhost ([127.0.0.1]:56222 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9svf-0001wx-Nv
	for submit <at> debbugs.gnu.org; Mon, 06 Jun 2016 07:42:47 -0400
Received: from mail-oi0-f68.google.com ([209.85.218.68]:33812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1b9svb-0001wh-Of
 for 23574 <at> debbugs.gnu.org; Mon, 06 Jun 2016 07:42:46 -0400
Received: by mail-oi0-f68.google.com with SMTP id r4so4789308oib.1
 for <23574 <at> debbugs.gnu.org>; Mon, 06 Jun 2016 04:42:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc;
 bh=ijYzpp9OSc6XRb0h3UzAr3IlxHW+z3X6l3p16i23mSw=;
 b=GH+pfdyRCThiRMvs9lm1O/U/PEJTEUlkuDaSfjPuHdJMH8IPkydZ/6IUKvMUf1b4UI
 +PH4lGXosw9m7VjmMd8xbau/U0iv6XNCQb3aOJJZw5laOFfe1YOyTSCkFWo4D35Hgwfy
 zckVyeefDO3bHTQfv+SHU9u6zlBbspxJUX5FARrBkyxb23Asv/9/LYMZkBw4IGEU43kb
 Rn4ZI1uxOF6O9D8zXSQhgnhJCb2fw3BaE+BXz5IvorcQdgVYkYqKFkmGVh4q1ll3DMdJ
 FWizxhl5QeEGePQYZOUMikG5IsamTuUR4R/kpBXYnF4d7ZB5/jLLxeA3CguHibooFm06
 8E3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc;
 bh=ijYzpp9OSc6XRb0h3UzAr3IlxHW+z3X6l3p16i23mSw=;
 b=Td4FplERWoYYViBDaerGb5Un/WiTjt5fZ+blIHnokAaZYDxSKTyqHB4dd1F68j3e8r
 4Az9zWR6Vgmwq3LWxp8/rVjC1CasMrgEn0ozz+l7IduZmffM/usEDf2OE7WPlWvIXP5U
 2qxrCsq/g5yInXlSvpnu4xKbtqigm2fSjRvMazV8H8o8wK4RwJ/pv7xh3PXvHeLs3TUc
 uv0vPAUVvWj0it8yvQX9Qggxiw/EK3b3R12oBiDIzyU5bqf9I1JK/fBdwTSoJ233ugAn
 i8xJUaXAjS90o2pTBSaPTfnjWkWdOGY6dD1DRX924ezYEJbwanQiIAyikbNNFcBg/fe3
 z5tA==
X-Gm-Message-State: ALyK8tIz5lGiGu3VJhqTmnP24sM0jHyGSjDzQ78Kpgug0QUihWqOnnEBwqqmD6EL9rHSauwXntJhFoi8Ni/qjg==
X-Received: by 10.157.1.11 with SMTP id 11mr8791465otu.17.1465213358098; Mon,
 06 Jun 2016 04:42:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.5.168 with HTTP; Mon, 6 Jun 2016 04:42:37 -0700 (PDT)
In-Reply-To: <83r3cbt5l3.fsf@HIDDEN>
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
 <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
 <83wpm3tyvn.fsf@HIDDEN>
 <CAM-tV-_KXhWRejBE_uGcQm3DEykTPp_Le9_kawx1mUfLdeNc-A@HIDDEN>
 <83twh7tt83.fsf@HIDDEN>
 <CAM-tV-8tbH88M6Ro=H8DMnxTVUEyxtZSzR9RphyEu=ZO=Bd1hw@HIDDEN>
 <83r3cbt5l3.fsf@HIDDEN>
From: Noam Postavsky <npostavs@HIDDEN>
Date: Mon, 6 Jun 2016 07:42:37 -0400
X-Google-Sender-Auth: kmR8_Bg1BQFL1EMRn0psiW3-Lxo
Message-ID: <CAM-tV-8PMUorUvW21ah0V4OUTpXkedZrni6YmbhdHLoAJyKYug@HIDDEN>
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org, John Mastro <john.b.mastro@HIDDEN>,
 cwoodbury@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

tag 23574 + notabug
quit

On Sun, Jun 5, 2016 at 10:27 PM, Eli Zaretskii <eliz@HIDDEN> wrote:
>> That doesn't seem to be the case, with the following modification to
>> the recipe so that the newline characters are not underlined, the
>> underlining does not continue to the edge of the screen:
>
> When the newline does not have the underline attribute, the underline
> is not contiguous, so you are radically changing the use case.

Yes. However, I believe that this is what the original ensime code
intended to do; it only underlines the newlines themselves because
it's easier to make 1 overlay for all the lines at once and the
programmer didn't notice it was wrong because it happens to give the
desired effect in GUI mode.

Regardless, by experimentation I find that the space at the edge of
the screen takes the face from the final newline, not the last
displayed glyph character in the line. Is this documented anywhere?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 6 Jun 2016 02:26:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 05 22:26:48 2016
Received: from localhost ([127.0.0.1]:56051 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9kFc-0000Nd-J9
	for submit <at> debbugs.gnu.org; Sun, 05 Jun 2016 22:26:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41445)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b9kFY-0000NP-PA
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 22:26:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b9kFS-0008Pp-BX
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 22:26:39 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40986)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b9kFN-0008PF-Dp; Sun, 05 Jun 2016 22:26:33 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3766
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1b9kFL-0004Qr-Fg; Sun, 05 Jun 2016 22:26:31 -0400
Date: Mon, 06 Jun 2016 05:27:04 +0300
Message-Id: <83r3cbt5l3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
In-reply-to: <CAM-tV-8tbH88M6Ro=H8DMnxTVUEyxtZSzR9RphyEu=ZO=Bd1hw@HIDDEN>
 (message from Noam Postavsky on Sun, 5 Jun 2016 15:13:00 -0400)
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
 <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
 <83wpm3tyvn.fsf@HIDDEN>
 <CAM-tV-_KXhWRejBE_uGcQm3DEykTPp_Le9_kawx1mUfLdeNc-A@HIDDEN>
 <83twh7tt83.fsf@HIDDEN>
 <CAM-tV-8tbH88M6Ro=H8DMnxTVUEyxtZSzR9RphyEu=ZO=Bd1hw@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org, john.b.mastro@HIDDEN, cwoodbury@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

> From: Noam Postavsky <npostavs@HIDDEN>
> Date: Sun, 5 Jun 2016 15:13:00 -0400
> Cc: John Mastro <john.b.mastro@HIDDEN>, 23574 <at> debbugs.gnu.org, cwoodbury@HIDDEN
> 
> >> Just to clarify, "last character of that line" refers to the newline
> >> character or the one before it?
> >
> > The last displayed character of the line.  The newline is not
> > displayed, in the sense that it has no glyph, so it can have no face.
> 
> That doesn't seem to be the case, with the following modification to
> the recipe so that the newline characters are not underlined, the
> underlining does not continue to the edge of the screen:

When the newline does not have the underline attribute, the underline
is not contiguous, so you are radically changing the use case.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 5 Jun 2016 19:13:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 05 15:13:08 2016
Received: from localhost ([127.0.0.1]:55892 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9dTw-0005W0-KK
	for submit <at> debbugs.gnu.org; Sun, 05 Jun 2016 15:13:08 -0400
Received: from mail-oi0-f45.google.com ([209.85.218.45]:34232)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1b9dTu-0005VU-DH
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 15:13:06 -0400
Received: by mail-oi0-f45.google.com with SMTP id e72so197767175oib.1
 for <23574 <at> debbugs.gnu.org>; Sun, 05 Jun 2016 12:13:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc;
 bh=5h6N3Xu3EdMPmNm61OXuM+EE5EnOiax2HdnoMlhq8ZQ=;
 b=aKt6iJb8DuI8/pwnsmjFP5cLnuXsZcsuiWfZPPa9tORLz9NF7bAZxWjvTVh3vJJXNr
 xdDJCuoPIaeBaac8Xx7pONZ7qGyNLfP2tDojWHCXrHFOmp0HFKH3mYpkjseGJ3J9gizC
 HWs4hs51Bo8hyHhVIgor274PFWXu7m9M9T85DGxf9T/ZSxiYv4qw5dWu4iRyIgtHPicx
 uO/nj9qudkUa7ojswqBzqIZuBWuTRwK1a6pJ2+WzDiXy6fgLyX3TkknO241j3ryfOWL8
 D1JnO8PyKN8FQckvSBvFh3mglXbutgXpzdPVSYNV2A5YcKdW5DuOyy9jUNkl21CNcusJ
 jLhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc;
 bh=5h6N3Xu3EdMPmNm61OXuM+EE5EnOiax2HdnoMlhq8ZQ=;
 b=PXd6fg3RzFp4C84+PptZfVSlZ85UK0n2Da7kfJgln1SwyurjrCUPT676jg5sr1ERB4
 HhXbDbvwdoHKm3pYaN1NUk8CfFMyhBmFgPeEjMAWIik8Gyl0/hTYBsZWQFoGFw5lbxEU
 N090cMMqCjxJuW6v1bxduQ3CsU54XoePvDXV4DfcGl33Ql60BjT9YQSm7u2bX0J9m6kd
 aF7Tiwa/Oc02fSnW4K1sgIXx0ZwuZeD0O3l186TXaRNZdAjREKn+tJyVo2E208Atvisl
 A8UvsTEy8VsbvDwIiTUUoXi3cqu3PhFYFtOtCXdipZlz0NsjdJVgpy224Oej8b4yX1ZZ
 AgvQ==
X-Gm-Message-State: ALyK8tLSBL+53XoRtOGeEup2xdbrWYP9RHC12ot7897BvZMQVHqs8i+IqWJnkRZMA/yS6NV51XGSjHDCJpU9Qw==
X-Received: by 10.157.23.195 with SMTP id j61mr7557183otj.92.1465153980816;
 Sun, 05 Jun 2016 12:13:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.5.168 with HTTP; Sun, 5 Jun 2016 12:13:00 -0700 (PDT)
In-Reply-To: <83twh7tt83.fsf@HIDDEN>
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
 <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
 <83wpm3tyvn.fsf@HIDDEN>
 <CAM-tV-_KXhWRejBE_uGcQm3DEykTPp_Le9_kawx1mUfLdeNc-A@HIDDEN>
 <83twh7tt83.fsf@HIDDEN>
From: Noam Postavsky <npostavs@HIDDEN>
Date: Sun, 5 Jun 2016 15:13:00 -0400
X-Google-Sender-Auth: cesdxdjJB5omYNezSYsAbmNn63Q
Message-ID: <CAM-tV-8tbH88M6Ro=H8DMnxTVUEyxtZSzR9RphyEu=ZO=Bd1hw@HIDDEN>
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org, John Mastro <john.b.mastro@HIDDEN>,
 cwoodbury@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On Sun, Jun 5, 2016 at 1:56 PM, Eli Zaretskii <eliz@HIDDEN> wrote:
>> From: Noam Postavsky <npostavs@HIDDEN>
>> Date: Sun, 5 Jun 2016 13:05:53 -0400
>> Cc: John Mastro <john.b.mastro@HIDDEN>, 23574 <at> debbugs.gnu.org, cwoodbury@HIDDEN
>>
>> On Sun, Jun 5, 2016 at 11:54 AM, Eli Zaretskii <eliz@HIDDEN> wrote:
>> > We always try to make the empty space
>> > after the end of a screen line have the same face as the last
>> > character of that line.
>>
>> Just to clarify, "last character of that line" refers to the newline
>> character or the one before it?
>
> The last displayed character of the line.  The newline is not
> displayed, in the sense that it has no glyph, so it can have no face.

That doesn't seem to be the case, with the following modification to
the recipe so that the newline characters are not underlined, the
underlining does not continue to the edge of the screen:

(let (beg end ov)
  (defface example-underline-face
    '((t :underline t))
    "Example face with underlining")
  (goto-char (point-max))
  (newline)
  (setq beg (point))
  (insert "    foo")
  (setq end (point))
  (setq ov (make-overlay beg end))
  (overlay-put ov 'face 'example-underline-face)
  (insert "\n")
  (setq beg (point))
  (insert "    bar")
  (setq end (point))
  (setq ov (make-overlay beg end))
  (overlay-put ov 'face 'example-underline-face)
  (insert "\n"))


>
>> > While it should be
>> > possible to have GUI frames display underline all the way to window
>> > edge, no one has ever requested that, so we didn't bother.
>>
>> I think this would have been useful for magit to simplify the use of
>> overlays to display the region with horizontal lines.
>
> This is doable (and in fact we already do that in R2L paragraphs,
> which you can observe if you change the recipe's text to use R2L
> characters).

Yes (though it seems R2L is disabled in programming modes by default,
needed to use fundamental-mode buffer to see the effect).

>> In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21468#43 you
>> suggested a way using :align-to which turned out to have a bunch of
>> complications and magit ended up not using it (see
>> https://github.com/magit/magit/pull/2293).
>
> Did you try using the box attribute of a face?

Yes, but magit actually wants a multiline box (without internal
lines), so it didn't really work out (anyway, this is getting
off-topic for this bug).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 5 Jun 2016 18:36:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 05 14:36:01 2016
Received: from localhost ([127.0.0.1]:55883 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9cu1-0004ZF-I6
	for submit <at> debbugs.gnu.org; Sun, 05 Jun 2016 14:36:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42854)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b9ctz-0004Z2-CP
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 14:35:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b9ctq-0000PQ-R0
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 14:35:54 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60637)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b9ctq-0000PF-OM; Sun, 05 Jun 2016 14:35:50 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3545
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1b9ctn-0006Ep-NV; Sun, 05 Jun 2016 14:35:50 -0400
Date: Sun, 05 Jun 2016 21:36:01 +0300
Message-Id: <83shwrtre6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Colin Woodbury <cwoodbury@HIDDEN>
In-reply-to: <CAHuwsfhRt5i2J25Po8fcRsJSsw9uutfmvMF_Cus=Ej=aynHbZQ@HIDDEN>
 (message from Colin Woodbury on Sun, 5 Jun 2016 11:20:24 -0700)
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
 <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
 <83wpm3tyvn.fsf@HIDDEN>
 <CAM-tV-_KXhWRejBE_uGcQm3DEykTPp_Le9_kawx1mUfLdeNc-A@HIDDEN>
 <83twh7tt83.fsf@HIDDEN>
 <CAHuwsfhRt5i2J25Po8fcRsJSsw9uutfmvMF_Cus=Ej=aynHbZQ@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org, john.b.mastro@HIDDEN,
 npostavs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

> From: Colin Woodbury <cwoodbury@HIDDEN>
> Date: Sun, 5 Jun 2016 11:20:24 -0700
> Cc: Noam Postavsky <npostavs@HIDDEN>, john.b.mastro@HIDDEN, 
> 	23574 <at> debbugs.gnu.org
> 
> Interesting that you consider the the GUI _not_ displaying the face all the way to end of screen to be a bug.

It's not a bug, it's the intended behavior.  On GUI frames, the
display engine only makes sure to extend the face if it has one or
more of the following attributes:

  . background color
  . stipple
  . box

> I think only displaying to the end of the characters (as shown in images in the Github issue) is the expected
> behaviour. Otherwise, the screen (at least with underlining) gets quite noisy.

Why would you have underlining span several lines if you don't want
that effect?  (I admit I didn't really understand the original use
case which prompted this report.)

Anyway, you've just heard of another application which would like the
GUI frames behave like TTYs, not the other way around.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 5 Jun 2016 18:20:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 05 14:20:33 2016
Received: from localhost ([127.0.0.1]:55876 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9cf3-0004CQ-10
	for submit <at> debbugs.gnu.org; Sun, 05 Jun 2016 14:20:33 -0400
Received: from mail-lf0-f42.google.com ([209.85.215.42]:35955)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cwoodbury@HIDDEN>) id 1b9cf0-0004CA-Qf
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 14:20:31 -0400
Received: by mail-lf0-f42.google.com with SMTP id b73so82098676lfb.3
 for <23574 <at> debbugs.gnu.org>; Sun, 05 Jun 2016 11:20:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azavea.com; s=google;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=XK8D0EB2YB8tZiddM0VdljYm+e71u5FUsyvpWJGQMqg=;
 b=kwSGqUGax8YwC24Mf5QhkvNxyFPC86W3Y06+2lI26/ZntTwIKoEFzpA+IiOTNmy/y6
 V+NS3spId3BjGtck6h6yXisJ/uleCM0HLtYUwLBJ50bCNCZaYN/wVsLludBG0ShWN0dp
 TcDHO+2VqRPXSlpKXYFUvvo8Nk0g7OlrBssO0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=XK8D0EB2YB8tZiddM0VdljYm+e71u5FUsyvpWJGQMqg=;
 b=GM82R6JuVsqYNcLubNofFdC3MMGz5jZzwKDCcMMvZvYct2PJFN32gJ3T3O3ZN/RBUF
 Xj2FiY4vxsEM+87D/5nAZLeLcsulAY7DvnVAlnbL7uOdMAswb4D7cvzwstkzyntu3TP+
 lMJfqr/56T5TzKHPp1uG+modskn9Lw1taXCuzC73iIYLRS0DAW4rUA8Imd6tcDBgbnTw
 KBx0woR3+TFYf0KShMTAHj+ZPmHsdByq4xEJ7EqFZHmFKqn4Ol67vkNI1N7YWBZspMXO
 PJY9LciHvASf0yVPkcuJzi7mWPiFf17CWfYPszC878ZfDF0cdcTXUUHYjo5mNEa7r5wE
 dtFQ==
X-Gm-Message-State: ALyK8tK7oGAtW91V+PjUyze0y6iwRm6MdZXtpm3whnMQ4EyKO9xrAtKmRrZ9/R7JcT+pVCVsT4ehB80MBORfsW2d
X-Received: by 10.25.215.30 with SMTP id o30mr379762lfg.132.1465150824784;
 Sun, 05 Jun 2016 11:20:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.32.212 with HTTP; Sun, 5 Jun 2016 11:20:24 -0700 (PDT)
In-Reply-To: <83twh7tt83.fsf@HIDDEN>
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
 <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
 <83wpm3tyvn.fsf@HIDDEN>
 <CAM-tV-_KXhWRejBE_uGcQm3DEykTPp_Le9_kawx1mUfLdeNc-A@HIDDEN>
 <83twh7tt83.fsf@HIDDEN>
From: Colin Woodbury <cwoodbury@HIDDEN>
Date: Sun, 5 Jun 2016 11:20:24 -0700
Message-ID: <CAHuwsfhRt5i2J25Po8fcRsJSsw9uutfmvMF_Cus=Ej=aynHbZQ@HIDDEN>
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary=001a1140e420743c7205348c02d2
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org, john.b.mastro@HIDDEN,
 Noam Postavsky <npostavs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--001a1140e420743c7205348c02d2
Content-Type: text/plain; charset=UTF-8

Interesting that you consider the the GUI _not_ displaying the face all the
way to end of screen to be a bug. I think only displaying to the end of the
characters (as shown in images in the Github issue) is the expected
behaviour. Otherwise, the screen (at least with underlining) gets quite
noisy.

On Sun, Jun 5, 2016 at 10:56 AM, Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: Noam Postavsky <npostavs@HIDDEN>
> > Date: Sun, 5 Jun 2016 13:05:53 -0400
> > Cc: John Mastro <john.b.mastro@HIDDEN>, 23574 <at> debbugs.gnu.org,
> cwoodbury@HIDDEN
> >
> > On Sun, Jun 5, 2016 at 11:54 AM, Eli Zaretskii <eliz@HIDDEN> wrote:
> > > We always try to make the empty space
> > > after the end of a screen line have the same face as the last
> > > character of that line.
> >
> > Just to clarify, "last character of that line" refers to the newline
> > character or the one before it?
>
> The last displayed character of the line.  The newline is not
> displayed, in the sense that it has no glyph, so it can have no face.
>
> > > While it should be
> > > possible to have GUI frames display underline all the way to window
> > > edge, no one has ever requested that, so we didn't bother.
> >
> > I think this would have been useful for magit to simplify the use of
> > overlays to display the region with horizontal lines.
>
> This is doable (and in fact we already do that in R2L paragraphs,
> which you can observe if you change the recipe's text to use R2L
> characters).  But note that the OP in this bug report wants the exact
> opposite: to NOT have the underlining extended on TTYs.  So clearly
> there's no "one size fits all" solution here.
>
> > In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21468#43 you
> > suggested a way using :align-to which turned out to have a bunch of
> > complications and magit ended up not using it (see
> > https://github.com/magit/magit/pull/2293).
>
> Did you try using the box attribute of a face?
>



-- 
Colin Woodbury
Geotrellis Team @ Azavea

--001a1140e420743c7205348c02d2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Interesting that you consider the the GUI _not_ displaying=
 the face all the way to end of screen to be a bug. I think only displaying=
 to the end of the characters (as shown in images in the Github issue) is t=
he expected behaviour. Otherwise, the screen (at least with underlining) ge=
ts quite noisy.<br></div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Sun, Jun 5, 2016 at 10:56 AM, Eli Zaretskii <span dir=3D"ltr">&l=
t;<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">&gt; From: Noam Postavsky &lt=
;<a href=3D"mailto:npostavs@HIDDEN">npostavs@HIDDEN=
ge.net</a>&gt;<br>
&gt; Date: Sun, 5 Jun 2016 13:05:53 -0400<br>
&gt; Cc: John Mastro &lt;<a href=3D"mailto:john.b.mastro@HIDDEN">john.b.=
mastro@HIDDEN</a>&gt;, <a href=3D"mailto:23574 <at> debbugs.gnu.org">23574@de=
bbugs.gnu.org</a>, <a href=3D"mailto:cwoodbury@HIDDEN">cwoodbury@azavea=
.com</a><br>
<span class=3D"">&gt;<br>
&gt; On Sun, Jun 5, 2016 at 11:54 AM, Eli Zaretskii &lt;<a href=3D"mailto:e=
liz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:<br>
&gt; &gt; We always try to make the empty space<br>
&gt; &gt; after the end of a screen line have the same face as the last<br>
&gt; &gt; character of that line.<br>
&gt;<br>
&gt; Just to clarify, &quot;last character of that line&quot; refers to the=
 newline<br>
&gt; character or the one before it?<br>
<br>
</span>The last displayed character of the line.=C2=A0 The newline is not<b=
r>
displayed, in the sense that it has no glyph, so it can have no face.<br>
<span class=3D""><br>
&gt; &gt; While it should be<br>
&gt; &gt; possible to have GUI frames display underline all the way to wind=
ow<br>
&gt; &gt; edge, no one has ever requested that, so we didn&#39;t bother.<br=
>
&gt;<br>
&gt; I think this would have been useful for magit to simplify the use of<b=
r>
&gt; overlays to display the region with horizontal lines.<br>
<br>
</span>This is doable (and in fact we already do that in R2L paragraphs,<br=
>
which you can observe if you change the recipe&#39;s text to use R2L<br>
characters).=C2=A0 But note that the OP in this bug report wants the exact<=
br>
opposite: to NOT have the underlining extended on TTYs.=C2=A0 So clearly<br=
>
there&#39;s no &quot;one size fits all&quot; solution here.<br>
<span class=3D""><br>
&gt; In <a href=3D"http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21468#43"=
 rel=3D"noreferrer" target=3D"_blank">http://debbugs.gnu.org/cgi/bugreport.=
cgi?bug=3D21468#43</a> you<br>
&gt; suggested a way using :align-to which turned out to have a bunch of<br=
>
&gt; complications and magit ended up not using it (see<br>
&gt; <a href=3D"https://github.com/magit/magit/pull/2293" rel=3D"noreferrer=
" target=3D"_blank">https://github.com/magit/magit/pull/2293</a>).<br>
<br>
</span>Did you try using the box attribute of a face?<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br><div class=3D"gmail_sig=
nature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div>Colin Wood=
bury<br></div>Geotrellis Team @ Azavea<br></div></div>
</div>

--001a1140e420743c7205348c02d2--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 5 Jun 2016 17:56:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 05 13:56:23 2016
Received: from localhost ([127.0.0.1]:55850 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9cHf-0000PQ-J3
	for submit <at> debbugs.gnu.org; Sun, 05 Jun 2016 13:56:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34381)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b9cHd-0000PD-Tz
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 13:56:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b9cHX-0007IZ-K7
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 13:56:16 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59598)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b9cHS-0007IE-L6; Sun, 05 Jun 2016 13:56:10 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3533
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1b9cHP-0007xo-2u; Sun, 05 Jun 2016 13:56:09 -0400
Date: Sun, 05 Jun 2016 20:56:28 +0300
Message-Id: <83twh7tt83.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
In-reply-to: <CAM-tV-_KXhWRejBE_uGcQm3DEykTPp_Le9_kawx1mUfLdeNc-A@HIDDEN>
 (message from Noam Postavsky on Sun, 5 Jun 2016 13:05:53 -0400)
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
 <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
 <83wpm3tyvn.fsf@HIDDEN>
 <CAM-tV-_KXhWRejBE_uGcQm3DEykTPp_Le9_kawx1mUfLdeNc-A@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org, john.b.mastro@HIDDEN, cwoodbury@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

> From: Noam Postavsky <npostavs@HIDDEN>
> Date: Sun, 5 Jun 2016 13:05:53 -0400
> Cc: John Mastro <john.b.mastro@HIDDEN>, 23574 <at> debbugs.gnu.org, cwoodbury@HIDDEN
> 
> On Sun, Jun 5, 2016 at 11:54 AM, Eli Zaretskii <eliz@HIDDEN> wrote:
> > We always try to make the empty space
> > after the end of a screen line have the same face as the last
> > character of that line.
> 
> Just to clarify, "last character of that line" refers to the newline
> character or the one before it?

The last displayed character of the line.  The newline is not
displayed, in the sense that it has no glyph, so it can have no face.

> > While it should be
> > possible to have GUI frames display underline all the way to window
> > edge, no one has ever requested that, so we didn't bother.
> 
> I think this would have been useful for magit to simplify the use of
> overlays to display the region with horizontal lines.

This is doable (and in fact we already do that in R2L paragraphs,
which you can observe if you change the recipe's text to use R2L
characters).  But note that the OP in this bug report wants the exact
opposite: to NOT have the underlining extended on TTYs.  So clearly
there's no "one size fits all" solution here.

> In http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21468#43 you
> suggested a way using :align-to which turned out to have a bunch of
> complications and magit ended up not using it (see
> https://github.com/magit/magit/pull/2293).

Did you try using the box attribute of a face?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 5 Jun 2016 17:06:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 05 13:06:01 2016
Received: from localhost ([127.0.0.1]:55768 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9bUv-00035w-4s
	for submit <at> debbugs.gnu.org; Sun, 05 Jun 2016 13:06:01 -0400
Received: from mail-oi0-f53.google.com ([209.85.218.53]:34145)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1b9bUt-00035k-F2
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 13:06:00 -0400
Received: by mail-oi0-f53.google.com with SMTP id e72so195309966oib.1
 for <23574 <at> debbugs.gnu.org>; Sun, 05 Jun 2016 10:05:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc;
 bh=M2/GfA+OHBtiNWJmc4k0B+Slufa6ekK+t9B5uLspoRs=;
 b=tz2TrpHZo4ogVRTSCg+/5h9v3Wb4VZlR7d4uvuWFdZyUsgbMfutpPaMjwiGJagpOM+
 3CzgMQ7mvFt1bVk8vA81GJn3G6VxksLdNonXzRurhGiknIkq0AcDrRqobLzF1RCWASdD
 hCSG5fCqkJJ/g6zKxVKxXO9PPwVMTp6IGcw4OasjI6yU8Ls2GooLGBRd+t6wuir8ewEp
 lkZzXS5rgnKsf2NC8bG69eYuIzE0s/xEp+PB183zmmgO1zuF/IaKEshzLkKULO3jB/0a
 I8M0H+3JTSm/dy3h4Ao+dM6VD+jij8R3QUj9trTPTF7HONCdZ2A0nYHiRz0nO8V3ue/s
 pODA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc;
 bh=M2/GfA+OHBtiNWJmc4k0B+Slufa6ekK+t9B5uLspoRs=;
 b=FeFBt1quRaJHL+sbUl+G6OsqsoXvIm84+qFSU2IsmLtP3eyc8M0d7DGZoiRrRASiyG
 hIF2nqpm/LP2qnlAX7dyxQX8WNwyzSmzE+4u+IYNaidsiwOq0TcLXmGEQY3vTy/9fYWH
 9JqdcPHaCOhiIAJWQnjvmu1dpNyJvvhMXOyS2e5b50OfWFV+G9JkldsxF7iRI4tdruAB
 JzhuTlxWuzx+AsDYECBMFNbCrCKD6hQGlqji43yId04NpXdb13o+KiOGLbvjJm53DK9z
 VJpPfZJ2VlW6D16bd5qplbnhe+e+bBb2jtdOriHpjSrWfcuGUhhT/Ul3hse24MvHYTKv
 SYTg==
X-Gm-Message-State: ALyK8tIDw5HraA1R6FBjGOpuuedy5xl+ULzXxG6zb6qKK3gmPeH2ydJks0PrqNYhkalJeSJirO2mkmtUjpf4Jw==
X-Received: by 10.202.77.129 with SMTP id a123mr5473123oib.143.1465146354000; 
 Sun, 05 Jun 2016 10:05:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.5.168 with HTTP; Sun, 5 Jun 2016 10:05:53 -0700 (PDT)
In-Reply-To: <83wpm3tyvn.fsf@HIDDEN>
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
 <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
 <83wpm3tyvn.fsf@HIDDEN>
From: Noam Postavsky <npostavs@HIDDEN>
Date: Sun, 5 Jun 2016 13:05:53 -0400
X-Google-Sender-Auth: ojVCg41zkNd6yXn4Qcs2u6C9kik
Message-ID: <CAM-tV-_KXhWRejBE_uGcQm3DEykTPp_Le9_kawx1mUfLdeNc-A@HIDDEN>
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org, John Mastro <john.b.mastro@HIDDEN>,
 cwoodbury@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On Sun, Jun 5, 2016 at 11:54 AM, Eli Zaretskii <eliz@HIDDEN> wrote:
> We always try to make the empty space
> after the end of a screen line have the same face as the last
> character of that line.

Just to clarify, "last character of that line" refers to the newline
character or the one before it?

> While it should be
> possible to have GUI frames display underline all the way to window
> edge, no one has ever requested that, so we didn't bother.

I think this would have been useful for magit to simplify the use of
overlays to display the region with horizontal lines. In
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21468#43 you suggested a
way using :align-to which turned out to have a bunch of complications
and magit ended up not using it (see
https://github.com/magit/magit/pull/2293).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 5 Jun 2016 15:54:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 05 11:54:03 2016
Received: from localhost ([127.0.0.1]:55754 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9aNH-0001Nx-1H
	for submit <at> debbugs.gnu.org; Sun, 05 Jun 2016 11:54:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37028)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b9aNE-0001NM-Tm
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 11:54:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b9aN8-0001Uu-Sj
 for 23574 <at> debbugs.gnu.org; Sun, 05 Jun 2016 11:53:55 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57454)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b9aN3-0001T5-E3; Sun, 05 Jun 2016 11:53:49 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3377
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1b9aN2-0005nk-JJ; Sun, 05 Jun 2016 11:53:48 -0400
Date: Sun, 05 Jun 2016 18:54:20 +0300
Message-Id: <83wpm3tyvn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: John Mastro <john.b.mastro@HIDDEN>
In-reply-to: <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
 (message from John Mastro on Sat, 4 Jun 2016 14:37:28 -0700)
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
 <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org, cwoodbury@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

> From: John Mastro <john.b.mastro@HIDDEN>
> Date: Sat, 4 Jun 2016 14:37:28 -0700
> Cc: Eli Zaretskii <eliz@HIDDEN>, Colin Woodbury <cwoodbury@HIDDEN>
> 
>     (progn
>       (defface example-underline-face
>         '((t :underline t))
>         "Example face with underlining")
>       (goto-char (point-max))
>       (newline)
>       (insert (propertize "    foo\n    bar\n"
>                           'font-lock-face
>                           'example-underline-face)))
> 
> In a graphical frame, the underline only extends one character past the
> visible text (this one extra character presumably being the newline).
> However, in a text frame the underline extends all the way to the end of
> the window.

OK, then my guess was correct after all, and what you see is how Emacs
behaved since v21 at least.  If there is a problem here, it's in GUI
frames, not in TTY frames.  We always try to make the empty space
after the end of a screen line have the same face as the last
character of that line.  With background color, this works in both TTY
and GUI frames, but we cannot do that with underlining without
actually drawing something in that empty space.  While it should be
possible to have GUI frames display underline all the way to window
edge, no one has ever requested that, so we didn't bother.

In sum, this is the intended behavior, and if the application doesn't
like it, it should refrain from underlining more than one line.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 4 Jun 2016 21:37:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 04 17:37:56 2016
Received: from localhost ([127.0.0.1]:54659 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9JGW-0005nY-06
	for submit <at> debbugs.gnu.org; Sat, 04 Jun 2016 17:37:56 -0400
Received: from mail-yw0-f179.google.com ([209.85.161.179]:36783)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <john.b.mastro@HIDDEN>) id 1b9JGT-0005nK-Ei
 for 23574 <at> debbugs.gnu.org; Sat, 04 Jun 2016 17:37:54 -0400
Received: by mail-yw0-f179.google.com with SMTP id x189so110418354ywe.3
 for <23574 <at> debbugs.gnu.org>; Sat, 04 Jun 2016 14:37:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=8E/xmF2teEcGoxDCExwzlDCtmPgb812dzV/FJcHg2g8=;
 b=Xiq16EsiKwxlgFczW3fEbpFUkaFwsx7oape3/BF3iGxLjd+Fev0aj/1t481T0B4iyy
 bY3x9fI0VktGzb5aXsL20GiR3U3Gci104cLXplr0r+IEg8O0fcvv13UqNpZCt9f9M0jr
 YETGKDbChZLXL+nzTA+F43yUzMbQs7E2r5MtUrgMceMoqP7nUEwIoLOrBkhSwGHi1EgI
 +mf2Ma7sI3jiEAFk2Wv3XaN7keZMhoiSEOE7VfdfCgqNnAGpqCzO0dYKu2QPdLRzebJf
 tI/0qg3Rs2YSN4pDDb6DKLUW1rSbpPTvXaQa99CTlGEmkh1hEdv2Td1tWo4Lvv5zLSaZ
 ENVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=8E/xmF2teEcGoxDCExwzlDCtmPgb812dzV/FJcHg2g8=;
 b=AIiHxwf1evWiDnRnAVsNE2vNpYYlNOB1ktCoeO9uJZj16Wx9VGY6+ENCx48SwmreAi
 X5QUKdZzMvt22MO7vXki40ziyqwp7Er0EECNXxyWfLA2PaEHP7+VrA7T9osEpb4BPf2B
 Sn/hrqrhF9S2RwrkVH1At/2UJlE6r9Zssqfz3dCN70qsWt5z0e4SwvjY0rOpwdDDHs5q
 e1vzyL55iopo5nqiSIkNXUZoO5rr+q7IDofQY2JE9A4EZx/bNyc7X+WXu9plpjtb7fMN
 ScprHrvIHGtr+9bG3rAso7x0E20mco8QheL7B4qHL5Qj7iIaiAJNjs0gkS2WcOTlNKFS
 y5Kg==
X-Gm-Message-State: ALyK8tIeZqpG/AVSJHnL5shwEjtelJ9SKrYiUFU36uI3aFuCwwvSURRO6+nCdLL31Qpf0DYr81iw8ucQWUBgpw==
X-Received: by 10.129.23.77 with SMTP id 74mr6802845ywx.127.1465076268005;
 Sat, 04 Jun 2016 14:37:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.94.137 with HTTP; Sat, 4 Jun 2016 14:37:28 -0700 (PDT)
In-Reply-To: <83d1nxudrb.fsf@HIDDEN>
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 <83d1nxudrb.fsf@HIDDEN>
From: John Mastro <john.b.mastro@HIDDEN>
Date: Sat, 4 Jun 2016 14:37:28 -0700
Message-ID: <CAOj2CQQ7AXQr5R7s4H=ARCZ8i=hTKkn1M_pcMUEueD+6MS4vvA@HIDDEN>
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
To: 23574 <at> debbugs.gnu.org
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 23574
Cc: Eli Zaretskii <eliz@HIDDEN>, Colin Woodbury <cwoodbury@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Eli Zaretskii <eliz@HIDDEN> wrote:
>> Thanks for the response, Eli. If it's not a bug in terminal emacs,
>> then why do GUI emacs and terminal emacs display different things?
>> Note from the images that the empty space in GUI is _not_ given the
>> same overlay/face as the text.
>
> If you show me some Lisp which produces these different effects in X
> and non-X sessions, I could try looking for the reason.  All I've seen
> is a screenshot, from which I deduced (perhaps incorrectly) what was
> done to produce it.

Here's an example shows the effect Colin is seeing:

    (let (beg end ov)
      (defface example-underline-face
        '((t :underline t))
        "Example face with underlining")
      (goto-char (point-max))
      (newline)
      (setq beg (point))
      (insert "    foo\n    bar\n")
      (setq end (point))
      (setq ov (make-overlay beg end))
      (overlay-put ov 'face 'example-underline-face))

The result is the same with text properties instead of an overlay:

    (progn
      (defface example-underline-face
        '((t :underline t))
        "Example face with underlining")
      (goto-char (point-max))
      (newline)
      (insert (propertize "    foo\n    bar\n"
                          'font-lock-face
                          'example-underline-face)))

In a graphical frame, the underline only extends one character past the
visible text (this one extra character presumably being the newline).
However, in a text frame the underline extends all the way to the end of
the window.

        John




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 4 Jun 2016 16:20:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 04 12:20:27 2016
Received: from localhost ([127.0.0.1]:54541 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b9EJH-000772-J2
	for submit <at> debbugs.gnu.org; Sat, 04 Jun 2016 12:20:27 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43600)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b9EJG-00076q-6m
 for 23574 <at> debbugs.gnu.org; Sat, 04 Jun 2016 12:20:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b9EJ6-0000Ss-3j
 for 23574 <at> debbugs.gnu.org; Sat, 04 Jun 2016 12:20:21 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40659)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b9EJ6-0000SO-0J; Sat, 04 Jun 2016 12:20:16 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2837
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1b9EJ3-00006I-Cu; Sat, 04 Jun 2016 12:20:14 -0400
Date: Sat, 04 Jun 2016 19:20:40 +0300
Message-Id: <83d1nxudrb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Colin Woodbury <cwoodbury@HIDDEN>
In-reply-to: <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
 (message from Colin Woodbury on Sat, 4 Jun 2016 08:54:27 -0700)
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 <83porxwg1f.fsf@HIDDEN>
 <CAHuwsfihHJ8WHwmHvMDF7Ynns4YOJSKEEbjhpbYrw0V=5aYXEQ@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

> From: Colin Woodbury <cwoodbury@HIDDEN>
> Date: Sat, 4 Jun 2016 08:54:27 -0700
> 
> Thanks for the response, Eli. If it's not a bug in terminal emacs, then why do GUI emacs and terminal emacs
> display different things? Note from the images that the empty space in GUI is _not_ given the same
> overlay/face as the text.
> 
> Thoughts?

If you show me some Lisp which produces these different effects in X
and non-X sessions, I could try looking for the reason.  All I've seen
is a screenshot, from which I deduced (perhaps incorrectly) what was
done to produce it.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at 23574 <at> debbugs.gnu.org:


Received: (at 23574) by debbugs.gnu.org; 4 Jun 2016 07:48:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 04 03:48:14 2016
Received: from localhost ([127.0.0.1]:53684 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b96Ja-0002uG-8z
	for submit <at> debbugs.gnu.org; Sat, 04 Jun 2016 03:48:14 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49713)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1b96JX-0002u3-1L
 for 23574 <at> debbugs.gnu.org; Sat, 04 Jun 2016 03:48:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1b96JN-0004Fo-Pe
 for 23574 <at> debbugs.gnu.org; Sat, 04 Jun 2016 03:48:05 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35604)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1b96JN-0004FV-MV; Sat, 04 Jun 2016 03:48:01 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2296
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1b96JL-0001wY-SP; Sat, 04 Jun 2016 03:48:00 -0400
Date: Sat, 04 Jun 2016 10:48:28 +0300
Message-Id: <83porxwg1f.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Colin Woodbury <cwoodbury@HIDDEN>
In-reply-to: <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
 (message from Colin Woodbury on Mon, 30 May 2016 08:04:16 -0700)
Subject: Re: bug#23574: 24.5; Overzealous underlining in emacs-nox
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
 <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: 23574
Cc: 23574 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

> Date: Mon, 30 May 2016 08:04:16 -0700
> From: Colin Woodbury <cwoodbury@HIDDEN>
> 
> Confirmed that this is definitely strictly a problem with emacs in the terminal. Has anyone had a chance to
> look at this?

Given what I read in the original bug report you pointed to, I'm not
convinced it's an Emacs bug (or even that there is a bug at all).
There's an opinion there at the end that this is "strictly an Emacs
issue", but the example shown is the intended behavior: Emacs always
gives the empty screen space after the line end the same face as the
last character on the line.  You can easily see that by
shift-selecting text that spans more than one line.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 May 2016 15:04:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 30 11:04:36 2016
Received: from localhost ([127.0.0.1]:47736 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b7Ok7-0007Hr-Qd
	for submit <at> debbugs.gnu.org; Mon, 30 May 2016 11:04:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40528)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cwoodbury@HIDDEN>) id 1b7Ok4-0007Hd-S5
 for submit <at> debbugs.gnu.org; Mon, 30 May 2016 11:04:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b7Ojx-0002Vh-J5
 for submit <at> debbugs.gnu.org; Mon, 30 May 2016 11:04:27 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51332)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b7Ojx-0002VN-Fd
 for submit <at> debbugs.gnu.org; Mon, 30 May 2016 11:04:25 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59715)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b7Ojt-00077C-Qv
 for bug-gnu-emacs@HIDDEN; Mon, 30 May 2016 11:04:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b7Ojq-0002Ui-8S
 for bug-gnu-emacs@HIDDEN; Mon, 30 May 2016 11:04:20 -0400
Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]:38659)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b7Ojp-0002Ub-RT
 for bug-gnu-emacs@HIDDEN; Mon, 30 May 2016 11:04:18 -0400
Received: by mail-it0-x22c.google.com with SMTP id i127so9634217ita.1
 for <bug-gnu-emacs@HIDDEN>; Mon, 30 May 2016 08:04:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azavea.com; s=google;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to;
 bh=CpHbxgoRoUs32/lNL1ZrF12PGHIxJ1+9rPsfeTyaR0M=;
 b=WsYZFY8V+6Avo2eEqw45ulOAtY+J+RL16aX50i41j8iQqkCSKk0yIMhxp4hQSpVCS+
 tdbEz6fS+qFCWOyRHqdRabjExB69YDqqhDas56hekZX3Sb1DtH9byZ4n0dqc9tn8b8xH
 1jC5SxOgVburlqhK14H26Joqj4oXkZAxeGjds=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to;
 bh=CpHbxgoRoUs32/lNL1ZrF12PGHIxJ1+9rPsfeTyaR0M=;
 b=Vu/19kPf1QdR21mmmdQ77ktdiCKmD94Eoj4v1Pjh9bOsrD/yUi1jbvSWbeexCFpCMQ
 8NfOk3AXaEVkbCrgC3h3KXUBssgzckKF6y4vSfkPdVJYBtiPKkl7FuG5/zZE7hqk/zBK
 e1xm8PmCTBiE2F5xi4iPecymhdsDPhksOIeINXjmk4ybAphY2+A8S8elep9MDu/0jvYE
 fNGAqiCT8fQNbjU/YEV815lkAvmeM2fQUPXlVZNg6/7u5KZSUiD0gjI+9Oj/a2TfLR0R
 sZMKXSxAwVk/fs2MDeRseN2z3uY2lmAWmNYJEdnyesAT++0H7LVGVjCN72+LkwIZY7d9
 gKfQ==
X-Gm-Message-State: ALyK8tKltytXgbm+3rZa5B2vdSLXBftqQ27n/DLTupmdky0qQd5BOW9vBCSuhCyi+yts96KeKCMqcG2x/d6azi6V
MIME-Version: 1.0
X-Received: by 10.36.204.198 with SMTP id x189mr8605173itf.19.1464620656643;
 Mon, 30 May 2016 08:04:16 -0700 (PDT)
Received: by 10.107.130.70 with HTTP; Mon, 30 May 2016 08:04:16 -0700 (PDT)
In-Reply-To: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
References: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
Date: Mon, 30 May 2016 08:04:16 -0700
Message-ID: <CAHuwsfgZ4KqPFCAq5uaONGnnHgXoSbehT9o94ORW1CVeaQ-1EQ@HIDDEN>
Subject: Re: 24.5; Overzealous underlining in emacs-nox
From: Colin Woodbury <cwoodbury@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=94eb2c0602fef868f3053410912d
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--94eb2c0602fef868f3053410912d
Content-Type: text/plain; charset=UTF-8

Confirmed that this is definitely strictly a problem with emacs in the
terminal. Has anyone had a chance to look at this?

On Wed, May 18, 2016 at 10:03 AM, Colin Woodbury <cwoodbury@HIDDEN>
wrote:

> I use ensime for Scala editing, and I've come across a strange display bug
>  which is only present in `emacs -nw`, `emacsclient -nw` or just `emacs`
> from
>  the `emacs-nox` package. It has to do with some very jarring underlining
>  that occurs during ensime's "semantic highlighting". The issue does not
>  occur in normal GUI emacs.
>
>  I've contacted the ensime maintainers, and while they can reproduce the
>  bug, they claim it isn't an ensime problem. Hence I'm here.
>
>  The ensime bug report (with pictures and instructions to reproduce) can
> be found here:
>  https://github.com/ensime/ensime-emacs/issues/440
>
>  Thanks for any help you can give.
>
>  In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu)
>   of 2016-05-01 on svetlemodry
>  System Description:     Arch Linux
>
>  Configured using:
>   `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
>   --localstatedir=/var --without-x --without-sound 'CFLAGS=-march=x86-64
>   -mtune=generic -O2 -pipe -fstack-protector-strong'
>   CPPFLAGS=-D_FORTIFY_SOURCE=2
>   LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'
>
>  Important settings:
>    value of $LANG: en_US.UTF-8
>    locale-coding-system: utf-8-unix
>
> Major mode: Scala
>
>  Minor modes in effect:
>    yas-minor-mode: t
>    company-mode: t
>    diff-auto-refine-mode: t
>    ensime-mode: t
>    helm-mode: t
>    shell-dirtrack-mode: t
>    async-bytecomp-package-mode: t
>    electric-pair-mode: t
>    tooltip-mode: t
>    electric-indent-mode: t
>    menu-bar-mode: t
>    file-name-shadow-mode: t
>    global-font-lock-mode: t
>    font-lock-mode: t
>    auto-composition-mode: t
>    auto-encryption-mode: t
>    auto-compression-mode: t
>    column-number-mode: t
>    line-number-mode: t
>    transient-mark-mode: t
>
>  Recent messages:
>  Wrote /home/colin/*message*-20160518-095148
>  C-c k is undefined
>  C-c C-n is undefined
>  Mark saved where search started
>  Quit
>  ENSIME server starting...
>  Connecting to Swank on port 38005..
>  Connected to ENSIME speaking protocol 0.8.20, please wait while the
> project is loaded.
>  Initializing Analyzer. Please wait...
>  ENSIME ready. Colin, this could be the start of a beautiful program.
>
>  Load-path shadows:
>  /home/colin/.emacs.d/elpa/helm-20160517.202/helm-multi-match hides
> /home/colin/.emacs.d/elpa/helm-core-2\
>  0160516.2343/helm-multi-match
>
>  Features:
>  (network-stream starttls tls ido vc-git ensime-company yasnippet company
>  pcase scala-mode scala-mode-prettify-symbols scala-mode-imenu
>  scala-mode-map scala-mode-fontlock scala-mode-indent
>  scala-mode-paragraph scala-mode-lib image-file misearch multi-isearch
>  shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode
>  mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
>  sendmail rfc2047 rfc2045 ietf-drums mail-utils winner helm-command
>  helm-elisp helm-eval edebug eldoc help-mode org-clock diary-lib
>  diary-loaddefs cal-iso org-element org-rmail org-mhe org-irc org-info
>  org-gnus org-docview doc-view jka-compr image-mode image org-bibtex
>  bibtex org-bbdb org-w3m org-agenda org org-macro org-footnote
>  org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
>  ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint
>  ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu
>  calendar cal-loaddefs server ensime ensime-sbt sbt-mode sbt-mode-rgrep
>  grep sbt-mode-comint sbt-mode-buffer sbt-mode-project sbt-mode-vars
>  ensime-http ensime-ui ensime-semantic-highlight ensime-doc ensime-search
>  ensime-undo ensime-startup ensime-refactor diff-mode ensime-popup
>  ensime-notes ensime-model ensime-mode ensime-inspector imenu
>  ensime-goto-testfile ensime-editor popup ensime-debug gdb-mi bindat gud
>  ensime-stacktrace ensime-inf ensime-completion-util scala-mode-syntax
>  ensime-config ensime-util ensime-client ensime-vars s ucs-normalize
>  hideshow arc-mode archive-mode dash url-gw ensime-macros cl
>  haskell-interactive-mode haskell-presentation-mode haskell-collapse
>  haskell-process haskell-session json haskell-navigate-imports
>  haskell-compile haskell-mode haskell-cabal haskell-utils
>  haskell-font-lock haskell-indentation haskell-string
>  haskell-sort-imports haskell-lexeme haskell-align-imports haskell-compat
>  haskell-complete-module noutline outline flymake etags dabbrev
>  haskell-customize helm-mode helm-files rx image-dired tramp tramp-compat
>  tramp-loaddefs trampver shell pcomplete format-spec dired-x dired-aux
>  ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark
>  helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexp
>  helm-plugin helm-external helm-net browse-url xml url url-proxy
>  url-privacy url-expand url-methods url-history url-cookie url-domsuf
>  url-util url-parse auth-source gnus-util time-date mm-util mail-prsvr
>  password-cache url-vars mailcap helm-utils compile comint regexp-opt
>  ansi-color ring helm-help helm-types helm easy-mmode cl-macs gv
>  helm-source eieio byte-opt bytecomp byte-compile cl-extra cconv
>  eieio-core helm-multi-match helm-lib dired helm-config helm-easymenu
>  edmacro kmacro async-bytecomp advice help-fns async cl-loaddefs cl-lib
>  elec-pair info tool-bar easymenu package epg-config tooltip electric
>  uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment
>  lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
>  mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
>  utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
>  japanese hebrew greek romanian slovak czech european ethiopic indian
>  cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
>  minibuffer nadvice loaddefs button faces cus-face macroexp files
>  text-properties overlay sha1 md5 base64 format env code-pages mule
>  custom widget hashtable-print-readable backquote make-network-process
>  dbusbind gfilenotify multi-tty emacs)
>
> Memory information:
>  ((conses 16 493230 27709)
>   (symbols 48 45671 8)
>   (miscs 40 936 1876)
>   (strings 32 102177 15065)
>   (string-bytes 1 3052221)
>   (vectors 16 60425)
>   (vector-slots 8 931107 9519)
>   (floats 8 234 1600)
>   (intervals 56 2997 0)
>   (buffers 960 37)
>   (heap 1024 48683 1909))
>
> --
> Colin Woodbury
> Geotrellis Team @ Azavea
>



-- 
Colin Woodbury
Geotrellis Team @ Azavea

--94eb2c0602fef868f3053410912d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Confirmed that this is definitely strictly a problem with =
emacs in the terminal. Has anyone had a chance to look at this?<br></div><d=
iv class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, May 18, 201=
6 at 10:03 AM, Colin Woodbury <span dir=3D"ltr">&lt;<a href=3D"mailto:cwood=
bury@HIDDEN" target=3D"_blank">cwoodbury@HIDDEN</a>&gt;</span> wrot=
e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">I use ensime for Scal=
a editing, and I&#39;ve come across a strange display bug<br>=C2=A0which is=
 only present in `emacs -nw`, `emacsclient -nw` or just `emacs` from<br>=C2=
=A0the `emacs-nox` package. It has to do with some very jarring underlining=
<br>=C2=A0that occurs during ensime&#39;s &quot;semantic highlighting&quot;=
. The issue does not<br>=C2=A0occur in normal GUI emacs.<br><br>=C2=A0I&#39=
;ve contacted the ensime maintainers, and while they can reproduce the<br>=
=C2=A0bug, they claim it isn&#39;t an ensime problem. Hence I&#39;m here.<b=
r><br>=C2=A0The ensime bug report (with pictures and instructions to reprod=
uce) can be found here:<br>=C2=A0<a href=3D"https://github.com/ensime/ensim=
e-emacs/issues/440" target=3D"_blank">https://github.com/ensime/ensime-emac=
s/issues/440</a><br><br>=C2=A0Thanks for any help you can give.<br><br>=C2=
=A0In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu)<br>=C2=A0 of 2016-05-01 o=
n svetlemodry<br>=C2=A0System Description:=C2=A0=C2=A0=C2=A0=C2=A0 Arch Lin=
ux<br><br>=C2=A0Configured using:<br>=C2=A0 `configure --prefix=3D/usr --sy=
sconfdir=3D/etc --libexecdir=3D/usr/lib<br>=C2=A0 --localstatedir=3D/var --=
without-x --without-sound &#39;CFLAGS=3D-march=3Dx86-64<br>=C2=A0 -mtune=3D=
generic -O2 -pipe -fstack-protector-strong&#39;<br>=C2=A0 CPPFLAGS=3D-D_FOR=
TIFY_SOURCE=3D2<br>=C2=A0 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,re=
lro&#39;<br><br>=C2=A0Important settings:<br>=C2=A0=C2=A0 value of $LANG: e=
n_US.UTF-8<br>=C2=A0=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mo=
de: Scala<br><br>=C2=A0Minor modes in effect:<br>=C2=A0=C2=A0 yas-minor-mod=
e: t<br>=C2=A0=C2=A0 company-mode: t<br>=C2=A0=C2=A0 diff-auto-refine-mode:=
 t<br>=C2=A0=C2=A0 ensime-mode: t<br>=C2=A0=C2=A0 helm-mode: t<br>=C2=A0=C2=
=A0 shell-dirtrack-mode: t<br>=C2=A0=C2=A0 async-bytecomp-package-mode: t<b=
r>=C2=A0=C2=A0 electric-pair-mode: t<br>=C2=A0=C2=A0 tooltip-mode: t<br>=C2=
=A0=C2=A0 electric-indent-mode: t<br>=C2=A0=C2=A0 menu-bar-mode: t<br>=C2=
=A0=C2=A0 file-name-shadow-mode: t<br>=C2=A0=C2=A0 global-font-lock-mode: t=
<br>=C2=A0=C2=A0 font-lock-mode: t<br>=C2=A0=C2=A0 auto-composition-mode: t=
<br>=C2=A0=C2=A0 auto-encryption-mode: t<br>=C2=A0=C2=A0 auto-compression-m=
ode: t<br>=C2=A0=C2=A0 column-number-mode: t<br>=C2=A0=C2=A0 line-number-mo=
de: t<br>=C2=A0=C2=A0 transient-mark-mode: t<br><br>=C2=A0Recent messages:<=
br>=C2=A0Wrote /home/colin/*message*-20160518-095148<br>=C2=A0C-c k is unde=
fined<br>=C2=A0C-c C-n is undefined<br>=C2=A0Mark saved where search starte=
d<br>=C2=A0Quit<br>=C2=A0ENSIME server starting...<br>=C2=A0Connecting to S=
wank on port 38005..<br>=C2=A0Connected to ENSIME speaking protocol 0.8.20,=
 please wait while the project is loaded.<br>=C2=A0Initializing Analyzer. P=
lease wait...<br>=C2=A0ENSIME ready. Colin, this could be the start of a be=
autiful program.<br><br>=C2=A0Load-path shadows:<br>=C2=A0/home/colin/.emac=
s.d/elpa/helm-20160517.202/helm-multi-match hides /home/colin/.emacs.d/elpa=
/helm-core-2\<br>=C2=A00160516.2343/helm-multi-match<br><br>=C2=A0Features:=
<br>=C2=A0(network-stream starttls tls ido vc-git ensime-company yasnippet =
company<br>=C2=A0pcase scala-mode scala-mode-prettify-symbols scala-mode-im=
enu<br>=C2=A0scala-mode-map scala-mode-fontlock scala-mode-indent<br>=C2=A0=
scala-mode-paragraph scala-mode-lib image-file misearch multi-isearch<br>=
=C2=A0shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec mm-dec=
ode<br>=C2=A0mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils ma=
ilheader<br>=C2=A0sendmail rfc2047 rfc2045 ietf-drums mail-utils winner hel=
m-command<br>=C2=A0helm-elisp helm-eval edebug eldoc help-mode org-clock di=
ary-lib<br>=C2=A0diary-loaddefs cal-iso org-element org-rmail org-mhe org-i=
rc org-info<br>=C2=A0org-gnus org-docview doc-view jka-compr image-mode ima=
ge org-bibtex<br>=C2=A0bibtex org-bbdb org-w3m org-agenda org org-macro org=
-footnote<br>=C2=A0org-pcomplete org-list org-faces org-entities org-versio=
n ob-emacs-lisp<br>=C2=A0ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src=
 ob-keys ob-comint<br>=C2=A0ob-core ob-eval org-compat org-macs org-loaddef=
s find-func cal-menu<br>=C2=A0calendar cal-loaddefs server ensime ensime-sb=
t sbt-mode sbt-mode-rgrep<br>=C2=A0grep sbt-mode-comint sbt-mode-buffer sbt=
-mode-project sbt-mode-vars<br>=C2=A0ensime-http ensime-ui ensime-semantic-=
highlight ensime-doc ensime-search<br>=C2=A0ensime-undo ensime-startup ensi=
me-refactor diff-mode ensime-popup<br>=C2=A0ensime-notes ensime-model ensim=
e-mode ensime-inspector imenu<br>=C2=A0ensime-goto-testfile ensime-editor p=
opup ensime-debug gdb-mi bindat gud<br>=C2=A0ensime-stacktrace ensime-inf e=
nsime-completion-util scala-mode-syntax<br>=C2=A0ensime-config ensime-util =
ensime-client ensime-vars s ucs-normalize<br>=C2=A0hideshow arc-mode archiv=
e-mode dash url-gw ensime-macros cl<br>=C2=A0haskell-interactive-mode haske=
ll-presentation-mode haskell-collapse<br>=C2=A0haskell-process haskell-sess=
ion json haskell-navigate-imports<br>=C2=A0haskell-compile haskell-mode has=
kell-cabal haskell-utils<br>=C2=A0haskell-font-lock haskell-indentation has=
kell-string<br>=C2=A0haskell-sort-imports haskell-lexeme haskell-align-impo=
rts haskell-compat<br>=C2=A0haskell-complete-module noutline outline flymak=
e etags dabbrev<br>=C2=A0haskell-customize helm-mode helm-files rx image-di=
red tramp tramp-compat<br>=C2=A0tramp-loaddefs trampver shell pcomplete for=
mat-spec dired-x dired-aux<br>=C2=A0ffap thingatpt helm-buffers helm-elscre=
en helm-tags helm-bookmark<br>=C2=A0helm-adaptive helm-info bookmark pp hel=
m-locate helm-grep helm-regexp<br>=C2=A0helm-plugin helm-external helm-net =
browse-url xml url url-proxy<br>=C2=A0url-privacy url-expand url-methods ur=
l-history url-cookie url-domsuf<br>=C2=A0url-util url-parse auth-source gnu=
s-util time-date mm-util mail-prsvr<br>=C2=A0password-cache url-vars mailca=
p helm-utils compile comint regexp-opt<br>=C2=A0ansi-color ring helm-help h=
elm-types helm easy-mmode cl-macs gv<br>=C2=A0helm-source eieio byte-opt by=
tecomp byte-compile cl-extra cconv<br>=C2=A0eieio-core helm-multi-match hel=
m-lib dired helm-config helm-easymenu<br>=C2=A0edmacro kmacro async-bytecom=
p advice help-fns async cl-loaddefs cl-lib<br>=C2=A0elec-pair info tool-bar=
 easymenu package epg-config tooltip electric<br>=C2=A0uniquify ediff-hook =
vc-hooks lisp-float-type tabulated-list newcomment<br>=C2=A0lisp-mode prog-=
mode register page menu-bar rfn-eshadow timer select<br>=C2=A0mouse jit-loc=
k font-lock syntax facemenu font-core frame cham georgian<br>=C2=A0utf-8-la=
ng misc-lang vietnamese tibetan thai tai-viet lao korean<br>=C2=A0japanese =
hebrew greek romanian slovak czech european ethiopic indian<br>=C2=A0cyrill=
ic chinese case-table epa-hook jka-cmpr-hook help simple abbrev<br>=C2=A0mi=
nibuffer nadvice loaddefs button faces cus-face macroexp files<br>=C2=A0tex=
t-properties overlay sha1 md5 base64 format env code-pages mule<br>=C2=A0cu=
stom widget hashtable-print-readable backquote make-network-process<br>=C2=
=A0dbusbind gfilenotify multi-tty emacs)<br><br>Memory information:<br>=C2=
=A0((conses 16 493230 27709)<br>=C2=A0 (symbols 48 45671 8)<br>=C2=A0 (misc=
s 40 936 1876)<br>=C2=A0 (strings 32 102177 15065)<br>=C2=A0 (string-bytes =
1 3052221)<br>=C2=A0 (vectors 16 60425)<br>=C2=A0 (vector-slots 8 931107 95=
19)<br>=C2=A0 (floats 8 234 1600)<br>=C2=A0 (intervals 56 2997 0)<br>=C2=A0=
 (buffers 960 37)<br>=C2=A0 (heap 1024 48683 1909))<span class=3D"HOEnZb"><=
font color=3D"#888888"><br clear=3D"all"><br>-- <br><div><div dir=3D"ltr"><=
div>Colin Woodbury<br></div>Geotrellis Team @ Azavea<br></div></div>
</font></span></div>
</blockquote></div><br><br clear=3D"all"><br>-- <br><div class=3D"gmail_sig=
nature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div>Colin Wood=
bury<br></div>Geotrellis Team @ Azavea<br></div></div>
</div>

--94eb2c0602fef868f3053410912d--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 May 2016 17:10:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 18 13:10:43 2016
Received: from localhost ([127.0.0.1]:57163 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b34zb-0005Bq-5N
	for submit <at> debbugs.gnu.org; Wed, 18 May 2016 13:10:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60949)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cwoodbury@HIDDEN>) id 1b34sn-0004yw-Oz
 for submit <at> debbugs.gnu.org; Wed, 18 May 2016 13:03:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b34sg-0007Md-He
 for submit <at> debbugs.gnu.org; Wed, 18 May 2016 13:03:36 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42317)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b34sg-0007MW-E5
 for submit <at> debbugs.gnu.org; Wed, 18 May 2016 13:03:34 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51895)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b34sY-0005Fm-KT
 for bug-gnu-emacs@HIDDEN; Wed, 18 May 2016 13:03:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b34sV-0007Hb-8p
 for bug-gnu-emacs@HIDDEN; Wed, 18 May 2016 13:03:25 -0400
Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:34773)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cwoodbury@HIDDEN>) id 1b34sU-0007G9-QJ
 for bug-gnu-emacs@HIDDEN; Wed, 18 May 2016 13:03:23 -0400
Received: by mail-io0-x232.google.com with SMTP id 190so73374193iow.1
 for <bug-gnu-emacs@HIDDEN>; Wed, 18 May 2016 10:03:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azavea.com; s=google;
 h=mime-version:date:message-id:subject:from:to;
 bh=H8lrThNpW+//a3VqAMr0Kb6T9XJ6Cozac4BbzWxsKEc=;
 b=ZlIyISTOtK7pF1dfEJihSNWJryE03i2R9aRZb+cPoAtEydWz/8ZtPTRj/fcoMvAFrN
 /oCVztciDdTligKAeMkLun5+7bbUBTgGzlOAfAdMZUNjVlMiTZudz3uKWyfLRd6tInVQ
 DeNNZMSks+G0zV6Nq0IBmW5g3Cjd6xC7JYFbM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:date:message-id:subject:from:to;
 bh=H8lrThNpW+//a3VqAMr0Kb6T9XJ6Cozac4BbzWxsKEc=;
 b=hK9HSvRdKLBCgdKJ0NwH5Asg5Q7VLkmPxj5jgWmQySsmlSI7SSfEkkxE2AZMYFw8Ws
 iQ87BbR3Y7PSv44+gKxtRxZeVQgc5Zw3axb7ZQUbdSFPRB0xXVa3IRdFlqFSBUiNd9Zp
 q2mmKYFQAPWGaDNIz/I9BHd5TFjOb+wryyEcpMer5bG2xl2EjLNCOTQYs1p3sUkMN99o
 sksO0JlvYxy3dVrrDtudWQvub5TAVcXqmCfFd1PcthD06Q0qZUOkdZOYF+d+kLq7cefg
 sQd3cogXwr5lfLQd+DX0pwce6w9wm1tJrAedsWGWeZN22IdGyAWOsAUfuBLLnIc4OL38
 mStg==
X-Gm-Message-State: AOPr4FXw2cz9nrxw9o359LmUIsysdEP8WDFBUWIpVj4pRDhGGTEXy9rd4kddmiMVkh/YYwxGRf0kHGnzECpxchlz
MIME-Version: 1.0
X-Received: by 10.107.2.70 with SMTP id 67mr6360270ioc.70.1463591001576; Wed,
 18 May 2016 10:03:21 -0700 (PDT)
Received: by 10.107.6.65 with HTTP; Wed, 18 May 2016 10:03:21 -0700 (PDT)
Date: Wed, 18 May 2016 10:03:21 -0700
Message-ID: <CAHuwsfg5v5NtPW=nrhJq_QfZqifZxYAbY=1O_Qb+zdP1SQfTOg@HIDDEN>
Subject: 24.5; Overzealous underlining in emacs-nox
From: Colin Woodbury <cwoodbury@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=001a11396814bf158b053320d52f
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 18 May 2016 13:10:42 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--001a11396814bf158b053320d52f
Content-Type: text/plain; charset=UTF-8

I use ensime for Scala editing, and I've come across a strange display bug
 which is only present in `emacs -nw`, `emacsclient -nw` or just `emacs`
from
 the `emacs-nox` package. It has to do with some very jarring underlining
 that occurs during ensime's "semantic highlighting". The issue does not
 occur in normal GUI emacs.

 I've contacted the ensime maintainers, and while they can reproduce the
 bug, they claim it isn't an ensime problem. Hence I'm here.

 The ensime bug report (with pictures and instructions to reproduce) can be
found here:
 https://github.com/ensime/ensime-emacs/issues/440

 Thanks for any help you can give.

 In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu)
  of 2016-05-01 on svetlemodry
 System Description:     Arch Linux

 Configured using:
  `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
  --localstatedir=/var --without-x --without-sound 'CFLAGS=-march=x86-64
  -mtune=generic -O2 -pipe -fstack-protector-strong'
  CPPFLAGS=-D_FORTIFY_SOURCE=2
  LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

 Important settings:
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8-unix

Major mode: Scala

 Minor modes in effect:
   yas-minor-mode: t
   company-mode: t
   diff-auto-refine-mode: t
   ensime-mode: t
   helm-mode: t
   shell-dirtrack-mode: t
   async-bytecomp-package-mode: t
   electric-pair-mode: t
   tooltip-mode: t
   electric-indent-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

 Recent messages:
 Wrote /home/colin/*message*-20160518-095148
 C-c k is undefined
 C-c C-n is undefined
 Mark saved where search started
 Quit
 ENSIME server starting...
 Connecting to Swank on port 38005..
 Connected to ENSIME speaking protocol 0.8.20, please wait while the
project is loaded.
 Initializing Analyzer. Please wait...
 ENSIME ready. Colin, this could be the start of a beautiful program.

 Load-path shadows:
 /home/colin/.emacs.d/elpa/helm-20160517.202/helm-multi-match hides
/home/colin/.emacs.d/elpa/helm-core-2\
 0160516.2343/helm-multi-match

 Features:
 (network-stream starttls tls ido vc-git ensime-company yasnippet company
 pcase scala-mode scala-mode-prettify-symbols scala-mode-imenu
 scala-mode-map scala-mode-fontlock scala-mode-indent
 scala-mode-paragraph scala-mode-lib image-file misearch multi-isearch
 shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode
 mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
 sendmail rfc2047 rfc2045 ietf-drums mail-utils winner helm-command
 helm-elisp helm-eval edebug eldoc help-mode org-clock diary-lib
 diary-loaddefs cal-iso org-element org-rmail org-mhe org-irc org-info
 org-gnus org-docview doc-view jka-compr image-mode image org-bibtex
 bibtex org-bbdb org-w3m org-agenda org org-macro org-footnote
 org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
 ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint
 ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu
 calendar cal-loaddefs server ensime ensime-sbt sbt-mode sbt-mode-rgrep
 grep sbt-mode-comint sbt-mode-buffer sbt-mode-project sbt-mode-vars
 ensime-http ensime-ui ensime-semantic-highlight ensime-doc ensime-search
 ensime-undo ensime-startup ensime-refactor diff-mode ensime-popup
 ensime-notes ensime-model ensime-mode ensime-inspector imenu
 ensime-goto-testfile ensime-editor popup ensime-debug gdb-mi bindat gud
 ensime-stacktrace ensime-inf ensime-completion-util scala-mode-syntax
 ensime-config ensime-util ensime-client ensime-vars s ucs-normalize
 hideshow arc-mode archive-mode dash url-gw ensime-macros cl
 haskell-interactive-mode haskell-presentation-mode haskell-collapse
 haskell-process haskell-session json haskell-navigate-imports
 haskell-compile haskell-mode haskell-cabal haskell-utils
 haskell-font-lock haskell-indentation haskell-string
 haskell-sort-imports haskell-lexeme haskell-align-imports haskell-compat
 haskell-complete-module noutline outline flymake etags dabbrev
 haskell-customize helm-mode helm-files rx image-dired tramp tramp-compat
 tramp-loaddefs trampver shell pcomplete format-spec dired-x dired-aux
 ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark
 helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexp
 helm-plugin helm-external helm-net browse-url xml url url-proxy
 url-privacy url-expand url-methods url-history url-cookie url-domsuf
 url-util url-parse auth-source gnus-util time-date mm-util mail-prsvr
 password-cache url-vars mailcap helm-utils compile comint regexp-opt
 ansi-color ring helm-help helm-types helm easy-mmode cl-macs gv
 helm-source eieio byte-opt bytecomp byte-compile cl-extra cconv
 eieio-core helm-multi-match helm-lib dired helm-config helm-easymenu
 edmacro kmacro async-bytecomp advice help-fns async cl-loaddefs cl-lib
 elec-pair info tool-bar easymenu package epg-config tooltip electric
 uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment
 lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
 mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
 utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
 japanese hebrew greek romanian slovak czech european ethiopic indian
 cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
 minibuffer nadvice loaddefs button faces cus-face macroexp files
 text-properties overlay sha1 md5 base64 format env code-pages mule
 custom widget hashtable-print-readable backquote make-network-process
 dbusbind gfilenotify multi-tty emacs)

Memory information:
 ((conses 16 493230 27709)
  (symbols 48 45671 8)
  (miscs 40 936 1876)
  (strings 32 102177 15065)
  (string-bytes 1 3052221)
  (vectors 16 60425)
  (vector-slots 8 931107 9519)
  (floats 8 234 1600)
  (intervals 56 2997 0)
  (buffers 960 37)
  (heap 1024 48683 1909))

-- 
Colin Woodbury
Geotrellis Team @ Azavea

--001a11396814bf158b053320d52f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I use ensime for Scala editing, and I&#39;ve come across a=
 strange display bug<br>=C2=A0which is only present in `emacs -nw`, `emacsc=
lient -nw` or just `emacs` from<br>=C2=A0the `emacs-nox` package. It has to=
 do with some very jarring underlining<br>=C2=A0that occurs during ensime&#=
39;s &quot;semantic highlighting&quot;. The issue does not<br>=C2=A0occur i=
n normal GUI emacs.<br><br>=C2=A0I&#39;ve contacted the ensime maintainers,=
 and while they can reproduce the<br>=C2=A0bug, they claim it isn&#39;t an =
ensime problem. Hence I&#39;m here.<br><br>=C2=A0The ensime bug report (wit=
h pictures and instructions to reproduce) can be found here:<br>=C2=A0<a hr=
ef=3D"https://github.com/ensime/ensime-emacs/issues/440">https://github.com=
/ensime/ensime-emacs/issues/440</a><br><br>=C2=A0Thanks for any help you ca=
n give.<br><br>=C2=A0In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu)<br>=C2=
=A0 of 2016-05-01 on svetlemodry<br>=C2=A0System Description:=C2=A0=C2=A0=
=C2=A0=C2=A0 Arch Linux<br><br>=C2=A0Configured using:<br>=C2=A0 `configure=
 --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib<br>=C2=A0 --lo=
calstatedir=3D/var --without-x --without-sound &#39;CFLAGS=3D-march=3Dx86-6=
4<br>=C2=A0 -mtune=3Dgeneric -O2 -pipe -fstack-protector-strong&#39;<br>=C2=
=A0 CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2<br>=C2=A0 LDFLAGS=3D-Wl,-O1,--sort-com=
mon,--as-needed,-z,relro&#39;<br><br>=C2=A0Important settings:<br>=C2=A0=C2=
=A0 value of $LANG: en_US.UTF-8<br>=C2=A0=C2=A0 locale-coding-system: utf-8=
-unix<br><br>Major mode: Scala<br><br>=C2=A0Minor modes in effect:<br>=C2=
=A0=C2=A0 yas-minor-mode: t<br>=C2=A0=C2=A0 company-mode: t<br>=C2=A0=C2=A0=
 diff-auto-refine-mode: t<br>=C2=A0=C2=A0 ensime-mode: t<br>=C2=A0=C2=A0 he=
lm-mode: t<br>=C2=A0=C2=A0 shell-dirtrack-mode: t<br>=C2=A0=C2=A0 async-byt=
ecomp-package-mode: t<br>=C2=A0=C2=A0 electric-pair-mode: t<br>=C2=A0=C2=A0=
 tooltip-mode: t<br>=C2=A0=C2=A0 electric-indent-mode: t<br>=C2=A0=C2=A0 me=
nu-bar-mode: t<br>=C2=A0=C2=A0 file-name-shadow-mode: t<br>=C2=A0=C2=A0 glo=
bal-font-lock-mode: t<br>=C2=A0=C2=A0 font-lock-mode: t<br>=C2=A0=C2=A0 aut=
o-composition-mode: t<br>=C2=A0=C2=A0 auto-encryption-mode: t<br>=C2=A0=C2=
=A0 auto-compression-mode: t<br>=C2=A0=C2=A0 column-number-mode: t<br>=C2=
=A0=C2=A0 line-number-mode: t<br>=C2=A0=C2=A0 transient-mark-mode: t<br><br=
>=C2=A0Recent messages:<br>=C2=A0Wrote /home/colin/*message*-20160518-09514=
8<br>=C2=A0C-c k is undefined<br>=C2=A0C-c C-n is undefined<br>=C2=A0Mark s=
aved where search started<br>=C2=A0Quit<br>=C2=A0ENSIME server starting...<=
br>=C2=A0Connecting to Swank on port 38005..<br>=C2=A0Connected to ENSIME s=
peaking protocol 0.8.20, please wait while the project is loaded.<br>=C2=A0=
Initializing Analyzer. Please wait...<br>=C2=A0ENSIME ready. Colin, this co=
uld be the start of a beautiful program.<br><br>=C2=A0Load-path shadows:<br=
>=C2=A0/home/colin/.emacs.d/elpa/helm-20160517.202/helm-multi-match hides /=
home/colin/.emacs.d/elpa/helm-core-2\<br>=C2=A00160516.2343/helm-multi-matc=
h<br><br>=C2=A0Features:<br>=C2=A0(network-stream starttls tls ido vc-git e=
nsime-company yasnippet company<br>=C2=A0pcase scala-mode scala-mode-pretti=
fy-symbols scala-mode-imenu<br>=C2=A0scala-mode-map scala-mode-fontlock sca=
la-mode-indent<br>=C2=A0scala-mode-paragraph scala-mode-lib image-file mise=
arch multi-isearch<br>=C2=A0shadow sort mail-extr emacsbug message idna rfc=
822 mml mml-sec mm-decode<br>=C2=A0mm-bodies mm-encode mail-parse rfc2231 m=
ailabbrev gmm-utils mailheader<br>=C2=A0sendmail rfc2047 rfc2045 ietf-drums=
 mail-utils winner helm-command<br>=C2=A0helm-elisp helm-eval edebug eldoc =
help-mode org-clock diary-lib<br>=C2=A0diary-loaddefs cal-iso org-element o=
rg-rmail org-mhe org-irc org-info<br>=C2=A0org-gnus org-docview doc-view jk=
a-compr image-mode image org-bibtex<br>=C2=A0bibtex org-bbdb org-w3m org-ag=
enda org org-macro org-footnote<br>=C2=A0org-pcomplete org-list org-faces o=
rg-entities org-version ob-emacs-lisp<br>=C2=A0ob ob-tangle ob-ref ob-lob o=
b-table ob-exp org-src ob-keys ob-comint<br>=C2=A0ob-core ob-eval org-compa=
t org-macs org-loaddefs find-func cal-menu<br>=C2=A0calendar cal-loaddefs s=
erver ensime ensime-sbt sbt-mode sbt-mode-rgrep<br>=C2=A0grep sbt-mode-comi=
nt sbt-mode-buffer sbt-mode-project sbt-mode-vars<br>=C2=A0ensime-http ensi=
me-ui ensime-semantic-highlight ensime-doc ensime-search<br>=C2=A0ensime-un=
do ensime-startup ensime-refactor diff-mode ensime-popup<br>=C2=A0ensime-no=
tes ensime-model ensime-mode ensime-inspector imenu<br>=C2=A0ensime-goto-te=
stfile ensime-editor popup ensime-debug gdb-mi bindat gud<br>=C2=A0ensime-s=
tacktrace ensime-inf ensime-completion-util scala-mode-syntax<br>=C2=A0ensi=
me-config ensime-util ensime-client ensime-vars s ucs-normalize<br>=C2=A0hi=
deshow arc-mode archive-mode dash url-gw ensime-macros cl<br>=C2=A0haskell-=
interactive-mode haskell-presentation-mode haskell-collapse<br>=C2=A0haskel=
l-process haskell-session json haskell-navigate-imports<br>=C2=A0haskell-co=
mpile haskell-mode haskell-cabal haskell-utils<br>=C2=A0haskell-font-lock h=
askell-indentation haskell-string<br>=C2=A0haskell-sort-imports haskell-lex=
eme haskell-align-imports haskell-compat<br>=C2=A0haskell-complete-module n=
outline outline flymake etags dabbrev<br>=C2=A0haskell-customize helm-mode =
helm-files rx image-dired tramp tramp-compat<br>=C2=A0tramp-loaddefs trampv=
er shell pcomplete format-spec dired-x dired-aux<br>=C2=A0ffap thingatpt he=
lm-buffers helm-elscreen helm-tags helm-bookmark<br>=C2=A0helm-adaptive hel=
m-info bookmark pp helm-locate helm-grep helm-regexp<br>=C2=A0helm-plugin h=
elm-external helm-net browse-url xml url url-proxy<br>=C2=A0url-privacy url=
-expand url-methods url-history url-cookie url-domsuf<br>=C2=A0url-util url=
-parse auth-source gnus-util time-date mm-util mail-prsvr<br>=C2=A0password=
-cache url-vars mailcap helm-utils compile comint regexp-opt<br>=C2=A0ansi-=
color ring helm-help helm-types helm easy-mmode cl-macs gv<br>=C2=A0helm-so=
urce eieio byte-opt bytecomp byte-compile cl-extra cconv<br>=C2=A0eieio-cor=
e helm-multi-match helm-lib dired helm-config helm-easymenu<br>=C2=A0edmacr=
o kmacro async-bytecomp advice help-fns async cl-loaddefs cl-lib<br>=C2=A0e=
lec-pair info tool-bar easymenu package epg-config tooltip electric<br>=C2=
=A0uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment<b=
r>=C2=A0lisp-mode prog-mode register page menu-bar rfn-eshadow timer select=
<br>=C2=A0mouse jit-lock font-lock syntax facemenu font-core frame cham geo=
rgian<br>=C2=A0utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao ko=
rean<br>=C2=A0japanese hebrew greek romanian slovak czech european ethiopic=
 indian<br>=C2=A0cyrillic chinese case-table epa-hook jka-cmpr-hook help si=
mple abbrev<br>=C2=A0minibuffer nadvice loaddefs button faces cus-face macr=
oexp files<br>=C2=A0text-properties overlay sha1 md5 base64 format env code=
-pages mule<br>=C2=A0custom widget hashtable-print-readable backquote make-=
network-process<br>=C2=A0dbusbind gfilenotify multi-tty emacs)<br><br>Memor=
y information:<br>=C2=A0((conses 16 493230 27709)<br>=C2=A0 (symbols 48 456=
71 8)<br>=C2=A0 (miscs 40 936 1876)<br>=C2=A0 (strings 32 102177 15065)<br>=
=C2=A0 (string-bytes 1 3052221)<br>=C2=A0 (vectors 16 60425)<br>=C2=A0 (vec=
tor-slots 8 931107 9519)<br>=C2=A0 (floats 8 234 1600)<br>=C2=A0 (intervals=
 56 2997 0)<br>=C2=A0 (buffers 960 37)<br>=C2=A0 (heap 1024 48683 1909))<br=
 clear=3D"all"><br>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr"><=
div>Colin Woodbury<br></div>Geotrellis Team @ Azavea<br></div></div>
</div>

--001a11396814bf158b053320d52f--




Acknowledgement sent to Colin Woodbury <cwoodbury@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#23574; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 6 Jun 2016 11:45:02 UTC

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