From unknown Sun Jun 22 00:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77966: 30.1; Text wrongly displayed with font-lock-warning-face Resent-From: Vangelis Evangelou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Apr 2025 17:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 77966@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174525505132727 (code B ref -1); Mon, 21 Apr 2025 17:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Apr 2025 17:04:11 +0000 Received: from localhost ([127.0.0.1]:37698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6uZ0-0008Vn-BW for submit@debbugs.gnu.org; Mon, 21 Apr 2025 13:04:10 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59356) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6uYv-0008UT-P4 for submit@debbugs.gnu.org; Mon, 21 Apr 2025 13:04:08 -0400 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 1u6uYm-0006NB-Mb for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2025 13:03:56 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u6uYh-00075M-Kk for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2025 13:03:54 -0400 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5499659e669so4556187e87.3 for ; Mon, 21 Apr 2025 10:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745255028; x=1745859828; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=cvcTfznCYhLvRlMy6S4D0P9NjiUTW67EeQM8tsLVptc=; b=LhtIh5VkUYVp8SWJtFQ5ZF78xDjf/KmBjiJF6xE1nDZQjmUMI05ZtuvL0HKI9Guwa0 WNKSue9stexK1h0GVkAsvq+nQxmbTld/773FZc/ziJpItx75x82p9CBdCUL9ltus5uCv X+YCpBx25coiQnmLdZzxavUyq7zXNtgxph+s6FYv1hX/12ci/HsPNJCur44IurJUGJNM pzEBYUN4UujqCliG1YfpbpmwqYqRbhB9XKZmtWzVXczjf+yOYUmiIFqs6/FuQrFtj451 7AxGDl4KcuP7ybtpexMpgYaKtC5aqaps3YrDLtul3z1Z9vZu+lvZ77SUZ44lXpR1i+yU m3Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745255028; x=1745859828; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cvcTfznCYhLvRlMy6S4D0P9NjiUTW67EeQM8tsLVptc=; b=TMAHFd8uAHAz/bBSch6HE6fN0T8GSIw3PpaWrdO/4UF/TsnQWhFp9exPmUYMLSUavg Yzo5f9/o6ounG7m5YIpN3E37dQfhCK54J11ZAmNsBZi5ntmF1vQ6v3S8bsYAkJ6Hn7Jc ZdvZjqlSPQpUPDc+pR/qWMM8pEmV454Cvld1msd46oBhAbnhyFhqe/rPTg1CjbWExkaV 4gGW30+BRd3NHbrq+lg4rRMwrkeEBQ0NO6Z32NMdUZoevCL/eoAmIGIpPtxXGCqKGa5i wv2woKsscoLZeWmmgD8pE1GH5YqxJipFkFEPauU8pXRrk2uoaIHcSYpCPKPHox911kko Upjg== X-Gm-Message-State: AOJu0Yz0evSZPvXGLow1a8gkzzrFz5sxmSypLsr7wFJQiAjNLzZTsdaE aDrZ1wM+p6JGKRrj0GenYzjudaNPN3UrZKuwoMAJ9ib1bhBN40FfLjSH7FUHsbBdJLjtqsS/xtF /IKQXdPJimS2ts1zQLMOlR1ofTWfjCU5x7+k= X-Gm-Gg: ASbGncvHMDWzFFyA+fx7ZC8OfB4Zdo0YRaLlaAZ5CAar7kEL4XyW03idRJO71G6J//y QUBb7eos/OxxaZAJ0BIvPeJrudzpb1PgADo4GeSfv3az3anrYpidDsK6Ffe1eDnkAmTdxlxnV0j aXS6fpi9Xti8MlKNSKX6eChlT717LYC4lChiMn4t4oFVF36Mc/WBtuYg== X-Google-Smtp-Source: AGHT+IEEs211bvy84JfaFdy/F6eTqy4o7wZsImCmwzifbgt/QemtzFC8XkfRyCFyTDxXyyvR7XmXgTZ5IRhsMTM9UG4= X-Received: by 2002:a05:6512:ac6:b0:549:91db:c14b with SMTP id 2adb3069b0e04-54d6e61e60amr3123663e87.8.1745255028244; Mon, 21 Apr 2025 10:03:48 -0700 (PDT) MIME-Version: 1.0 From: Vangelis Evangelou Date: Mon, 21 Apr 2025 18:03:35 +0100 X-Gm-Features: ATxdqUEz2aztZIULd6NExvvt1V3imtHJFTnscsGw23A6wmYGDMINOd1a1Qvk6dk Message-ID: Content-Type: multipart/alternative; boundary="00000000000000485a06334cdaf1" Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=evangelou@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --00000000000000485a06334cdaf1 Content-Type: text/plain; charset="UTF-8" Start emacs with emacs -Q and paste the following text in the scratch buffer ;;;; Start copy ;;;; (defun test (nil) (test1 (test2 "") "***")) ;;;; End copy ;;;; You will see that the last 7 characters of the last line, i.e., "***")) are shown with the wrong face. If you insert a new line before those characters, the correct face is shown. In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw scroll bars) of 2025-02-23 built on ublt-ee224 Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Linux Mint 22.1 Configured using: 'configure --without-pop --without-kerberos --without-kerberos5 --without-hesiod --without-mail-unlink --without-mailhost --with-x-toolkit=lucid --with-file-notification=inotify --with-x --with-modules --with-json --with-xft' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_TIME: en_GB.utf8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: delete-selection-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-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 text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils crm thingatpt help-fns radix-tree help-mode cus-start cus-load delsel time-date subr-x cl-loaddefs cl-lib 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 x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 53158 9810) (symbols 48 6703 0) (strings 32 16512 1468) (string-bytes 1 373060) (vectors 16 9889) (vector-slots 8 115868 8907) (floats 8 25 101) (intervals 56 714 66) (buffers 992 11)) --00000000000000485a06334cdaf1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Start emacs with emacs -Q and paste the following tex= t in the scratch buffer

