From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#20510: 25.0.50; Underscore hidden by underline Date: Mon, 30 Sep 2019 02:10:24 +0200 Message-ID: References: <86r3qubx5x.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110330"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Fabrice Niessen , 20510@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 30 02:11:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEjHV-000Sbf-Ba for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 02:11:13 +0200 Original-Received: from localhost ([::1]:42826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEjHT-0001C2-Ls for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 20:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50687) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEjHM-0001Bo-83 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 20:11:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEjHK-00006P-Nu for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 20:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEjHK-00006C-Jk for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 20:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEjHK-00029U-Dc for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 20:11:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <86r3qubx5x.fsf@example.com> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Sep 2019 00:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20510 X-GNU-PR-Package: emacs Original-Received: via spool by 20510-submit@debbugs.gnu.org id=B20510.15698022448222 (code B ref 20510); Mon, 30 Sep 2019 00:11:02 +0000 Original-Received: (at 20510) by debbugs.gnu.org; 30 Sep 2019 00:10:44 +0000 Original-Received: from localhost ([127.0.0.1]:56187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEjH2-00028R-4A for submit@debbugs.gnu.org; Sun, 29 Sep 2019 20:10:44 -0400 Original-Received: from mail-pl1-f170.google.com ([209.85.214.170]:38997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEjGz-00027v-Cp for 20510@debbugs.gnu.org; Sun, 29 Sep 2019 20:10:41 -0400 Original-Received: by mail-pl1-f170.google.com with SMTP id s17so3172331plp.6 for <20510@debbugs.gnu.org>; Sun, 29 Sep 2019 17:10:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ZAI2TecvSHAW4XKlBX4Agsh1VyhnPXGErHVXyn1jAJM=; b=dKkXHBG207Vh8a8Se8rXWVDlGdho9otDE1wq7k+4b3MDT4V5AZerSOg/lC/El3rwPK ueqCHshlqFNzvRxY3Eeqkqz+8PaaNmLEa6rumRczSKv9b3n3vEe380Khj/Yk2PH3/9to Jof/IQFEuO0c7ZiW/RxIG9AhayUYsNwub1Kd0gR3stp8hk6KwkXnpx0GVwZ7ofp0zn1M WVocq7+uLKkC0ZM2EE5TG0iBliXWhsyE42eFjBqR9VATaolOMycQkLEH+JPOSQUAPy3m GJkrt30sGvhrJhR7B+UAgqq6RdR/BlJ++xqRpXIAjcAxw2tgKGzsPj3wOLdV8uKqeeYF AEQg== X-Gm-Message-State: APjAAAUWE3q94fyyyI0T8nlsD9xTrqir5GIFsufu031NHYpOAPiu8INB c2q8r+lKKCz4Nx5E1flKtj2C8V4UUFfZAJdrnZU= X-Google-Smtp-Source: APXvYqw3ryt2yBpS9Gd9dqByOu7YJ4oYmLWlJfhks/0nTVcPr8XiOINGFWkZQ5XlmJUMdaWqnBKrEhr4JoPlvaWy8YI= X-Received: by 2002:a17:902:a515:: with SMTP id s21mr17849974plq.259.1569802235373; Sun, 29 Sep 2019 17:10:35 -0700 (PDT) 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: 209.51.188.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:167778 Archived-At: tags 20510 + wontfix close 20510 thanks Eli Zaretskii writes: >> From: Fabrice Niessen >> Cc: 20510@debbugs.gnu.org >> Date: Wed, 06 May 2015 21:00:16 +0200 >> >> I mean: can't the hl-line-mode code be written in a way that the >> underline goes in the background of the character, that is that every >> pixel of every character gets written "over" the underline line? > > hl-line-mode cannot control that, and nothing on the Lisp level can. > > When hl-line-mode puts its overlay on a line, the characters of that > line have the hl-line face merged with their face, with the result > that each character of that line will have the underline face in the > color you specify. That's all Lisp can do; then along comes the > display engine and redraws the characters in this new merged face. > The C code which draws characters is written so that we first draw the > background, then the characters, then the underline. > > So what you are actually asking is that the order of drawing the > underline (and also overline, strike-through, etc.) is changed so that > these attributes are drawn _before_ the characters. That should be > possible by changing the order in the C code, but I have no idea what > that will do in other situations. It's probably not TRT at least when > we draw images and other similar stuff instead of characters. > > Perhaps someone who knows more than I do about GUI display back-end > could tell if this is a safe change. It sounds to me like this is not something we are interested in doing. I'm closing this as wontfix. Please reopen if I'm mistaken. Best regards, Stefan Kangas