From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20510: 25.0.50; Underscore hidden by underline Date: Wed, 06 May 2015 20:13:11 +0300 Message-ID: <83mw1hr5nc.fsf@gnu.org> References: <86r3qubx5x.fsf@example.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430932538 2786 80.91.229.3 (6 May 2015 17:15:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2015 17:15:38 +0000 (UTC) Cc: 20510@debbugs.gnu.org To: Fabrice Niessen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 06 19:15:27 2015 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 1Yq2um-0001Vc-Gp for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 May 2015 19:15:20 +0200 Original-Received: from localhost ([::1]:46388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq2ul-0007gy-Mb for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 May 2015 13:15:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq2uc-0007gL-Qh for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 13:15:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq2uW-0007rU-Vn for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 13:15:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq2uW-0007qW-TB for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 13:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yq2uV-0007x3-Pu for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 13:15:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 May 2015 17:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20510 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20510-submit@debbugs.gnu.org id=B20510.143093246430490 (code B ref 20510); Wed, 06 May 2015 17:15:03 +0000 Original-Received: (at 20510) by debbugs.gnu.org; 6 May 2015 17:14:24 +0000 Original-Received: from localhost ([127.0.0.1]:36489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yq2tr-0007vi-Hu for submit@debbugs.gnu.org; Wed, 06 May 2015 13:14:23 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:57232) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yq2tn-0007vK-Uj for 20510@debbugs.gnu.org; Wed, 06 May 2015 13:14:21 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NNX00K00U84TY00@mtaout28.012.net.il> for 20510@debbugs.gnu.org; Wed, 06 May 2015 20:12:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNX00K9AUG2JR10@mtaout28.012.net.il>; Wed, 06 May 2015 20:12:02 +0300 (IDT) In-reply-to: <86r3qubx5x.fsf@example.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102544 Archived-At: > From: Fabrice Niessen > Date: Tue, 05 May 2015 22:13:14 +0200 > > When `hl-line' is enabled with the `underline' attribute, and when the > font is "DejaVu Sans Mono" in 8 pt, then underscores get overridden by > the underline (of the current, highlighted, line). Well, the underline _must_ overwrite _some_ part of the character. > Screenshot: http://screencast.com/t/UXoET9RHs0E. > > Is this normal Yes, this is how the code was written to work. > (while this does not occur with 9 or 10 pt faces)? It depends on the font, yes. You can try tweaking the value of x-use-underline-position-properties and/or of x-underline-at-descent-line, they might fix your problem with this font. > If yes, is there a way to get the hl-line's underline in the background? Not sure what you mean by that.