;;;; Start copy ;;;;
=
(defun test (nil)
=C2=A0 (test1
=C2=A0=C2=A0=C2=A0 (test2
=C2= =A0 =C2=A0 "") "***"))
;;;; End copy ;;;;=

You will see that the last 7 characters of the la= st line, i.e.,=C2=A0"***")) are shown with the wrong face. If you= insert a new line before those characters, the correct face is shown.

In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo=
=C2=A0version 1.18.0, Xaw scroll bars) of 2025-02-23 built on ublt-ee22= 4
Windowing system distributor 'The X.Org Foundation', version 1= 1.0.12101011
System Description: Linux Mint 22.1

Configured using= :
=C2=A0'configure --without-pop --without-kerberos --without-kerber= os5
=C2=A0--without-hesiod --without-mail-unlink --without-mailhost
= =C2=A0--with-x-toolkit=3Dlucid --with-file-notification=3Dinotify --with-x<= br>=C2=A0--with-modules --with-json --with-xft'

Configured featu= res:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCM= S2
LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SO= UND
SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE X= IM
XINPUT2 XPM LUCID ZLIB

Important settings:
=C2=A0 value of = $LC_TIME: en_GB.utf8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale= -coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor= modes in effect:
=C2=A0 delete-selection-mode: t
=C2=A0 tooltip-mode= : t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 show-p= aren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: = t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name= -shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode= : t
=C2=A0 blink-cursor-mode: t
=C2=A0 minibuffer-regexp-mode: t
= =C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 transien= t-mark-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption= -mode: t
=C2=A0 auto-compression-mode: t

Load-path shadows:
No= ne found.

