From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#23574: 24.5; Overzealous underlining in emacs-nox Date: Mon, 6 Jun 2016 20:18:06 -0400 Message-ID: References: <83porxwg1f.fsf@gnu.org> <83d1nxudrb.fsf@gnu.org> <83wpm3tyvn.fsf@gnu.org> <83twh7tt83.fsf@gnu.org> <83r3cbt5l3.fsf@gnu.org> <83h9d6tl3j.fsf@gnu.org> <5755AACE.8030303@gmx.at> <83vb1mrura.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1465258768 21591 80.91.229.3 (7 Jun 2016 00:19:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2016 00:19:28 +0000 (UTC) Cc: 23574@debbugs.gnu.org, Colin Woodbury , John Mastro To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 07 02:19:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bA4jl-0005S8-Aj for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jun 2016 02:19:17 +0200 Original-Received: from localhost ([::1]:46164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bA4jh-00031T-3l for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Jun 2016 20:19:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bA4ja-000311-VN for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 20:19:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bA4jV-0004Vq-Ty for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 20:19:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bA4jV-0004Vm-R7 for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 20:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bA4jV-0001B2-NC for bug-gnu-emacs@gnu.org; Mon, 06 Jun 2016 20:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jun 2016 00:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23574 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 23574-submit@debbugs.gnu.org id=B23574.14652586954473 (code B ref 23574); Tue, 07 Jun 2016 00:19:01 +0000 Original-Received: (at 23574) by debbugs.gnu.org; 7 Jun 2016 00:18:15 +0000 Original-Received: from localhost ([127.0.0.1]:57275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bA4ik-0001A5-Un for submit@debbugs.gnu.org; Mon, 06 Jun 2016 20:18:15 -0400 Original-Received: from mail-oi0-f44.google.com ([209.85.218.44]:33272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bA4ii-00019r-SS for 23574@debbugs.gnu.org; Mon, 06 Jun 2016 20:18:13 -0400 Original-Received: by mail-oi0-f44.google.com with SMTP id k23so252381724oih.0 for <23574@debbugs.gnu.org>; Mon, 06 Jun 2016 17:18:12 -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=lY/4c4xQKk1IABch08vPmPd0HxEjECVI+gKbPefmoIw=; b=p6Cn8dVJapvHle7oCAhS7RB6ajHRS0oMQpXHA1i4Mm6UEfSbL3HOveZX9IE7K7/I4y 0wg4tr78xhlkrryy9BSZPkTms2Zl4dsPo2LhBdN1IyEcNA5W8ppieZrrHltF+yyoWRyQ ifiPxd+sEJLWL8v5xKVAIAZNyRqeBJTf9YdEN0JpK4VQjvIbjHlxbG2Q607d0oUk+52x lS+3FNIowhsCb7tW4eVotCUnng7CgriMpiC0MkR+L8DnQ+LYu+sUgBIIjjtn1SAqZ/tZ /w9VDcuRepUAHW2Id7BSokTr0LnmxMk2+/WftZJ9YsnFfkXj0WBNPstOkQSxjfXnnbTg pzng== 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=lY/4c4xQKk1IABch08vPmPd0HxEjECVI+gKbPefmoIw=; b=DfXUqUPiVwyOmXKqImGjaKiJh/y+GXaI++5D3ZTs/s9Tcqi5pQtvdFUYHZFzpBEFe/ KLuInqMfKPu1opy/ElviF1F5ZpgiB547AlFt1UkFeB/HIc28XzDEmc/dmoB/vpGDe7wm num89YNmVQML90avQ/2h2EUwT2clTIlYfqw9ubJqY6XSd8NaXObd2sOrR1iNVfdPA7Z3 49pknBkbh/p1ZORS3cgIahyjBTzwzCStezcSKyL4pWxaQAaj7VQs6P2XhcQHUHK87j/D tDt+zAEtoyEtsbbhX2PNs5w2nMOytD8HZwRC9Ur3D9H4IlgBkeEGulhXqczN9oTQsjP4 jt2A== X-Gm-Message-State: ALyK8tKUDtvXqK8yzhCqhylnYpt24hYma8mZyyD+60IFxKSG9Z2S6T+1nKYgFSQOomUkg+v1uW0urHkPzlr/Rg== X-Received: by 10.157.51.74 with SMTP id u10mr10665399otd.124.1465258687201; Mon, 06 Jun 2016 17:18:07 -0700 (PDT) Original-Received: by 10.157.5.168 with HTTP; Mon, 6 Jun 2016 17:18:06 -0700 (PDT) In-Reply-To: <83vb1mrura.fsf@gnu.org> X-Google-Sender-Auth: 1sL_VSZYkO1GLN1XzTYSZuQMuWk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119190 Archived-At: On Mon, Jun 6, 2016 at 3:18 PM, Eli Zaretskii wrote: > And I don't think what you get is the desired effect, you just get a > side effect of a particular implementation detail. E.g., what happens > if a line fits exactly on a line, i.e. the cursor at its end will be > displayed on the fringe? The underlining does reach the end of the screen in this case, but it still looks okay because the underlining doesn't extend too far away from the text. > >> In TTY this places the face over everything, which we don't agree is a bug or not. > > It isn't a bug, because that's how the display engine was coded to > work. Of course, we can make it behave differently if we want. I think it makes sense to not do the face extension by default. If I take a sheet of paper and underline lines 3 to 10, I'm going to stop drawing at the end of the text, not go all the way to end of the paper. For the case I mentioned earlier, magit isn't actually underlining text, it just wants to make some horizontal lines. It would be nice to have some way to ask the display engine to do this directly.