From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#71282: 30.0.50; hl-line overlay priority has no affect Date: Sun, 30 Jun 2024 19:09:45 +0100 Message-ID: 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> <861q4egwne.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000064cde1061c1f636f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15118"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mohsin kaleem , 71282@debbugs.gnu.org, Stefan Kangas To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 30 20:12:19 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 1sNz2A-0003jV-RZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jun 2024 20:12:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNz1x-0005xH-E8; Sun, 30 Jun 2024 14:12: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 1sNz1u-0005wt-Dg for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 14:12:03 -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 1sNz1u-0008Ig-5H for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 14:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sNz1t-0006Ye-TJ for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2024 14:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2024 18:12:01 +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.171977106625132 (code B ref 71282); Sun, 30 Jun 2024 18:12:01 +0000 Original-Received: (at 71282) by debbugs.gnu.org; 30 Jun 2024 18:11:06 +0000 Original-Received: from localhost ([127.0.0.1]:59071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNz10-0006XG-AK for submit@debbugs.gnu.org; Sun, 30 Jun 2024 14:11:06 -0400 Original-Received: from mail-lj1-f176.google.com ([209.85.208.176]:51393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNz0x-0006Wh-Sb for 71282@debbugs.gnu.org; Sun, 30 Jun 2024 14:11:05 -0400 Original-Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2ec52fbb50cso21991171fa.2 for <71282@debbugs.gnu.org>; Sun, 30 Jun 2024 11:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719770997; x=1720375797; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YxrVGa+p5BQJhS5HHH7Osvu7Gm1LEiTztnUyFBzS8SU=; b=Mj6nemZ+CWn6ABlhIMl2ryiFKHFvAfTtZCmF1LZ3jfkDx6sNbp74rn3NFK5IYp4Hls 1T/92aoJoo6HpEn8a991l8o7sxJIWCVMkr6t96kvMs2JdfHUIe+oH//r1qHl0J2so3Ig n1936UzB710aP+0GqCRpVLo+tAcZ28M9nYAZpCEDuW+jYs1RDr+zOqIvDjpmQJvwG+Fb 5pbKHYNe6QoU/V4fLRzGVMId1u4Mpiier+T9QPtAH2PsYkbmE75NAwwYTZ9f9vo+iX9s dLHIssyR+zHT0/Hi7kpbZU7Hmx3q8VtlNgLnzcnC09A+1tAYFs104iiSosPRJJQ4wooH kl5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719770997; x=1720375797; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YxrVGa+p5BQJhS5HHH7Osvu7Gm1LEiTztnUyFBzS8SU=; b=rNqqDzMhwGW8VD9e3LiXyNyS0XhBqfapIQiLuemJ7HIh9X7LRV90HLeaReR9UUimZQ bcfbh56/DvhEuqPkUngI8ikuhIbtUFm535a+Zk1eFGdrOkMYu/7pNg+mCNim+UYHQqVh QAujZvhfCO6FFfsbryub6BFHT37roRuxgN6fZ7E8My8t87Mw57V0mFMvLCUL3HLq9wus viAfjl9KN9O6RTGMHAD51jFGSzRKVmymLnv+JjXgVKlRw11ee9O1lEVQZEn5XImk5yb4 d/FBba/iYG0GxnuscHepLqAtv6Uqa4jcG1dV1I3m/qTyDDkBzrzw+CKxW71DdPPiGcnh bIVg== X-Forwarded-Encrypted: i=1; AJvYcCVj88HRM4dwD2fDb2eTxUVTCll5bmTVLYJUolON92Vsl1NOdkUogTAtQGAQkFE3MlklPuk0nRD5qTyA5ZTd5p79IzmBrbw= X-Gm-Message-State: AOJu0YwUKZ7V1VmSijg+eSsrakd7cthOUPER9Gn4jgg5fwskAjA1LW2h US6T4fzKm+dgYODlDT0Zc24D+4L6P+LgWH2ttyG1Ochn6KCtC3J5H/WzC5tU/HsPkyuFTHXLj1L Cq1k0alF+lVNbMPTd4+XF0TnfEkg= X-Google-Smtp-Source: AGHT+IE/I8m890Q5gtGmTtjXc7WFwrNW+I9/y25ATEPV9yIn6/SsVdAuDEsS9ot48/XJ0JLmY+tsVYsjPDrZzOGaemo= X-Received: by 2002:a05:6512:31c9:b0:52c:daa4:2f5c with SMTP id 2adb3069b0e04-52e826fc0d0mr2196149e87.42.1719770997376; Sun, 30 Jun 2024 11:09:57 -0700 (PDT) In-Reply-To: <861q4egwne.fsf@gnu.org> 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:288218 Archived-At: --00000000000064cde1061c1f636f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jun 30, 2024, 18:37 Eli Zaretskii wrote: > > From: Jo=C3=A3o T=C3=A1vora > > 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=E2=80=AFPM Eli Zaretskii wr= ote: > > > > > The mechanism exists: find the face of the buffer text, and use it (o= r > > > some of its attributes, like background color) in determining the fac= e > > > of the overlay string. > > > > Then if that mechanism doesn't require anything specific of package X o= r > > 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. > No need, not for this at last. I've already explained how it doesn't fix the problem, but anyone is free to experiment. > --00000000000064cde1061c1f636f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Jun 30, 2024, 18:37 Eli Zaretskii <eliz@gnu.org> wrote:
> From: Jo=C3=A3o T=C3=A1vora <joaotavo= ra@gmail.com>
> Date: Sun, 30 Jun 2024 16:50:32 +0100
> Cc: mohkale@kisara.moe, stefankangas@gmail.com, 71282@debbu= gs.gnu.org
>
> On Sun, Jun 30, 2024 at 4:34=E2=80=AFPM Eli Zaretskii <eliz@gnu.org&g= t; wrote:
>
> > The mechanism exists: find the face of the buffer text, and use i= t (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 packag= e 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&q= uot; and return
> an (anonymous) face.=C2=A0 If so, then that "mistery" functi= on is the fix
> to this issue.

Patches welcome.

No need, not for this at last. I've already explained h= ow it doesn't fix the problem, but anyone is free to experiment.
<= div dir=3D"auto">
--00000000000064cde1061c1f636f--