Features:
(shadow sort mail-extr emacsbug message mailc= ap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cach= e epa derived epg rfc6068
epg-config gnus-util text-property-search mm-d= ecode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailhe= ader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils c= rm thingatpt help-fns
radix-tree help-mode cus-start cus-load delsel tim= e-date subr-x
cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc pare= n electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwhee= l
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fonts= et
image regexp-opt fringe tabulated-list replace newcomment text-modelisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearcheasymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-c= ore term/tty-colors frame minibuffer nadvice seq simple cl-generic
indon= esian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan t= hai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian = slovak czech european ethiopic indian cyrillic chinese
composite emoji-z= wj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev oba= rray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face= macroexp files window text-properties
overlay sha1 md5 base64 format en= v code-pages mule custom widget keymap
hashtable-print-readable backquot= e threads dbusbind inotify lcms2
dynamic-setting system-font-setting fon= t-render-setting cairo x-toolkit
xinput2 x multi-tty move-toolbar make-n= etwork-process emacs)

Memory information:
((conses 16 53158 9810)= (symbols 48 6703 0) (strings 32 16512 1468)
=C2=A0(string-bytes 1 37306= 0) (vectors 16 9889)
=C2=A0(vector-slots 8 115868 8907) (floats 8 25 101= ) (intervals 56 714 66)
=C2=A0(buffers 992 11))

