From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71282: 30.0.50; hl-line overlay priority has no affect Date: Sun, 30 Jun 2024 20:36:53 +0300 Message-ID: <861q4egwne.fsf@gnu.org> References: <87plt3lyvd.fsf@kisara.moe> <8634pyr0w8.fsf@gnu.org> <878qymd5ce.fsf@kisara.moe> <86a5j2hb6j.fsf@gnu.org> <875xtqczuu.fsf@kisara.moe> <867ce6h4iq.fsf@gnu.org> <865xtqh2b7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4826"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mohkale@kisara.moe, 71282@debbugs.gnu.org, stefankangas@gmail.com To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 30 19:38:17 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sNyVF-00011b-4A for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jun 2024 19:38:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNyV3-0000Fe-3Q; Sun, 30 Jun 2024 13:38:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNyV0-0000FL-Cr for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 13:38:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNyV0-0006n8-2M for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 13:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNyV0-0005cV-1d for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 13:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2024 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71282 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 71282-submit@debbugs.gnu.org id=B71282.171976905021565 (code B ref 71282); Sun, 30 Jun 2024 17:38:02 +0000 Original-Received: (at 71282) by debbugs.gnu.org; 30 Jun 2024 17:37:30 +0000 Original-Received: from localhost ([127.0.0.1]:58992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNyUU-0005bl-7L for submit@debbugs.gnu.org; Sun, 30 Jun 2024 13:37:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNyUS-0005bV-7O for 71282@debbugs.gnu.org; Sun, 30 Jun 2024 13:37:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNyUL-0006ky-Ux; Sun, 30 Jun 2024 13:37:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PjFyvVHox1EQiuKyCJfDBF4JtsyvqivZ12gFXBMwP1Q=; b=KDsi1s5VBARtH3vPDSO8 CgZJvwbhoTqtKg0GCTJKaM5JO6brHivkiqDlljSOj63HsV0d9sUWJQjOuAOhXb6xVmJuhwf35B0Yd PnBSseaD8g/sZi30lC8HmmmIdc1JTWLgZCAr6D2kZ/vwY0y8Vi4wQIfQCTtv6Bk9u93gxtP7/Hc6o B1t/d0yyanRYM+jsGTimWtbkMSoh4vduB2MKjJK9Ky7FyPGE8vjPfM3bUOJtd9ik9pzJ9eo0l4BZU 770A4J4bbZlhLvpHXRARZ3PB6FLnHLZvdHnuTtTloxJuVuyHItMcuyB4rDKr9JimSHv+NDySPSEXm UPY0zM1UlSEw4A==; In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Sun, 30 Jun 2024 16:50:32 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288215 Archived-At: > From: João Távora > Date: Sun, 30 Jun 2024 16:50:32 +0100 > Cc: mohkale@kisara.moe, stefankangas@gmail.com, 71282@debbugs.gnu.org > > On Sun, Jun 30, 2024 at 4:34 PM Eli Zaretskii wrote: > > > The mechanism exists: find the face of the buffer text, and use it (or > > some of its attributes, like background color) in determining the face > > of the overlay string. > > Then if that mechanism doesn't require anything specific of package X or > Y, it should be possible to condense in a function (that shouldn't live in > Eglot, but OK it it starts life there, I guess) that takes a face with > a number of > attributes,merges with whatever is "the face of the buffer text" and return > an (anonymous) face. If so, then that "mistery" function is the fix > to this issue. Patches welcome.