From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mohsin Kaleem Newsgroups: gmane.emacs.bugs Subject: bug#71282: 30.0.50; hl-line overlay priority has no affect Date: Thu, 30 May 2024 23:27:02 +0100 Message-ID: <87plt3lyvd.fsf@kisara.moe> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15042"; mail-complaints-to="usenet@ciao.gmane.io" To: 71282@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 31 00:37:14 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 1sCoOX-0003h7-FJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 May 2024 00:37:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCoOC-00038K-PZ; Thu, 30 May 2024 18:36:52 -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 1sCoOC-00037m-1S for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 18:36:52 -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 1sCoOB-0001nP-MK for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 18:36:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sCoOM-0002iA-0K for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 18:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mohsin Kaleem Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2024 22:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71282 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171710856710238 (code B ref -1); Thu, 30 May 2024 22:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 May 2024 22:36:07 +0000 Original-Received: from localhost ([127.0.0.1]:52736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCoNS-0002ey-Q3 for submit@debbugs.gnu.org; Thu, 30 May 2024 18:36:07 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCoNN-0002eS-9s for submit@debbugs.gnu.org; Thu, 30 May 2024 18:36:04 -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 1sCoNC-0002xa-8D for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 18:35:50 -0400 Original-Received: from 119.ip-51-38-65.eu ([51.38.65.119] helo=mail.kisara.moe) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCoMz-0001bk-HH for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 18:35:49 -0400 Original-Received: from mk-desktop (0545388a.skybroadband.com [5.69.56.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mail.kisara.moe (Postfix) with ESMTPSA id 05358A2796 for ; Fri, 31 May 2024 00:27:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kisara.moe; s=default; t=1717108025; bh=UHM9y7rQuLxT6/mQ2UlTWJtm1hq++GMtVtHlEeDtefM=; h=From:To:Subject:Date:From; b=WjJU/KjI+4yy1PTQalykRvskhixfotZ04G98xz+YsmHqLddWulWuuL2jY9Rwjvf7g RHJOdyOf6Gxlu3fHwngpJ1y2TIciME1oWeNsOIMrOfVHb1D80im6g/JROsif1y0JgX 9KDv/2ktMaQ6vRVn7LlwMihC5aYxFg3b2D2oX9o867LBa3EtLhmi+TGIaP2CDyd+G2 ojqFoyYrISq59u9CEJmYIG6Bh3K8h7Ft7lfCevyZQAxtIuvn19yVZZ73IAdeSgJfpy 4bqggn1JWC6h5NpdMCbTGHu8m94zDEUpjmAt3eZVnn3EK/cF5+wgpIV6ZweZge3k59 pLoVBpYa3MxGg== Received-SPF: pass client-ip=51.38.65.119; envelope-from=mohkale@kisara.moe; helo=mail.kisara.moe X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:286245 Archived-At: Hi there, Looks like there's no way to give hl-line a higher priority than other text overlays. This impacts things like eglot-inlay-hints-mode or overlay-error-string among other modes and has the affect of making hints or annotations from these modes look out of place. I can reproduce this with something as minimal as: $ emacs -Q $ M-: (progn (setq hl-line-overlay-priority 10) (hl-line-mode) (erase-buffer) (insert ";; This buffer is for text that is not saved, and for Lisp evalu= ation. ;; To create a file, visit it with =E2=80=98SPC f f=E2=80=99 and enter text= in its buffer.") (let ((ov (make-overlay (+ (point-min) 2) (+ (point-min) 3)))) (overlay-put ov 'before-string "foo") (overlay-put ov 'priority 5))) If you move the point to the first line you can see the overlay and its face background completely disregards hl-lines background despite having a lower priority. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-05-08 built on mk-desktop Repository revision: 840c33070dc789d5095a47fa65f4f77564cd6e59 Repository branch: master System Description: Arch Linux Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:games --with-modules --without-m17n-flt --without-gconf --with-native-compilation=3Dyes --with-xinput2 --with-x-toolkit=3Dgtk3 --without-xaw3d --with-sound=3Dno --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=3Ds/\([ec]tags\)/\1.emacs/' 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D3 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=3D/home/mohkale/.cache/yay/emacs-git/src=3D/usr/src/debu= g/emacs-git -flto=3Dauto' 'LDFLAGS=3D-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=3Dauto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_MESSAGES: C value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: hl-line-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils hl-line compile text-property-search comint ansi-osc ansi-color ring comp-run comp-common rx straight-autoloads cl-seq cl-extra help-mode straight cl-macs cl-loaddefs cl-lib +core-setup-paths xdg subr-x term/st term/xterm xterm byte-opt gv bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 135391 97166) (symbols 48 12063 45) (strings 32 37667 9732) (string-bytes 1 2453600) (vectors 16 17732) (vector-slots 8 966098 204470) (floats 8 37 12) (intervals 56 463 162) (buffers 992 13)) --=20 Mohsin Kaleem