--00000000000000485a06334cdaf1-- From unknown Sun Jun 22 00:50:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#77966: 30.1; Text wrongly displayed with font-lock-warning-face Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Apr 2025 18:33:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vangelis Evangelou Cc: 77966@debbugs.gnu.org Received: via spool by 77966-submit@debbugs.gnu.org id=B77966.17452603725491 (code B ref 77966); Mon, 21 Apr 2025 18:33:08 +0000 Received: (at 77966) by debbugs.gnu.org; 21 Apr 2025 18:32:52 +0000 Received: from localhost ([127.0.0.1]:38490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6vwn-0001QI-S7 for submit@debbugs.gnu.org; Mon, 21 Apr 2025 14:32:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46952) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6vwk-0001OL-D3; Mon, 21 Apr 2025 14:32:47 -0400 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 1u6vwe-0003RU-Ph; Mon, 21 Apr 2025 14:32:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+fR8VY1g/J4bB4xKDxJL/xtZrK3qM0PwnpU0BBJ8sfw=; b=LaaqJOqaJ9FP u/l/DPpfXbv1f+3i11EeLQCPXojEj8czmQaJorZ/lczLKKgnxRjtUC1USAuywXmcwHodDNn/BjI10 IC2noXTl0lI++Wj3jeaTAiQTczK2z23wjLEEJwSkkf6D0/1OqptsdSk1RLq5E9az482lciSuaXfn9 /HZB5AOJ97+cz4GYoRlBwtJJHromdQgGqBNjkEsaYMsTAuUlTHfeTnmML8oDQY6hn6jtEbI2HfsKi UaP2EE0pan4CbfakFgGkQDGokIrZFqtoHK5wh3pK5NT0siC3+IApVzslWIHIXlMzIdhvPS0n4jGYn 2BXz3OfL8iliGsNDj65FKw==; Date: Mon, 21 Apr 2025 21:32:28 +0300 Message-Id: <861ptl4b7n.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Vangelis Evangelou on Mon, 21 Apr 2025 18:03:35 +0100) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 77966 notabug thanks > From: Vangelis Evangelou > Date: Mon, 21 Apr 2025 18:03:35 +0100 > > Start emacs with emacs -Q and paste the following text in the scratch buffer > > ;;;; Start copy ;;;; > (defun test (nil) > (test1 > (test2 > "") "***")) > ;;;; End copy ;;;; > > You will see that the last 7 characters of the last line, i.e., "***")) are shown with the wrong face. If you insert > a new line before those characters, the correct face is shown. It's a feature, not a bug. Move your mouse pointer so it's over the text displayed in warning face, and read what the tooltip says to understand why Emacs does that. From unknown Sun Jun 22 00:50:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vangelis Evangelou Subject: bug#77966: closed (Re: bug#77966: 30.1; Text wrongly displayed with font-lock-warning-face) Message-ID: References: <86v7pq2yk4.fsf@gnu.org> X-Gnu-PR-Message: they-closed 77966 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 77966@debbugs.gnu.org Date: Sat, 24 May 2025 08:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1748075942-20653-1" This is a multi-part message in MIME format... ------------=_1748075942-20653-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #77966: 30.1; Text wrongly displayed with font-lock-warning-face which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 77966@debbugs.gnu.org. --=20 77966: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77966 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1748075942-20653-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 77966-done) by debbugs.gnu.org; 24 May 2025 08:38:47 +0000 Received: from localhost ([127.0.0.1]:56681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIkP1-0005Mb-0n for submit@debbugs.gnu.org; Sat, 24 May 2025 04:38:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34616) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIkOy-0005MH-RC for 77966-done@debbugs.gnu.org; Sat, 24 May 2025 04:38:45 -0400 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 1uIkOr-0005Up-Iw; Sat, 24 May 2025 04:38:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ee/lIGcjwyubC/2SB5YPxLbZU1tTxsNR1LUm+iw7VOo=; b=D/wdl+6lxJSv SJn+/3n3GczXkyDi/Tuqx35q0vNqlsl2M/MlMn3Xr8/5cAnBjDkwF92WPbynY+OiSzH5uYpzt5Qzh zdU3LVZrQkhPvGB75HRl3lac3k4Q2ogYhaVexxOv/8gmZVm/kYA97iyfc411aYjsWJkVj/h6w/BZA I8fLNtQycHNYQQhxPpDlQDcgMqPGoNDnSApqNLTzakG6JSnmV3WeGxNTiE78LAcSzv+bhPbwFjfGc Z3yOqNF9Q/C0wro9M9R970fbelz3cd9v1A9URvpATKBgtHcigJpwNAKSPYQKKFpUhDe2xtEqQ9Yv9 oTe7j4pnhdhFreMgYoP6DQ==; Date: Sat, 24 May 2025 11:38:35 +0300 Message-Id: <86v7pq2yk4.fsf@gnu.org> From: Eli Zaretskii To: evangelou@gmail.com In-Reply-To: <861ptl4b7n.fsf@gnu.org> (message from Eli Zaretskii on Mon, 21 Apr 2025 21:32:28 +0300) Subject: Re: bug#77966: 30.1; Text wrongly displayed with font-lock-warning-face References: <861ptl4b7n.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77966-done Cc: 77966-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 77966@debbugs.gnu.org > Date: Mon, 21 Apr 2025 21:32:28 +0300 > From: Eli Zaretskii > > tags 77966 notabug > thanks > > > From: Vangelis Evangelou > > Date: Mon, 21 Apr 2025 18:03:35 +0100 > > > > Start emacs with emacs -Q and paste the following text in the scratch buffer > > > > ;;;; Start copy ;;;; > > (defun test (nil) > > (test1 > > (test2 > > "") "***")) > > ;;;; End copy ;;;; > > > > You will see that the last 7 characters of the last line, i.e., "***")) are shown with the wrong face. If you insert > > a new line before those characters, the correct face is shown. > > It's a feature, not a bug. Move your mouse pointer so it's over the > text displayed in warning face, and read what the tooltip says to > understand why Emacs does that. No further comments, so I'm now closing this non-bug. ------------=_1748075942-20653-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Apr 2025 17:04:11 +0000 Received: from localhost ([127.0.0.1]:37698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u6uZ0-0008Vn-BW for submit@debbugs.gnu.org; Mon, 21 Apr 2025 13:04:10 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59356) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u6uYv-0008UT-P4 for submit@debbugs.gnu.org; Mon, 21 Apr 2025 13:04:08 -0400 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 1u6uYm-0006NB-Mb for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2025 13:03:56 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u6uYh-00075M-Kk for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2025 13:03:54 -0400 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5499659e669so4556187e87.3 for ; Mon, 21 Apr 2025 10:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745255028; x=1745859828; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=cvcTfznCYhLvRlMy6S4D0P9NjiUTW67EeQM8tsLVptc=; b=LhtIh5VkUYVp8SWJtFQ5ZF78xDjf/KmBjiJF6xE1nDZQjmUMI05ZtuvL0HKI9Guwa0 WNKSue9stexK1h0GVkAsvq+nQxmbTld/773FZc/ziJpItx75x82p9CBdCUL9ltus5uCv X+YCpBx25coiQnmLdZzxavUyq7zXNtgxph+s6FYv1hX/12ci/HsPNJCur44IurJUGJNM pzEBYUN4UujqCliG1YfpbpmwqYqRbhB9XKZmtWzVXczjf+yOYUmiIFqs6/FuQrFtj451 7AxGDl4KcuP7ybtpexMpgYaKtC5aqaps3YrDLtul3z1Z9vZu+lvZ77SUZ44lXpR1i+yU m3Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745255028; x=1745859828; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cvcTfznCYhLvRlMy6S4D0P9NjiUTW67EeQM8tsLVptc=; b=TMAHFd8uAHAz/bBSch6HE6fN0T8GSIw3PpaWrdO/4UF/TsnQWhFp9exPmUYMLSUavg Yzo5f9/o6ounG7m5YIpN3E37dQfhCK54J11ZAmNsBZi5ntmF1vQ6v3S8bsYAkJ6Hn7Jc ZdvZjqlSPQpUPDc+pR/qWMM8pEmV454Cvld1msd46oBhAbnhyFhqe/rPTg1CjbWExkaV 4gGW30+BRd3NHbrq+lg4rRMwrkeEBQ0NO6Z32NMdUZoevCL/eoAmIGIpPtxXGCqKGa5i wv2woKsscoLZeWmmgD8pE1GH5YqxJipFkFEPauU8pXRrk2uoaIHcSYpCPKPHox911kko Upjg== X-Gm-Message-State: AOJu0Yz0evSZPvXGLow1a8gkzzrFz5sxmSypLsr7wFJQiAjNLzZTsdaE aDrZ1wM+p6JGKRrj0GenYzjudaNPN3UrZKuwoMAJ9ib1bhBN40FfLjSH7FUHsbBdJLjtqsS/xtF /IKQXdPJimS2ts1zQLMOlR1ofTWfjCU5x7+k= X-Gm-Gg: ASbGncvHMDWzFFyA+fx7ZC8OfB4Zdo0YRaLlaAZ5CAar7kEL4XyW03idRJO71G6J//y QUBb7eos/OxxaZAJ0BIvPeJrudzpb1PgADo4GeSfv3az3anrYpidDsK6Ffe1eDnkAmTdxlxnV0j aXS6fpi9Xti8MlKNSKX6eChlT717LYC4lChiMn4t4oFVF36Mc/WBtuYg== X-Google-Smtp-Source: AGHT+IEEs211bvy84JfaFdy/F6eTqy4o7wZsImCmwzifbgt/QemtzFC8XkfRyCFyTDxXyyvR7XmXgTZ5IRhsMTM9UG4= X-Received: by 2002:a05:6512:ac6:b0:549:91db:c14b with SMTP id 2adb3069b0e04-54d6e61e60amr3123663e87.8.1745255028244; Mon, 21 Apr 2025 10:03:48 -0700 (PDT) MIME-Version: 1.0 From: Vangelis Evangelou Date: Mon, 21 Apr 2025 18:03:35 +0100 X-Gm-Features: ATxdqUEz2aztZIULd6NExvvt1V3imtHJFTnscsGw23A6wmYGDMINOd1a1Qvk6dk Message-ID: Subject: 30.1; Text wrongly displayed with font-lock-warning-face To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000000485a06334cdaf1" Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=evangelou@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --00000000000000485a06334cdaf1 Content-Type: text/plain; charset="UTF-8" Start emacs with emacs -Q and paste the following text in the scratch buffer ;;;; Start copy ;;;; (defun test (nil) (test1 (test2 "") "***")) ;;;; End copy ;;;; You will see that the last 7 characters of the last line, i.e., "***")) are shown with the wrong face. If you insert a new line before those characters, the correct face is shown. In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw scroll bars) of 2025-02-23 built on ublt-ee224 Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Linux Mint 22.1 Configured using: 'configure --without-pop --without-kerberos --without-kerberos5 --without-hesiod --without-mail-unlink --without-mailhost --with-x-toolkit=lucid --with-file-notification=inotify --with-x --with-modules --with-json --with-xft' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_TIME: en_GB.utf8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: delete-selection-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-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 text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils crm thingatpt help-fns radix-tree help-mode cus-start cus-load delsel time-date subr-x cl-loaddefs cl-lib 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 x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 53158 9810) (symbols 48 6703 0) (strings 32 16512 1468) (string-bytes 1 373060) (vectors 16 9889) (vector-slots 8 115868 8907) (floats 8 25 101) (intervals 56 714 66) (buffers 992 11)) --00000000000000485a06334cdaf1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Start emacs with emacs -Q and paste the following tex= t in the scratch buffer

;;;; Start copy ;;;;
=
(defun test (nil)
=C2=A0 (test1
=C2=A0=C2=A0=C2=A0 (test2
=C2= =A0 =C2=A0 "") "***"))
;;;; End copy ;;;;=

You will see that the last 7 characters of the la= st line, i.e.,=C2=A0"***")) are shown with the wrong face. If you= insert a new line before those characters, the correct face is shown.

In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo=
=C2=A0version 1.18.0, Xaw scroll bars) of 2025-02-23 built on ublt-ee22= 4
Windowing system distributor 'The X.Org Foundation', version 1= 1.0.12101011
System Description: Linux Mint 22.1

Configured using= :
=C2=A0'configure --without-pop --without-kerberos --without-kerber= os5
=C2=A0--without-hesiod --without-mail-unlink --without-mailhost
= =C2=A0--with-x-toolkit=3Dlucid --with-file-notification=3Dinotify --with-x<= br>=C2=A0--with-modules --with-json --with-xft'

Configured featu= res:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCM= S2
LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SO= UND
SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE X= IM
XINPUT2 XPM LUCID ZLIB

Important settings:
=C2=A0 value of = $LC_TIME: en_GB.utf8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale= -coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor= modes in effect:
=C2=A0 delete-selection-mode: t
=C2=A0 tooltip-mode= : t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 show-p= aren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: = t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name= -shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode= : t
=C2=A0 blink-cursor-mode: t
=C2=A0 minibuffer-regexp-mode: t
= =C2=A0 line-number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 transien= t-mark-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption= -mode: t
=C2=A0 auto-compression-mode: t

Load-path shadows:
No= ne found.

Features:
(shadow sort mail-extr emacsbug message mailc= ap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cach= e epa derived epg rfc6068
epg-config gnus-util text-property-search mm-d= ecode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailhe= ader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils c= rm thingatpt help-fns
radix-tree help-mode cus-start cus-load delsel tim= e-date subr-x
cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc pare= n electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwhee= l
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fonts= et
image regexp-opt fringe tabulated-list replace newcomment text-modelisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearcheasymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-c= ore term/tty-colors frame minibuffer nadvice seq simple cl-generic
indon= esian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan t= hai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian = slovak czech european ethiopic indian cyrillic chinese
composite emoji-z= wj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev oba= rray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face= macroexp files window text-properties
overlay sha1 md5 base64 format en= v code-pages mule custom widget keymap
hashtable-print-readable backquot= e threads dbusbind inotify lcms2
dynamic-setting system-font-setting fon= t-render-setting cairo x-toolkit
xinput2 x multi-tty move-toolbar make-n= etwork-process emacs)

Memory information:
((conses 16 53158 9810)= (symbols 48 6703 0) (strings 32 16512 1468)
=C2=A0(string-bytes 1 37306= 0) (vectors 16 9889)
=C2=A0(vector-slots 8 115868 8907) (floats 8 25 101= ) (intervals 56 714 66)
=C2=A0(buffers 992 11))

--00000000000000485a06334cdaf1-- ------------=_1748075942-20653-1--