GNU logs - #75431, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75431: 31.0.50; Fontification malfunction
Resent-From: Johan Ekenberg <johan.ekenberg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 08 Jan 2025 03:07:01 +0000
Resent-Message-ID: <handler.75431.B.173630561930865 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75431
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 75431 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173630561930865
          (code B ref -1); Wed, 08 Jan 2025 03:07:01 +0000
Received: (at submit) by debbugs.gnu.org; 8 Jan 2025 03:06:59 +0000
Received: from localhost ([127.0.0.1]:45432 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVMPH-00081b-U9
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 22:06:59 -0500
Received: from lists.gnu.org ([2001:470:142::17]:60820)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <johan.ekenberg@HIDDEN>)
 id 1tVFsV-0003hr-8H
 for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 15:08:43 -0500
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 <johan.ekenberg@HIDDEN>)
 id 1tVFsL-0001WH-Tg
 for bug-gnu-emacs@HIDDEN; Tue, 07 Jan 2025 15:08:31 -0500
Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <johan.ekenberg@HIDDEN>)
 id 1tVFsF-0004u2-Qu
 for bug-gnu-emacs@HIDDEN; Tue, 07 Jan 2025 15:08:29 -0500
Received: by mail-pj1-x102c.google.com with SMTP id
 98e67ed59e1d1-2f43d17b0e3so23808353a91.0
 for <bug-gnu-emacs@HIDDEN>; Tue, 07 Jan 2025 12:08:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1736280501; x=1736885301; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=vNYFxmwm16Xx4knc6GpAGDUBZTG4H9y4sU1GbvihRPk=;
 b=UZlnajtGXZq6p2fg5/R0xWavAzUlpzJgAfD3RghORmp1NJza8Os6U8bl9t5aQcKzh5
 5oYUFcoTUgbbn931/g5nf/GsLMiOloK2tMrTrWztUVEJreuTL8dw83cWiA15wv7kk9U9
 6Fy3ubrmmeQBMZSjFoLraMZtPwC/HBM8GfbHjyDZqBJkoHrvAncdWzcAdTY4Kag+UU9P
 LQyHAw0GPNzbtLznqBNz06edChDFBxpoyPsRmZ52uFiXbB3ORPa8DPF9BA7LHEE3L4Er
 TaktFbSQL/Dv5FB81KWT3pzJ4ui9u3L0A5UvtgO/iViYRSsFA/jPU1Bn/b2iTplHsGHp
 zPpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736280501; x=1736885301;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=vNYFxmwm16Xx4knc6GpAGDUBZTG4H9y4sU1GbvihRPk=;
 b=Hoex38DNu2ulwRgYTiBSPJ2ec5Ysowjnc7pYrWMrW691wTpGtlcmlK7p6h1scHkktT
 hyyzJzqAtnMJqR4dZuklLI2G2rZFKOcMZP1HeYJg4UwUrsj/YAm8O9P8eklZ+M/YPUBJ
 Jiuhbxa0pGlXAFPddGYUCCFR3kiY9IkLSEQ9ieBAxR8nIrjs1y4Ocoe2CQHxpVO9MG0Y
 Ma1g9HuEqFDm+sfKTxtpEcX+Bhlq0QBY33L+CpA18ZF6+1B9DwmDnIMLJk1Oxhan9gM5
 mpj0mcZJf6P5SeAGBxGf1cOKdJRJnGG1cwoi3UXBSVvpb1hsgNDpsJTkBkg7Fv+XBNpV
 LkVQ==
X-Gm-Message-State: AOJu0YxbwppUkXo71hTGkvi+p9q7CIGVtRs9gKS5pclb9FlbTvl0fmr0
 73ogDU6HcU28VgWZGg8cCmKjl1KS2dDL43+MKWDwvTMFqD2KoXNeQUer1R1+pwUjPFGAo0JXFwE
 bO/riTXt8L2HdqjWjE6TJvCdXAh2MFqyheA==
X-Gm-Gg: ASbGnctZ6WXwtTv4vhinOtuiHsrIgHX62GQMd6YYowgdz1KyiNhb0sweVD6taAxL/ja
 TKvcF7ckPkVgonfzsc2pIL2fG2Sl9MEKoRg==
X-Google-Smtp-Source: AGHT+IGrjV7Rn6WJXuLvi0aytzKSvu/vE06W+DGkC3ifYa2XXbW217a8kgMZ1EGZBln1lh1CWoE3cEEAZkbShDFnR3A=
X-Received: by 2002:a17:90b:37ce:b0:2f4:f7f8:f70c with SMTP id
 98e67ed59e1d1-2f5490c20dcmr185770a91.28.1736280500501; Tue, 07 Jan 2025
 12:08:20 -0800 (PST)
MIME-Version: 1.0
From: Johan Ekenberg <johan.ekenberg@HIDDEN>
Date: Tue, 7 Jan 2025 21:08:09 +0100
X-Gm-Features: AbW1kvZa5-ZWwHJtd6txY5vNViDdSIGKzQwPOViiknyVpopwMV-OeySW3sj2Ajg
Message-ID: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000768aae062b234ea0"
Received-SPF: pass client-ip=2607:f8b0:4864:20::102c;
 envelope-from=johan.ekenberg@HIDDEN; helo=mail-pj1-x102c.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-Mailman-Approved-At: Tue, 07 Jan 2025 22:06:54 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--000000000000768aae062b234ea0
Content-Type: text/plain; charset="UTF-8"

--text follows this line--

- Start emacs: 'emacs -Q'
- Paste this function into the scratch buffer and evaluate it:
  (defun test-org-insertion-fontification ()
    (interactive)
    (let* ((chunks
            '("#+begin_src elisp\n"
              "(+ 1 2)"
              "\n#+end_src\n")))
      (insert "* NOTE: You need to run this with org-mode enabled and point
at end of buffer\n\n")
      (insert "** This code block is fontified correctly\n")
      (insert (car chunks))
      (dolist (chunk (cdr chunks))
        (insert chunk))

      (insert "\n** But not this code block\n")
      (insert (car chunks))
      (dolist (chunk (cdr chunks))
        (sit-for (/ 10 1000.0)) ; simulate chunks received over network and
streamed into buffer
        ;; The following were also tested one by one instead of the sit-for
line above:
        ;; (redisplay) ; this triggers the bug
        ;; (force-mode-line-update) ; this does not trigger the bug
        ;; (read-event nil nil 0) ; this triggers the bug
        (insert chunk))
      ))
- Open an existing or new file/buffer with org-mode enabled (C-x C-f foo.org
)
- Place point at end of buffer
- M-x test-org-insertion-fontification
- Optional: replace the line (sit-for...) with any of the lines below it.

- Additional information: The problem was discovered when receiving
streamed data responses via the package gptel which is an Emacs LLM
Client. Here is the reported issue:
https://github.com/karthink/gptel/issues/550

- Also replicated on Emacs 29.3


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.33, cairo version 1.16.0) of 2025-01-07 built on piano
Repository revision: 4bf0f6655142b9e216325d051943b7b7ca4d2cd7
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Linux Mint 21.3

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: sv_SE.UTF-8
  value of $LC_NUMERIC: sv_SE.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: C.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  tooltip-mode: t
  global-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 face-remap help-macro oc-basic cl-extra
help-mode org-element org-persist org-id org-refile org-element-ast
inline avl-tree generator ol-eww eww vtable mule-util url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015
mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku
url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml
gnus-cloud nnimap nnmail browse-url xdg url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core
cl-macs json map url-vars mail-source utf7 nnoo parse-time gnus-spec
gnus-int gnus-range message sendmail mailcap yank-media puny rfc822 mml
mml-sec password-cache epa derived epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util
text-property-search mail-utils range mm-util mail-prsvr wid-edit
ol-docview doc-view byte-opt gv bytecomp byte-compile filenotify
jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601
ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src sh-script smie treesit executable
ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring
org-list org-footnote org-faces org-entities time-date subr-x noutline
outline icons org-version ob-emacs-lisp ob-core ob-eval org-cycle
org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs
thingatpt find-func cal-menu calendar cal-loaddefs org-compat org-macs
format-spec 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 gtk
x-toolkit xinput2 x multi-tty move-toolbar make-network-process
tty-child-frames emacs)

Memory information:
((conses 16 203329 36256) (symbols 48 21221 0) (strings 32 66951 3884)
 (string-bytes 1 1766656) (vectors 16 37794)
 (vector-slots 8 363252 21163) (floats 8 281 90) (intervals 56 804 0)
 (buffers 992 14))

--000000000000768aae062b234ea0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><font face=3D"monospace">--text follows this line--<br><br=
>- Start emacs: &#39;emacs -Q&#39;<br>- Paste this function into the scratc=
h buffer and evaluate it:<br>=C2=A0 (defun test-org-insertion-fontification=
 ()<br>=C2=A0 =C2=A0 (interactive)<br>=C2=A0 =C2=A0 (let* ((chunks<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &#39;(&quot;#+begin_src elisp\n&quot=
;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;(+ 1 2)&quot;<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;\n#+end_src\n&quot=
;)))<br>=C2=A0 =C2=A0 =C2=A0 (insert &quot;* NOTE: You need to run this wit=
h org-mode enabled and point at end of buffer\n\n&quot;)<br>=C2=A0 =C2=A0 =
=C2=A0 (insert &quot;** This code block is fontified correctly\n&quot;)<br>=
=C2=A0 =C2=A0 =C2=A0 (insert (car chunks))<br>=C2=A0 =C2=A0 =C2=A0 (dolist =
(chunk (cdr chunks))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (insert chunk))<br><br>=
=C2=A0 =C2=A0 =C2=A0 (insert &quot;\n** But not this code block\n&quot;)<br=
>=C2=A0 =C2=A0 =C2=A0 (insert (car chunks))<br>=C2=A0 =C2=A0 =C2=A0 (dolist=
 (chunk (cdr chunks))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (sit-for (/ 10 1000.0)=
) ; simulate chunks received over network and streamed into buffer<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 ;; The following were also tested one by one inste=
ad of the sit-for line above:<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; (redisplay)=
 ; this triggers the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; (force-mode-line=
-update) ; this does not trigger the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; =
(read-event nil nil 0) ; this triggers the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 (insert chunk))<br>=C2=A0 =C2=A0 =C2=A0 ))<br>- Open an existing or new=
 file/buffer with org-mode enabled (C-x C-f <a href=3D"http://foo.org">foo.=
org</a>)<br>- Place point at end of buffer<br>- M-x test-org-insertion-font=
ification<br>- Optional: replace the line (sit-for...) with any of the line=
s below it.<br><br>- Additional information: The problem was discovered whe=
n receiving<br>streamed data responses via the package gptel which is an Em=
acs LLM<br>Client. Here is the reported issue:<br><a href=3D"https://github=
.com/karthink/gptel/issues/550">https://github.com/karthink/gptel/issues/55=
0</a></font><div><font face=3D"monospace"><br></font></div><div><font face=
=3D"monospace">- Also replicated on Emacs 29.3<br><br><br>In GNU Emacs 31.0=
.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version<br>=C2=A03.24.33, cairo ver=
sion 1.16.0) of 2025-01-07 built on piano<br>Repository revision: 4bf0f6655=
142b9e216325d051943b7b7ca4d2cd7<br>Repository branch: master<br>Windowing s=
ystem distributor &#39;The X.Org Foundation&#39;, version 11.0.12101004<br>=
System Description: Linux Mint 21.3<br><br>Configured features:<br>ACL CAIR=
O DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG<br>LCMS2 LI=
BOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY<br>INOTIFY PDUMP=
ER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF<br>TOOLKIT_SCROLL_BARS TREE_=
SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB<br><br>Important settings:<b=
r>=C2=A0 value of $LC_MONETARY: sv_SE.UTF-8<br>=C2=A0 value of $LC_NUMERIC:=
 sv_SE.UTF-8<br>=C2=A0 value of $LC_TIME: en_GB.UTF-8<br>=C2=A0 value of $L=
ANG: C.UTF-8<br>=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mode: =
Org<br><br>Minor modes in effect:<br>=C2=A0 tooltip-mode: t<br>=C2=A0 globa=
l-eldoc-mode: t<br>=C2=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode=
: t<br>=C2=A0 mouse-wheel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu=
-bar-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-=
mode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=
=A0 minibuffer-regexp-mode: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 inden=
t-tabs-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-composition-=
mode: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mode: =
t<br><br>Load-path shadows:<br>None found.<br><br>Features:<br>(shadow sort=
 mail-extr emacsbug face-remap help-macro oc-basic cl-extra<br>help-mode or=
g-element org-persist org-id org-refile org-element-ast<br>inline avl-tree =
generator ol-eww eww vtable mule-util url-queue mm-url<br>ol-rmail ol-mhe o=
l-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015<br>mm-view mml-smime =
smime gnutls dig gnus-sum shr pixel-fill kinsoku<br>url-file svg dom gnus-g=
roup gnus-undo gnus-start gnus-dbus dbus xml<br>gnus-cloud nnimap nnmail br=
owse-url xdg url url-proxy url-privacy<br>url-expand url-methods url-histor=
y url-cookie generate-lisp-file<br>url-domsuf url-util url-parse auth-sourc=
e cl-seq eieio eieio-core<br>cl-macs json map url-vars mail-source utf7 nno=
o parse-time gnus-spec<br>gnus-int gnus-range message sendmail mailcap yank=
-media puny rfc822 mml<br>mml-sec password-cache epa derived epg rfc6068 ep=
g-config mm-decode<br>mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc204=
5 ietf-drums<br>mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus=
-util<br>text-property-search mail-utils range mm-util mail-prsvr wid-edit<=
br>ol-docview doc-view byte-opt gv bytecomp byte-compile filenotify<br>jka-=
compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601<br>ol-b=
bdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob<br>ob-table o=
b-exp org-macro org-src sh-script smie treesit executable<br>ob-comint org-=
pcomplete pcomplete comint ansi-osc ansi-color ring<br>org-list org-footnot=
e org-faces org-entities time-date subr-x noutline<br>outline icons org-ver=
sion ob-emacs-lisp ob-core ob-eval org-cycle<br>org-table ol rx org-fold or=
g-fold-core org-keys oc org-loaddefs<br>thingatpt find-func cal-menu calend=
ar cal-loaddefs org-compat org-macs<br>format-spec cl-loaddefs cl-lib rmc i=
so-transl tooltip cconv eldoc paren<br>electric uniquify ediff-hook vc-hook=
s lisp-float-type elisp-mode mwheel<br>term/x-win x-win term/common-win x-d=
nd touch-screen tool-bar dnd fontset<br>image regexp-opt fringe tabulated-l=
ist replace newcomment text-mode<br>lisp-mode prog-mode register page tab-b=
ar menu-bar rfn-eshadow isearch<br>easymenu timer select scroll-bar mouse j=
it-lock font-lock syntax<br>font-core term/tty-colors frame minibuffer nadv=
ice seq simple cl-generic<br>indonesian philippine cham georgian utf-8-lang=
 misc-lang vietnamese<br>tibetan thai tai-viet lao korean japanese eucjp-ms=
 cp51932 hebrew greek<br>romanian slovak czech european ethiopic indian cyr=
illic chinese<br>composite emoji-zwj charscript charprop case-table epa-hoo=
k<br>jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddef=
s<br>theme-loaddefs faces cus-face macroexp files window text-properties<br=
>overlay sha1 md5 base64 format env code-pages mule custom widget keymap<br=
>hashtable-print-readable backquote threads dbusbind inotify lcms2<br>dynam=
ic-setting system-font-setting font-render-setting cairo gtk<br>x-toolkit x=
input2 x multi-tty move-toolbar make-network-process<br>tty-child-frames em=
acs)<br><br>Memory information:<br>((conses 16 203329 36256) (symbols 48 21=
221 0) (strings 32 66951 3884)<br>=C2=A0(string-bytes 1 1766656) (vectors 1=
6 37794)<br>=C2=A0(vector-slots 8 363252 21163) (floats 8 281 90) (interval=
s 56 804 0)<br>=C2=A0(buffers 992 14))</font><br></div></div>

--000000000000768aae062b234ea0--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Johan Ekenberg <johan.ekenberg@HIDDEN>
Subject: bug#75431: Acknowledgement (31.0.50; Fontification malfunction)
Message-ID: <handler.75431.B.173630561930865.ack <at> debbugs.gnu.org>
References: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
X-Gnu-PR-Message: ack 75431
X-Gnu-PR-Package: emacs
Reply-To: 75431 <at> debbugs.gnu.org
Date: Wed, 08 Jan 2025 03:07:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 75431 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
75431: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75431
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75431: 31.0.50; Fontification malfunction
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 08 Jan 2025 12:39:02 +0000
Resent-Message-ID: <handler.75431.B75431.17363399311966 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75431
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Johan Ekenberg <johan.ekenberg@HIDDEN>
Cc: 75431 <at> debbugs.gnu.org
Received: via spool by 75431-submit <at> debbugs.gnu.org id=B75431.17363399311966
          (code B ref 75431); Wed, 08 Jan 2025 12:39:02 +0000
Received: (at 75431) by debbugs.gnu.org; 8 Jan 2025 12:38:51 +0000
Received: from localhost ([127.0.0.1]:46327 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVVKl-0000Ve-CJ
	for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 07:38:51 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:36372)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tVVKi-0000VN-GY
 for 75431 <at> debbugs.gnu.org; Wed, 08 Jan 2025 07:38:49 -0500
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 <eliz@HIDDEN>)
 id 1tVVKc-0008DX-KK; Wed, 08 Jan 2025 07:38:43 -0500
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=bWXEz0rB//LE2SF+yIkXakQXHsGZa/i5mxPkBbx3zsI=; b=pN17bnZk4mZj
 xYQDobBb7XYMI11lzhRmUGcaqwPV9p44UtYTCFWXMA2Auf/3ioEDfqCTXHIviokkUTobh85JJ789v
 QwEq90uo0pV6AL4N+qGOOJeVpZdZ2JM1L4GimGAjynhsaqtAoQ+un/+qfVnJ+cU/KvwYjpa3fVdcj
 rHnsqTaWhpZJypFRZCQqRQW5i6XLwolJ8oX4WIacMOx+s14OzUip2jxR96WYCeDax5A/bWlzgvjdI
 sKfE+qXaONXdwtXJHzAjWCWgRl57LZjt37yUAwHL1i6BG2dsdAwF5tNMxw/MXrFDKlZ+iCgYGg3MS
 pUA2/m1muJoBrEi7ZwR20Q==;
Date: Wed, 08 Jan 2025 14:38:33 +0200
Message-Id: <86a5c14h12.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
 (message from Johan Ekenberg on Tue, 7 Jan 2025 21:08:09 +0100)
References: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Johan Ekenberg <johan.ekenberg@HIDDEN>
> Date: Tue, 7 Jan 2025 21:08:09 +0100
> 
> - Start emacs: 'emacs -Q'
> - Paste this function into the scratch buffer and evaluate it:
>   (defun test-org-insertion-fontification ()
>     (interactive)
>     (let* ((chunks
>             '("#+begin_src elisp\n"
>               "(+ 1 2)"
>               "\n#+end_src\n")))
>       (insert "* NOTE: You need to run this with org-mode enabled and point at end of buffer\n\n")
>       (insert "** This code block is fontified correctly\n")
>       (insert (car chunks))
>       (dolist (chunk (cdr chunks))
>         (insert chunk))
> 
>       (insert "\n** But not this code block\n")
>       (insert (car chunks))
>       (dolist (chunk (cdr chunks))
>         (sit-for (/ 10 1000.0)) ; simulate chunks received over network and streamed into buffer
>         ;; The following were also tested one by one instead of the sit-for line above:
>         ;; (redisplay) ; this triggers the bug
>         ;; (force-mode-line-update) ; this does not trigger the bug
>         ;; (read-event nil nil 0) ; this triggers the bug
>         (insert chunk))
>       ))
> - Open an existing or new file/buffer with org-mode enabled (C-x C-f foo.org)
> - Place point at end of buffer
> - M-x test-org-insertion-fontification
> - Optional: replace the line (sit-for...) with any of the lines below it.
> 
> - Additional information: The problem was discovered when receiving
> streamed data responses via the package gptel which is an Emacs LLM
> Client. Here is the reported issue:
> https://github.com/karthink/gptel/issues/550
> 
> - Also replicated on Emacs 29.3

Isn't this an Org problem?  If so, could you please report this to the
Org bug mailing list?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75431: 31.0.50; Fontification malfunction
Resent-From: Johan Ekenberg <johan.ekenberg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 08 Jan 2025 17:58:02 +0000
Resent-Message-ID: <handler.75431.B75431.17363590333075 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75431
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 75431 <at> debbugs.gnu.org
Received: via spool by 75431-submit <at> debbugs.gnu.org id=B75431.17363590333075
          (code B ref 75431); Wed, 08 Jan 2025 17:58:02 +0000
Received: (at 75431) by debbugs.gnu.org; 8 Jan 2025 17:57:13 +0000
Received: from localhost ([127.0.0.1]:48905 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVaIq-0000nX-PD
	for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 12:57:13 -0500
Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:43403)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <johan.ekenberg@HIDDEN>)
 id 1tVaIn-0000nH-Uz
 for 75431 <at> debbugs.gnu.org; Wed, 08 Jan 2025 12:57:11 -0500
Received: by mail-pj1-x102d.google.com with SMTP id
 98e67ed59e1d1-2f13acbe29bso1843600a91.1
 for <75431 <at> debbugs.gnu.org>; Wed, 08 Jan 2025 09:57:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1736359024; x=1736963824; 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=cCTQ9EjIt4zvhwf7XVDQ1ZRL8E4qhzX0FRuYhWSD4+Y=;
 b=Chp79vXyzsAYaNN4oJe0Qf/6M6gQiMgHCyDF5A3JBztXerZzhNX1t/oZL7qn3Oeqas
 gU1pCWju9RRhxhUhlbIzVwKLTT9e1zfJj6z8sBVX2XSD+5A3UQJPuN6aQOzaaLhmMtMQ
 HjFpUS4tt1sHeP5N7ej67vQ/SQLwAHPqnsr2LjAVRyoo89ETLFCUUUFeI/EbfwioWvai
 4RTO1P15ilDKPFOh7TMNqECLGqLDr2Xg15QTp4SM4k5kn0srALwAqFcUM+EK1DjhFrTL
 Ar8pvaW0Tzn9SFDyg7wi2miX7NVHSkmT2IOTlEEyACoeG54JnJcZZeQtyeHWjxKKGg2D
 GzfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736359024; x=1736963824;
 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=cCTQ9EjIt4zvhwf7XVDQ1ZRL8E4qhzX0FRuYhWSD4+Y=;
 b=mtvsRnrK4zlmiE7ZmgtGa75Ns2ZUIrWK9SYs8jDcUlhqX2ApwgBx1yUYGxm9NGRERt
 o8Qp7U+eJsUKrkGLg3SUxCIhS1L1e9bdPKNY3x9CHwH+51RwJ2LVNr9UNMoM9AZ8ZGtm
 0vdd4bLyhRrklN0Fze9NTC2oofJVGRzHOZt/ssqDiIp/U8SkGd9OeXE0yOA5VT2BXXlM
 NL0zxe/3+aXaSbc9t17JxYqeU7smaoOSyLHTu7HVRnBCvVwg8DfLEy3OhIpo2rIZg0hq
 69ZfCp0TIOkiAraKVnymi7Q05vPhUI7FFJzkqWUFVorHGhpD8WgGHfq8/Sh0NgLaThQs
 n6gg==
X-Gm-Message-State: AOJu0Yyc7EPHZW6fT1ydoXMY7khzAl3PjfzTuTPS6a2mwGQTezYPY72x
 t5RBRxKp4iLhgLU/qyXaq3Dko91p/N1mGAGCs+d+o1z2bf/zcfLzhl95tgnFYyExvI11VT+xoB8
 RDsVOmLxx5HQQ3YV0LnvcnmqNxw==
X-Gm-Gg: ASbGnctqARt+2c+oL4oFx21iFJ3BBqR4H3AenEowXOUcqNGVDGBfPzhsQbW0fEtkBjF
 tsC1gKqii1e+1FUvG9YJhAlEfC/FlCFsBuA==
X-Google-Smtp-Source: AGHT+IHC2CquOdqhikrV/df7IimW7AnH229jXwSe9Rj88vn/+mHZkT4zz8jhTMWhwcSCrqfIAGWD4rYWnI9N1j059UM=
X-Received: by 2002:a17:90b:1d09:b0:2ee:e2f6:8abc with SMTP id
 98e67ed59e1d1-2f55444ad74mr276666a91.10.1736359022214; Wed, 08 Jan 2025
 09:57:02 -0800 (PST)
MIME-Version: 1.0
References: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
 <86a5c14h12.fsf@HIDDEN>
In-Reply-To: <86a5c14h12.fsf@HIDDEN>
From: Johan Ekenberg <johan.ekenberg@HIDDEN>
Date: Wed, 8 Jan 2025 18:56:51 +0100
X-Gm-Features: AbW1kvbGANt_efODcPcRLov_jDCXadryDBRgLqmw5JPoenBdQZEeyhxoc9FA6j4
Message-ID: <CAD+w+QkTHe=QtGdjz=Gxpwg6SYqh60cBeC3=LD6MshXg_fjRFw@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000b8c34b062b3596ac"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000b8c34b062b3596ac
Content-Type: text/plain; charset="UTF-8"

Thank you for answering. If you believe this is an Org problem rather than
Emacs, I shall report it as an Org bug.

Best regards
/Johan Ekenberg

Den ons 8 jan. 2025 kl 13:38 skrev Eli Zaretskii <eliz@HIDDEN>:

> > From: Johan Ekenberg <johan.ekenberg@HIDDEN>
> > Date: Tue, 7 Jan 2025 21:08:09 +0100
> >
> > - Start emacs: 'emacs -Q'
> > - Paste this function into the scratch buffer and evaluate it:
> >   (defun test-org-insertion-fontification ()
> >     (interactive)
> >     (let* ((chunks
> >             '("#+begin_src elisp\n"
> >               "(+ 1 2)"
> >               "\n#+end_src\n")))
> >       (insert "* NOTE: You need to run this with org-mode enabled and
> point at end of buffer\n\n")
> >       (insert "** This code block is fontified correctly\n")
> >       (insert (car chunks))
> >       (dolist (chunk (cdr chunks))
> >         (insert chunk))
> >
> >       (insert "\n** But not this code block\n")
> >       (insert (car chunks))
> >       (dolist (chunk (cdr chunks))
> >         (sit-for (/ 10 1000.0)) ; simulate chunks received over network
> and streamed into buffer
> >         ;; The following were also tested one by one instead of the
> sit-for line above:
> >         ;; (redisplay) ; this triggers the bug
> >         ;; (force-mode-line-update) ; this does not trigger the bug
> >         ;; (read-event nil nil 0) ; this triggers the bug
> >         (insert chunk))
> >       ))
> > - Open an existing or new file/buffer with org-mode enabled (C-x C-f
> foo.org)
> > - Place point at end of buffer
> > - M-x test-org-insertion-fontification
> > - Optional: replace the line (sit-for...) with any of the lines below it.
> >
> > - Additional information: The problem was discovered when receiving
> > streamed data responses via the package gptel which is an Emacs LLM
> > Client. Here is the reported issue:
> > https://github.com/karthink/gptel/issues/550
> >
> > - Also replicated on Emacs 29.3
>
> Isn't this an Org problem?  If so, could you please report this to the
> Org bug mailing list?
>

--000000000000b8c34b062b3596ac
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thank you for answering. If you believe this is an Org pro=
blem rather than Emacs, I shall report it as an Org bug.<div><br></div><div=
>Best regards</div><div>/Johan Ekenberg</div></div><br><div class=3D"gmail_=
quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Den ons =
8 jan. 2025 kl 13:38 skrev Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN=
">eliz@HIDDEN</a>&gt;:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex">&gt; From: Johan Ekenberg &lt;<a href=3D"mailto:johan.ekenberg@gmai=
l.com" target=3D"_blank">johan.ekenberg@HIDDEN</a>&gt;<br>
&gt; Date: Tue, 7 Jan 2025 21:08:09 +0100<br>
&gt; <br>
&gt; - Start emacs: &#39;emacs -Q&#39;<br>
&gt; - Paste this function into the scratch buffer and evaluate it:<br>
&gt;=C2=A0 =C2=A0(defun test-org-insertion-fontification ()<br>
&gt;=C2=A0 =C2=A0 =C2=A0(interactive)<br>
&gt;=C2=A0 =C2=A0 =C2=A0(let* ((chunks<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&#39;(&quot;#+begin_src=
 elisp\n&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&quot;(+ 1 2)&qu=
ot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&quot;\n#+end_sr=
c\n&quot;)))<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0(insert &quot;* NOTE: You need to run this w=
ith org-mode enabled and point at end of buffer\n\n&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0(insert &quot;** This code block is fontifie=
d correctly\n&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0(insert (car chunks))<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0(dolist (chunk (cdr chunks))<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(insert chunk))<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0(insert &quot;\n** But not this code block\n=
&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0(insert (car chunks))<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0(dolist (chunk (cdr chunks))<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(sit-for (/ 10 1000.0)) ; simulate ch=
unks received over network and streamed into buffer<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; The following were also tested one=
 by one instead of the sit-for line above:<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; (redisplay) ; this triggers the bu=
g<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; (force-mode-line-update) ; this do=
es not trigger the bug<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; (read-event nil nil 0) ; this trig=
gers the bug<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(insert chunk))<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0))<br>
&gt; - Open an existing or new file/buffer with org-mode enabled (C-x C-f <=
a href=3D"http://foo.org" rel=3D"noreferrer" target=3D"_blank">foo.org</a>)=
<br>
&gt; - Place point at end of buffer<br>
&gt; - M-x test-org-insertion-fontification<br>
&gt; - Optional: replace the line (sit-for...) with any of the lines below =
it.<br>
&gt; <br>
&gt; - Additional information: The problem was discovered when receiving<br=
>
&gt; streamed data responses via the package gptel which is an Emacs LLM<br=
>
&gt; Client. Here is the reported issue:<br>
&gt; <a href=3D"https://github.com/karthink/gptel/issues/550" rel=3D"norefe=
rrer" target=3D"_blank">https://github.com/karthink/gptel/issues/550</a><br=
>
&gt; <br>
&gt; - Also replicated on Emacs 29.3<br>
<br>
Isn&#39;t this an Org problem?=C2=A0 If so, could you please report this to=
 the<br>
Org bug mailing list?<br>
</blockquote></div>

--000000000000b8c34b062b3596ac--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75431: 31.0.50; Fontification malfunction
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 08 Jan 2025 18:48:02 +0000
Resent-Message-ID: <handler.75431.B75431.173636205112651 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75431
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Johan Ekenberg <johan.ekenberg@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN>
Cc: 75431 <at> debbugs.gnu.org
Received: via spool by 75431-submit <at> debbugs.gnu.org id=B75431.173636205112651
          (code B ref 75431); Wed, 08 Jan 2025 18:48:02 +0000
Received: (at 75431) by debbugs.gnu.org; 8 Jan 2025 18:47:31 +0000
Received: from localhost ([127.0.0.1]:48999 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVb5X-0003Hy-85
	for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 13:47:31 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40956)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tVb5V-0003Hl-3J
 for 75431 <at> debbugs.gnu.org; Wed, 08 Jan 2025 13:47:29 -0500
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 <eliz@HIDDEN>)
 id 1tVb5P-00062n-El; Wed, 08 Jan 2025 13:47:23 -0500
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=OPUmLXNlL89shDa5D2RxEwX+EXDTGx/E9cKBDo49kVQ=; b=UorVJNElQIiK
 D1mzwujsHzkc0DxqrEMEvXZsSnUfjNykmc9srBU8Vryy94jAJrHRah2EJGYTVw1NXtTAmlHYZQQ/Y
 K3dulGwIuN8GLLX9NczLx+JYKJX/1qxHxbb+Kh/Jqm0gulrODQhybbHq1YiooqBbxtvjpDnwEd/k+
 SEkH8XDX/G1wTFB1s0xhLEggrbNiHkZ23x0S142gQeiXjRPD6+uHhkNeFAWXJz6/uZqPA7O2HeLVx
 9mDHPtt5yO5m/A5oO08Ftwbjh0ykwPOIrvhTKD1i7wz3Jt63bh604YtrDs8vH6LHFNOgOBgS0oruF
 KmJ3etOqTa+pvg99uo9/hQ==;
Date: Wed, 08 Jan 2025 20:47:19 +0200
Message-Id: <86ldvl2le0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CAD+w+QkTHe=QtGdjz=Gxpwg6SYqh60cBeC3=LD6MshXg_fjRFw@HIDDEN>
 (message from Johan Ekenberg on Wed, 8 Jan 2025 18:56:51 +0100)
References: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
 <86a5c14h12.fsf@HIDDEN>
 <CAD+w+QkTHe=QtGdjz=Gxpwg6SYqh60cBeC3=LD6MshXg_fjRFw@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Johan Ekenberg <johan.ekenberg@HIDDEN>
> Date: Wed, 8 Jan 2025 18:56:51 +0100
> Cc: 75431 <at> debbugs.gnu.org
> 
> Thank you for answering. If you believe this is an Org problem rather than Emacs, I shall report it as an Org
> bug.

I believe you should, but let's ask the expert.

Ihor, WDYT?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75431: 31.0.50; Fontification malfunction
Resent-From: Johan Ekenberg <johan.ekenberg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 08 Jan 2025 21:13:02 +0000
Resent-Message-ID: <handler.75431.B75431.173637072814182 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75431
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Ihor Radchenko <yantar92@HIDDEN>, 75431 <at> debbugs.gnu.org
Received: via spool by 75431-submit <at> debbugs.gnu.org id=B75431.173637072814182
          (code B ref 75431); Wed, 08 Jan 2025 21:13:02 +0000
Received: (at 75431) by debbugs.gnu.org; 8 Jan 2025 21:12:08 +0000
Received: from localhost ([127.0.0.1]:49227 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVdLU-0003gg-D3
	for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 16:12:08 -0500
Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:55770)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <johan.ekenberg@HIDDEN>)
 id 1tVdLQ-0003g6-Vy
 for 75431 <at> debbugs.gnu.org; Wed, 08 Jan 2025 16:12:07 -0500
Received: by mail-pl1-x62f.google.com with SMTP id
 d9443c01a7336-21644aca3a0so3464595ad.3
 for <75431 <at> debbugs.gnu.org>; Wed, 08 Jan 2025 13:12:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1736370719; x=1736975519; 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=8bbDvG+KaDKXA7yWS9bVDENKr/nEw/tgxMtl9ugMwXA=;
 b=BZQCRXv5+qnHSrx4xKHd3WtKY2LrzMRuxYDXDPfoAZwDetp9tgFUTz19mSOZhbBM+8
 W73z05EeNxcHyaomXA03WbONgG7o4fVoU1Cl3iWrBxKm6i7YD1soxZqTo0teE3mvAGHm
 zd47/M9OhzinN/wjJvWdWunnNroJAizZU/N3roJb9/10T+9rcR3+Di/vqpZRFRLkl5mx
 JSnsM1U3F9TkqI02X7pKHw3bzYmytJLYqGkhJVzPz8dUDAzZRWbRjkAvAih+HzB9nWJq
 0EtkRrWZesjrgV8/ooLhczeBrEetVx1g0cOvqGzbqFc3Mj1RI6CaytF3N7G3W9Lxa6S4
 yxyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736370719; x=1736975519;
 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=8bbDvG+KaDKXA7yWS9bVDENKr/nEw/tgxMtl9ugMwXA=;
 b=XSghkKisFhzfXAwF+JXgBHJx5mcW5Br0fUcuJC3+EWAxdoXb/omOE3wpGW8TYllNrP
 dyaHwqQq5tf1/Dbgiqid8B236cFYaAFXTV8Tzr53gcfK9mFKcTrj+p5sIczgnuVefK3E
 ZKJs5MOyQiBQnQlAXkdFO4LOYpyPR0EingcrJqXZ3VjXieJt+56T0S0+Os5zZFfYPxC4
 ZM3VJgEONwYDeJ36f9qJij0OiuJKvbh22PqefiFP+E+4v2m9ZBkOQK3CErJzT0P9yrLu
 X9Q9Sa8s0zLeF7qm0jAybQ7dVcTSqi5BFrA6R5tMbNjIHLoasjJiCiXpC6WEGzRNjQEb
 Btrg==
X-Forwarded-Encrypted: i=1;
 AJvYcCWOFdb/XSiCWRLnef2oIumKAQr1nSiC+mbns07DnA9loRhz9IrjjosNzsPg+jltd8TGuvCLnA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yy5VC7UxckAg/M/5o2NJXLPl88vx8EG+0ZiCfm3OFY/pniPZhR8
 QIuw3d8RnnZf1BL8skv5iW1Ltk7RhJoK7Yrhu0DQ36LV9GnY24ToUTx+cjAvjRSieUQLfcnewOX
 jsNMipMNVEbbfavOahICYRAweCw==
X-Gm-Gg: ASbGnctEIYs92e3v83rcgSYbYM7trUA++Kkq6kDWvrGPrYfji1Jw7x+zBzl/eE+Cac4
 +aOEaxATk+NMIqGUDhULwfd0+jyeYoN4nPA==
X-Google-Smtp-Source: AGHT+IEl/juHNm/ndbVtjfp/iyKHmwU+pd7OSdYDXEZADZFDAN6seIIapJuuNCQyNnQrkn+WD2HOwEO14/apxJlc6pY=
X-Received: by 2002:a05:6a00:9a3:b0:725:eacf:cfdb with SMTP id
 d2e1a72fcca58-72d22033ef6mr5779578b3a.24.1736370718572; Wed, 08 Jan 2025
 13:11:58 -0800 (PST)
MIME-Version: 1.0
References: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
 <86a5c14h12.fsf@HIDDEN>
 <CAD+w+QkTHe=QtGdjz=Gxpwg6SYqh60cBeC3=LD6MshXg_fjRFw@HIDDEN>
 <86ldvl2le0.fsf@HIDDEN>
In-Reply-To: <86ldvl2le0.fsf@HIDDEN>
From: Johan Ekenberg <johan.ekenberg@HIDDEN>
Date: Wed, 8 Jan 2025 22:11:47 +0100
X-Gm-Features: AbW1kvb1paakceYJ1jhQyxccQupI9gzB2NuT7FM-cR56VfzMh99XSu5kZ_6iFQY
Message-ID: <CAD+w+Q=wxP5epxpRq9Oat05OGfOntPvDDKZatfLMqOFuKV5Bvw@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000e10825062b384f25"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000e10825062b384f25
Content-Type: text/plain; charset="UTF-8"

I have already reported it as an Org bug, thinking that was your request.
Well I hope someone will know where it belongs :)

Thanks again

Den ons 8 jan. 2025 kl 19:47 skrev Eli Zaretskii <eliz@HIDDEN>:

> > From: Johan Ekenberg <johan.ekenberg@HIDDEN>
> > Date: Wed, 8 Jan 2025 18:56:51 +0100
> > Cc: 75431 <at> debbugs.gnu.org
> >
> > Thank you for answering. If you believe this is an Org problem rather
> than Emacs, I shall report it as an Org
> > bug.
>
> I believe you should, but let's ask the expert.
>
> Ihor, WDYT?
>

--000000000000e10825062b384f25
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I have already reported it as an Org bug, thinking that wa=
s your request. Well I hope someone will know where it belongs :)<div><br><=
/div><div>Thanks again</div></div><br><div class=3D"gmail_quote gmail_quote=
_container"><div dir=3D"ltr" class=3D"gmail_attr">Den ons 8 jan. 2025 kl 19=
:47 skrev Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a=
>&gt;:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; From=
: Johan Ekenberg &lt;<a href=3D"mailto:johan.ekenberg@HIDDEN" target=3D"=
_blank">johan.ekenberg@HIDDEN</a>&gt;<br>
&gt; Date: Wed, 8 Jan 2025 18:56:51 +0100<br>
&gt; Cc: <a href=3D"mailto:75431 <at> debbugs.gnu.org" target=3D"_blank">75431@d=
ebbugs.gnu.org</a><br>
&gt; <br>
&gt; Thank you for answering. If you believe this is an Org problem rather =
than Emacs, I shall report it as an Org<br>
&gt; bug.<br>
<br>
I believe you should, but let&#39;s ask the expert.<br>
<br>
Ihor, WDYT?<br>
</blockquote></div>

--000000000000e10825062b384f25--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75431: 31.0.50; Fontification malfunction
Resent-From: Ihor Radchenko <yantar92@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 09 Jan 2025 17:27:02 +0000
Resent-Message-ID: <handler.75431.B75431.173644361114020 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75431
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Johan Ekenberg <johan.ekenberg@HIDDEN>, 75431 <at> debbugs.gnu.org
Received: via spool by 75431-submit <at> debbugs.gnu.org id=B75431.173644361114020
          (code B ref 75431); Thu, 09 Jan 2025 17:27:02 +0000
Received: (at 75431) by debbugs.gnu.org; 9 Jan 2025 17:26:51 +0000
Received: from localhost ([127.0.0.1]:54098 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVwJ0-0003e3-Id
	for submit <at> debbugs.gnu.org; Thu, 09 Jan 2025 12:26:50 -0500
Received: from mout01.posteo.de ([185.67.36.65]:45485)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
 id 1tVwIy-0003do-Im
 for 75431 <at> debbugs.gnu.org; Thu, 09 Jan 2025 12:26:49 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 4623F240027
 for <75431 <at> debbugs.gnu.org>; Thu,  9 Jan 2025 18:26:42 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1736443602; bh=BFTmHEWypU83Jp+ikN0e9AZoMSjSraRLgo0f/8jSBPQ=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=YwUlNf5e0zJ7SbF0s3/cgH7CzBYs4GiVUFKeMa1X3Ue3Ok7DTsNbOYVql8k8qXc0F
 CJ5oAReOK2pgbWf4D1Lb01Bu9ZOFoa8Xj5UumfYwOjxMgmM3tOkstqDmq+IuwUU+IX
 iaFzmuAIH9jdsjhgNlBTMdhvmf0QZQ6aQe7t0jTK49pX9D6RJoIyOAotieC8HzXotH
 UOfV7OL9E24mLmwuEaRBq4VlHqiE3VEjP1qSpr2JSS74VfILFK8pbAINPGU++I0247
 lSxwpbfBPeizdn2in4tilfUbTh0/uQLPbzOqf7WZWMxNyo2ThpWtUbQ+8uTo2SckfH
 dnXwqDUE+Zlwg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4YTWt93rkGz6tx1;
 Thu,  9 Jan 2025 18:26:41 +0100 (CET)
From: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <86ldvl2le0.fsf@HIDDEN>
References: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
 <86a5c14h12.fsf@HIDDEN>
 <CAD+w+QkTHe=QtGdjz=Gxpwg6SYqh60cBeC3=LD6MshXg_fjRFw@HIDDEN>
 <86ldvl2le0.fsf@HIDDEN>
Date: Thu, 09 Jan 2025 17:29:02 +0000
Message-ID: <87cygv6gm9.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> Thank you for answering. If you believe this is an Org problem rather than Emacs, I shall report it as an Org
>> bug.
>
> I believe you should, but let's ask the expert.
>
> Ihor, WDYT?

Yes, Org bug.
Answered in Org mailing list.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Eli Zaretskii <eliz@HIDDEN>
Subject: bug#75431: closed (31.0.50; Fontification malfunction)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.75431.D75431.173644461416856.ackdone <at> debbugs.gnu.org>
References: <86plkv2892.fsf@HIDDEN>
 <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
X-Gnu-PR-Message: closed 75431
X-Gnu-PR-Package: emacs
Date: Thu, 09 Jan 2025 17:44:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1736444641-16899-0"

This is a multi-part message in MIME format...

------------=_1736444641-16899-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Thu, 09 Jan 2025 19:43:21 +0200
with message-id <86plkv2892.fsf@HIDDEN>
and subject line Re: bug#75431: 31.0.50; Fontification malfunction
has caused the debbugs.gnu.org bug report #75431,
regarding 31.0.50; Fontification malfunction
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
75431: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75431
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1736444641-16899-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 8 Jan 2025 03:06:59 +0000
Received: from localhost ([127.0.0.1]:45432 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVMPH-00081b-U9
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 22:06:59 -0500
Received: from lists.gnu.org ([2001:470:142::17]:60820)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <johan.ekenberg@HIDDEN>)
 id 1tVFsV-0003hr-8H
 for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 15:08:43 -0500
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 <johan.ekenberg@HIDDEN>)
 id 1tVFsL-0001WH-Tg
 for bug-gnu-emacs@HIDDEN; Tue, 07 Jan 2025 15:08:31 -0500
Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <johan.ekenberg@HIDDEN>)
 id 1tVFsF-0004u2-Qu
 for bug-gnu-emacs@HIDDEN; Tue, 07 Jan 2025 15:08:29 -0500
Received: by mail-pj1-x102c.google.com with SMTP id
 98e67ed59e1d1-2f43d17b0e3so23808353a91.0
 for <bug-gnu-emacs@HIDDEN>; Tue, 07 Jan 2025 12:08:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1736280501; x=1736885301; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=vNYFxmwm16Xx4knc6GpAGDUBZTG4H9y4sU1GbvihRPk=;
 b=UZlnajtGXZq6p2fg5/R0xWavAzUlpzJgAfD3RghORmp1NJza8Os6U8bl9t5aQcKzh5
 5oYUFcoTUgbbn931/g5nf/GsLMiOloK2tMrTrWztUVEJreuTL8dw83cWiA15wv7kk9U9
 6Fy3ubrmmeQBMZSjFoLraMZtPwC/HBM8GfbHjyDZqBJkoHrvAncdWzcAdTY4Kag+UU9P
 LQyHAw0GPNzbtLznqBNz06edChDFBxpoyPsRmZ52uFiXbB3ORPa8DPF9BA7LHEE3L4Er
 TaktFbSQL/Dv5FB81KWT3pzJ4ui9u3L0A5UvtgO/iViYRSsFA/jPU1Bn/b2iTplHsGHp
 zPpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736280501; x=1736885301;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=vNYFxmwm16Xx4knc6GpAGDUBZTG4H9y4sU1GbvihRPk=;
 b=Hoex38DNu2ulwRgYTiBSPJ2ec5Ysowjnc7pYrWMrW691wTpGtlcmlK7p6h1scHkktT
 hyyzJzqAtnMJqR4dZuklLI2G2rZFKOcMZP1HeYJg4UwUrsj/YAm8O9P8eklZ+M/YPUBJ
 Jiuhbxa0pGlXAFPddGYUCCFR3kiY9IkLSEQ9ieBAxR8nIrjs1y4Ocoe2CQHxpVO9MG0Y
 Ma1g9HuEqFDm+sfKTxtpEcX+Bhlq0QBY33L+CpA18ZF6+1B9DwmDnIMLJk1Oxhan9gM5
 mpj0mcZJf6P5SeAGBxGf1cOKdJRJnGG1cwoi3UXBSVvpb1hsgNDpsJTkBkg7Fv+XBNpV
 LkVQ==
X-Gm-Message-State: AOJu0YxbwppUkXo71hTGkvi+p9q7CIGVtRs9gKS5pclb9FlbTvl0fmr0
 73ogDU6HcU28VgWZGg8cCmKjl1KS2dDL43+MKWDwvTMFqD2KoXNeQUer1R1+pwUjPFGAo0JXFwE
 bO/riTXt8L2HdqjWjE6TJvCdXAh2MFqyheA==
X-Gm-Gg: ASbGnctZ6WXwtTv4vhinOtuiHsrIgHX62GQMd6YYowgdz1KyiNhb0sweVD6taAxL/ja
 TKvcF7ckPkVgonfzsc2pIL2fG2Sl9MEKoRg==
X-Google-Smtp-Source: AGHT+IGrjV7Rn6WJXuLvi0aytzKSvu/vE06W+DGkC3ifYa2XXbW217a8kgMZ1EGZBln1lh1CWoE3cEEAZkbShDFnR3A=
X-Received: by 2002:a17:90b:37ce:b0:2f4:f7f8:f70c with SMTP id
 98e67ed59e1d1-2f5490c20dcmr185770a91.28.1736280500501; Tue, 07 Jan 2025
 12:08:20 -0800 (PST)
MIME-Version: 1.0
From: Johan Ekenberg <johan.ekenberg@HIDDEN>
Date: Tue, 7 Jan 2025 21:08:09 +0100
X-Gm-Features: AbW1kvZa5-ZWwHJtd6txY5vNViDdSIGKzQwPOViiknyVpopwMV-OeySW3sj2Ajg
Message-ID: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
Subject: 31.0.50; Fontification malfunction
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000768aae062b234ea0"
Received-SPF: pass client-ip=2607:f8b0:4864:20::102c;
 envelope-from=johan.ekenberg@HIDDEN; helo=mail-pj1-x102c.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-Mailman-Approved-At: Tue, 07 Jan 2025 22:06:54 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--000000000000768aae062b234ea0
Content-Type: text/plain; charset="UTF-8"

--text follows this line--

- Start emacs: 'emacs -Q'
- Paste this function into the scratch buffer and evaluate it:
  (defun test-org-insertion-fontification ()
    (interactive)
    (let* ((chunks
            '("#+begin_src elisp\n"
              "(+ 1 2)"
              "\n#+end_src\n")))
      (insert "* NOTE: You need to run this with org-mode enabled and point
at end of buffer\n\n")
      (insert "** This code block is fontified correctly\n")
      (insert (car chunks))
      (dolist (chunk (cdr chunks))
        (insert chunk))

      (insert "\n** But not this code block\n")
      (insert (car chunks))
      (dolist (chunk (cdr chunks))
        (sit-for (/ 10 1000.0)) ; simulate chunks received over network and
streamed into buffer
        ;; The following were also tested one by one instead of the sit-for
line above:
        ;; (redisplay) ; this triggers the bug
        ;; (force-mode-line-update) ; this does not trigger the bug
        ;; (read-event nil nil 0) ; this triggers the bug
        (insert chunk))
      ))
- Open an existing or new file/buffer with org-mode enabled (C-x C-f foo.org
)
- Place point at end of buffer
- M-x test-org-insertion-fontification
- Optional: replace the line (sit-for...) with any of the lines below it.

- Additional information: The problem was discovered when receiving
streamed data responses via the package gptel which is an Emacs LLM
Client. Here is the reported issue:
https://github.com/karthink/gptel/issues/550

- Also replicated on Emacs 29.3


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.33, cairo version 1.16.0) of 2025-01-07 built on piano
Repository revision: 4bf0f6655142b9e216325d051943b7b7ca4d2cd7
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Linux Mint 21.3

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: sv_SE.UTF-8
  value of $LC_NUMERIC: sv_SE.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: C.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  tooltip-mode: t
  global-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 face-remap help-macro oc-basic cl-extra
help-mode org-element org-persist org-id org-refile org-element-ast
inline avl-tree generator ol-eww eww vtable mule-util url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015
mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku
url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml
gnus-cloud nnimap nnmail browse-url xdg url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core
cl-macs json map url-vars mail-source utf7 nnoo parse-time gnus-spec
gnus-int gnus-range message sendmail mailcap yank-media puny rfc822 mml
mml-sec password-cache epa derived epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util
text-property-search mail-utils range mm-util mail-prsvr wid-edit
ol-docview doc-view byte-opt gv bytecomp byte-compile filenotify
jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601
ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src sh-script smie treesit executable
ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring
org-list org-footnote org-faces org-entities time-date subr-x noutline
outline icons org-version ob-emacs-lisp ob-core ob-eval org-cycle
org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs
thingatpt find-func cal-menu calendar cal-loaddefs org-compat org-macs
format-spec 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 gtk
x-toolkit xinput2 x multi-tty move-toolbar make-network-process
tty-child-frames emacs)

Memory information:
((conses 16 203329 36256) (symbols 48 21221 0) (strings 32 66951 3884)
 (string-bytes 1 1766656) (vectors 16 37794)
 (vector-slots 8 363252 21163) (floats 8 281 90) (intervals 56 804 0)
 (buffers 992 14))

--000000000000768aae062b234ea0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><font face=3D"monospace">--text follows this line--<br><br=
>- Start emacs: &#39;emacs -Q&#39;<br>- Paste this function into the scratc=
h buffer and evaluate it:<br>=C2=A0 (defun test-org-insertion-fontification=
 ()<br>=C2=A0 =C2=A0 (interactive)<br>=C2=A0 =C2=A0 (let* ((chunks<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &#39;(&quot;#+begin_src elisp\n&quot=
;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;(+ 1 2)&quot;<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;\n#+end_src\n&quot=
;)))<br>=C2=A0 =C2=A0 =C2=A0 (insert &quot;* NOTE: You need to run this wit=
h org-mode enabled and point at end of buffer\n\n&quot;)<br>=C2=A0 =C2=A0 =
=C2=A0 (insert &quot;** This code block is fontified correctly\n&quot;)<br>=
=C2=A0 =C2=A0 =C2=A0 (insert (car chunks))<br>=C2=A0 =C2=A0 =C2=A0 (dolist =
(chunk (cdr chunks))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (insert chunk))<br><br>=
=C2=A0 =C2=A0 =C2=A0 (insert &quot;\n** But not this code block\n&quot;)<br=
>=C2=A0 =C2=A0 =C2=A0 (insert (car chunks))<br>=C2=A0 =C2=A0 =C2=A0 (dolist=
 (chunk (cdr chunks))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (sit-for (/ 10 1000.0)=
) ; simulate chunks received over network and streamed into buffer<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 ;; The following were also tested one by one inste=
ad of the sit-for line above:<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; (redisplay)=
 ; this triggers the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; (force-mode-line=
-update) ; this does not trigger the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; =
(read-event nil nil 0) ; this triggers the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 (insert chunk))<br>=C2=A0 =C2=A0 =C2=A0 ))<br>- Open an existing or new=
 file/buffer with org-mode enabled (C-x C-f <a href=3D"http://foo.org">foo.=
org</a>)<br>- Place point at end of buffer<br>- M-x test-org-insertion-font=
ification<br>- Optional: replace the line (sit-for...) with any of the line=
s below it.<br><br>- Additional information: The problem was discovered whe=
n receiving<br>streamed data responses via the package gptel which is an Em=
acs LLM<br>Client. Here is the reported issue:<br><a href=3D"https://github=
.com/karthink/gptel/issues/550">https://github.com/karthink/gptel/issues/55=
0</a></font><div><font face=3D"monospace"><br></font></div><div><font face=
=3D"monospace">- Also replicated on Emacs 29.3<br><br><br>In GNU Emacs 31.0=
.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version<br>=C2=A03.24.33, cairo ver=
sion 1.16.0) of 2025-01-07 built on piano<br>Repository revision: 4bf0f6655=
142b9e216325d051943b7b7ca4d2cd7<br>Repository branch: master<br>Windowing s=
ystem distributor &#39;The X.Org Foundation&#39;, version 11.0.12101004<br>=
System Description: Linux Mint 21.3<br><br>Configured features:<br>ACL CAIR=
O DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG<br>LCMS2 LI=
BOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY<br>INOTIFY PDUMP=
ER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF<br>TOOLKIT_SCROLL_BARS TREE_=
SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB<br><br>Important settings:<b=
r>=C2=A0 value of $LC_MONETARY: sv_SE.UTF-8<br>=C2=A0 value of $LC_NUMERIC:=
 sv_SE.UTF-8<br>=C2=A0 value of $LC_TIME: en_GB.UTF-8<br>=C2=A0 value of $L=
ANG: C.UTF-8<br>=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mode: =
Org<br><br>Minor modes in effect:<br>=C2=A0 tooltip-mode: t<br>=C2=A0 globa=
l-eldoc-mode: t<br>=C2=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode=
: t<br>=C2=A0 mouse-wheel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu=
-bar-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-=
mode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=
=A0 minibuffer-regexp-mode: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 inden=
t-tabs-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-composition-=
mode: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mode: =
t<br><br>Load-path shadows:<br>None found.<br><br>Features:<br>(shadow sort=
 mail-extr emacsbug face-remap help-macro oc-basic cl-extra<br>help-mode or=
g-element org-persist org-id org-refile org-element-ast<br>inline avl-tree =
generator ol-eww eww vtable mule-util url-queue mm-url<br>ol-rmail ol-mhe o=
l-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015<br>mm-view mml-smime =
smime gnutls dig gnus-sum shr pixel-fill kinsoku<br>url-file svg dom gnus-g=
roup gnus-undo gnus-start gnus-dbus dbus xml<br>gnus-cloud nnimap nnmail br=
owse-url xdg url url-proxy url-privacy<br>url-expand url-methods url-histor=
y url-cookie generate-lisp-file<br>url-domsuf url-util url-parse auth-sourc=
e cl-seq eieio eieio-core<br>cl-macs json map url-vars mail-source utf7 nno=
o parse-time gnus-spec<br>gnus-int gnus-range message sendmail mailcap yank=
-media puny rfc822 mml<br>mml-sec password-cache epa derived epg rfc6068 ep=
g-config mm-decode<br>mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc204=
5 ietf-drums<br>mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus=
-util<br>text-property-search mail-utils range mm-util mail-prsvr wid-edit<=
br>ol-docview doc-view byte-opt gv bytecomp byte-compile filenotify<br>jka-=
compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601<br>ol-b=
bdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob<br>ob-table o=
b-exp org-macro org-src sh-script smie treesit executable<br>ob-comint org-=
pcomplete pcomplete comint ansi-osc ansi-color ring<br>org-list org-footnot=
e org-faces org-entities time-date subr-x noutline<br>outline icons org-ver=
sion ob-emacs-lisp ob-core ob-eval org-cycle<br>org-table ol rx org-fold or=
g-fold-core org-keys oc org-loaddefs<br>thingatpt find-func cal-menu calend=
ar cal-loaddefs org-compat org-macs<br>format-spec cl-loaddefs cl-lib rmc i=
so-transl tooltip cconv eldoc paren<br>electric uniquify ediff-hook vc-hook=
s lisp-float-type elisp-mode mwheel<br>term/x-win x-win term/common-win x-d=
nd touch-screen tool-bar dnd fontset<br>image regexp-opt fringe tabulated-l=
ist replace newcomment text-mode<br>lisp-mode prog-mode register page tab-b=
ar menu-bar rfn-eshadow isearch<br>easymenu timer select scroll-bar mouse j=
it-lock font-lock syntax<br>font-core term/tty-colors frame minibuffer nadv=
ice seq simple cl-generic<br>indonesian philippine cham georgian utf-8-lang=
 misc-lang vietnamese<br>tibetan thai tai-viet lao korean japanese eucjp-ms=
 cp51932 hebrew greek<br>romanian slovak czech european ethiopic indian cyr=
illic chinese<br>composite emoji-zwj charscript charprop case-table epa-hoo=
k<br>jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddef=
s<br>theme-loaddefs faces cus-face macroexp files window text-properties<br=
>overlay sha1 md5 base64 format env code-pages mule custom widget keymap<br=
>hashtable-print-readable backquote threads dbusbind inotify lcms2<br>dynam=
ic-setting system-font-setting font-render-setting cairo gtk<br>x-toolkit x=
input2 x multi-tty move-toolbar make-network-process<br>tty-child-frames em=
acs)<br><br>Memory information:<br>((conses 16 203329 36256) (symbols 48 21=
221 0) (strings 32 66951 3884)<br>=C2=A0(string-bytes 1 1766656) (vectors 1=
6 37794)<br>=C2=A0(vector-slots 8 363252 21163) (floats 8 281 90) (interval=
s 56 804 0)<br>=C2=A0(buffers 992 14))</font><br></div></div>

--000000000000768aae062b234ea0--



------------=_1736444641-16899-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 75431-done) by debbugs.gnu.org; 9 Jan 2025 17:43:34 +0000
Received: from localhost ([127.0.0.1]:54134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVwZC-0004No-8d
	for submit <at> debbugs.gnu.org; Thu, 09 Jan 2025 12:43:34 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40512)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tVwZ9-0004NY-OF
 for 75431-done <at> debbugs.gnu.org; Thu, 09 Jan 2025 12:43:33 -0500
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 <eliz@HIDDEN>)
 id 1tVwZ3-0004nY-I6; Thu, 09 Jan 2025 12:43:25 -0500
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=9+XFz6KL5SND++IxJt+CQemovwbRMj7mVv1+fVVkW9E=; b=b7v8BIavQDQY
 uiU64DNYa3m9GHomcdrnn7D64KNAQK8SsXxc3HBpOhdQOXlEawurlFcRGR2gFNSS9xWMVUXMrpwjW
 orBlBKVHAa6lbXfGMpKFUiG5szkci15zDTP4DTMYnepOgUKiOC1xOBzxRDamSQ3YKnDMehX2rvxME
 X9+4QBddvex6L/mWtMIfj27sMOh2nsWcUWnJw4BlX43wff/zjXVSm3Uyrs1wxMyPxwNb0gJKHoro2
 R5mfU0CyYdo1hJHaLYd1brmG2YnIbHp3xdjlzaZxMQxBW/H28KzLO+fToS4NtqBBQW9Vx5skpA2Sw
 D0A0j0D0QnFkCuvvHZ6Osg==;
Date: Thu, 09 Jan 2025 19:43:21 +0200
Message-Id: <86plkv2892.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <87cygv6gm9.fsf@localhost> (message from Ihor Radchenko on Thu,
 09 Jan 2025 17:29:02 +0000)
Subject: Re: bug#75431: 31.0.50; Fontification malfunction
References: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
 <86a5c14h12.fsf@HIDDEN>
 <CAD+w+QkTHe=QtGdjz=Gxpwg6SYqh60cBeC3=LD6MshXg_fjRFw@HIDDEN>
 <86ldvl2le0.fsf@HIDDEN> <87cygv6gm9.fsf@localhost>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75431-done
Cc: johan.ekenberg@HIDDEN, 75431-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ihor Radchenko <yantar92@HIDDEN>
> Cc: Johan Ekenberg <johan.ekenberg@HIDDEN>, 75431 <at> debbugs.gnu.org
> Date: Thu, 09 Jan 2025 17:29:02 +0000
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> Thank you for answering. If you believe this is an Org problem rather than Emacs, I shall report it as an Org
> >> bug.
> >
> > I believe you should, but let's ask the expert.
> >
> > Ihor, WDYT?
> 
> Yes, Org bug.
> Answered in Org mailing list.

Thanks, so I'm closing this one.


------------=_1736444641-16899-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Johan Ekenberg <johan.ekenberg@HIDDEN>
Subject: bug#75431: closed (Re: bug#75431: 31.0.50; Fontification malfunction)
Message-ID: <handler.75431.D75431.173644461416856.notifdone <at> debbugs.gnu.org>
References: <86plkv2892.fsf@HIDDEN>
 <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
X-Gnu-PR-Message: they-closed 75431
X-Gnu-PR-Package: emacs
Reply-To: 75431 <at> debbugs.gnu.org
Date: Thu, 09 Jan 2025 17:44:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1736444642-16899-1"

This is a multi-part message in MIME format...

------------=_1736444642-16899-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#75431: 31.0.50; Fontification malfunction

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 75431 <at> debbugs.gnu.org.

--=20
75431: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75431
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1736444642-16899-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 75431-done) by debbugs.gnu.org; 9 Jan 2025 17:43:34 +0000
Received: from localhost ([127.0.0.1]:54134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVwZC-0004No-8d
	for submit <at> debbugs.gnu.org; Thu, 09 Jan 2025 12:43:34 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40512)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tVwZ9-0004NY-OF
 for 75431-done <at> debbugs.gnu.org; Thu, 09 Jan 2025 12:43:33 -0500
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 <eliz@HIDDEN>)
 id 1tVwZ3-0004nY-I6; Thu, 09 Jan 2025 12:43:25 -0500
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=9+XFz6KL5SND++IxJt+CQemovwbRMj7mVv1+fVVkW9E=; b=b7v8BIavQDQY
 uiU64DNYa3m9GHomcdrnn7D64KNAQK8SsXxc3HBpOhdQOXlEawurlFcRGR2gFNSS9xWMVUXMrpwjW
 orBlBKVHAa6lbXfGMpKFUiG5szkci15zDTP4DTMYnepOgUKiOC1xOBzxRDamSQ3YKnDMehX2rvxME
 X9+4QBddvex6L/mWtMIfj27sMOh2nsWcUWnJw4BlX43wff/zjXVSm3Uyrs1wxMyPxwNb0gJKHoro2
 R5mfU0CyYdo1hJHaLYd1brmG2YnIbHp3xdjlzaZxMQxBW/H28KzLO+fToS4NtqBBQW9Vx5skpA2Sw
 D0A0j0D0QnFkCuvvHZ6Osg==;
Date: Thu, 09 Jan 2025 19:43:21 +0200
Message-Id: <86plkv2892.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <87cygv6gm9.fsf@localhost> (message from Ihor Radchenko on Thu,
 09 Jan 2025 17:29:02 +0000)
Subject: Re: bug#75431: 31.0.50; Fontification malfunction
References: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
 <86a5c14h12.fsf@HIDDEN>
 <CAD+w+QkTHe=QtGdjz=Gxpwg6SYqh60cBeC3=LD6MshXg_fjRFw@HIDDEN>
 <86ldvl2le0.fsf@HIDDEN> <87cygv6gm9.fsf@localhost>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75431-done
Cc: johan.ekenberg@HIDDEN, 75431-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ihor Radchenko <yantar92@HIDDEN>
> Cc: Johan Ekenberg <johan.ekenberg@HIDDEN>, 75431 <at> debbugs.gnu.org
> Date: Thu, 09 Jan 2025 17:29:02 +0000
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> Thank you for answering. If you believe this is an Org problem rather than Emacs, I shall report it as an Org
> >> bug.
> >
> > I believe you should, but let's ask the expert.
> >
> > Ihor, WDYT?
> 
> Yes, Org bug.
> Answered in Org mailing list.

Thanks, so I'm closing this one.


------------=_1736444642-16899-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 8 Jan 2025 03:06:59 +0000
Received: from localhost ([127.0.0.1]:45432 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVMPH-00081b-U9
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 22:06:59 -0500
Received: from lists.gnu.org ([2001:470:142::17]:60820)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <johan.ekenberg@HIDDEN>)
 id 1tVFsV-0003hr-8H
 for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 15:08:43 -0500
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 <johan.ekenberg@HIDDEN>)
 id 1tVFsL-0001WH-Tg
 for bug-gnu-emacs@HIDDEN; Tue, 07 Jan 2025 15:08:31 -0500
Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <johan.ekenberg@HIDDEN>)
 id 1tVFsF-0004u2-Qu
 for bug-gnu-emacs@HIDDEN; Tue, 07 Jan 2025 15:08:29 -0500
Received: by mail-pj1-x102c.google.com with SMTP id
 98e67ed59e1d1-2f43d17b0e3so23808353a91.0
 for <bug-gnu-emacs@HIDDEN>; Tue, 07 Jan 2025 12:08:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1736280501; x=1736885301; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=vNYFxmwm16Xx4knc6GpAGDUBZTG4H9y4sU1GbvihRPk=;
 b=UZlnajtGXZq6p2fg5/R0xWavAzUlpzJgAfD3RghORmp1NJza8Os6U8bl9t5aQcKzh5
 5oYUFcoTUgbbn931/g5nf/GsLMiOloK2tMrTrWztUVEJreuTL8dw83cWiA15wv7kk9U9
 6Fy3ubrmmeQBMZSjFoLraMZtPwC/HBM8GfbHjyDZqBJkoHrvAncdWzcAdTY4Kag+UU9P
 LQyHAw0GPNzbtLznqBNz06edChDFBxpoyPsRmZ52uFiXbB3ORPa8DPF9BA7LHEE3L4Er
 TaktFbSQL/Dv5FB81KWT3pzJ4ui9u3L0A5UvtgO/iViYRSsFA/jPU1Bn/b2iTplHsGHp
 zPpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736280501; x=1736885301;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=vNYFxmwm16Xx4knc6GpAGDUBZTG4H9y4sU1GbvihRPk=;
 b=Hoex38DNu2ulwRgYTiBSPJ2ec5Ysowjnc7pYrWMrW691wTpGtlcmlK7p6h1scHkktT
 hyyzJzqAtnMJqR4dZuklLI2G2rZFKOcMZP1HeYJg4UwUrsj/YAm8O9P8eklZ+M/YPUBJ
 Jiuhbxa0pGlXAFPddGYUCCFR3kiY9IkLSEQ9ieBAxR8nIrjs1y4Ocoe2CQHxpVO9MG0Y
 Ma1g9HuEqFDm+sfKTxtpEcX+Bhlq0QBY33L+CpA18ZF6+1B9DwmDnIMLJk1Oxhan9gM5
 mpj0mcZJf6P5SeAGBxGf1cOKdJRJnGG1cwoi3UXBSVvpb1hsgNDpsJTkBkg7Fv+XBNpV
 LkVQ==
X-Gm-Message-State: AOJu0YxbwppUkXo71hTGkvi+p9q7CIGVtRs9gKS5pclb9FlbTvl0fmr0
 73ogDU6HcU28VgWZGg8cCmKjl1KS2dDL43+MKWDwvTMFqD2KoXNeQUer1R1+pwUjPFGAo0JXFwE
 bO/riTXt8L2HdqjWjE6TJvCdXAh2MFqyheA==
X-Gm-Gg: ASbGnctZ6WXwtTv4vhinOtuiHsrIgHX62GQMd6YYowgdz1KyiNhb0sweVD6taAxL/ja
 TKvcF7ckPkVgonfzsc2pIL2fG2Sl9MEKoRg==
X-Google-Smtp-Source: AGHT+IGrjV7Rn6WJXuLvi0aytzKSvu/vE06W+DGkC3ifYa2XXbW217a8kgMZ1EGZBln1lh1CWoE3cEEAZkbShDFnR3A=
X-Received: by 2002:a17:90b:37ce:b0:2f4:f7f8:f70c with SMTP id
 98e67ed59e1d1-2f5490c20dcmr185770a91.28.1736280500501; Tue, 07 Jan 2025
 12:08:20 -0800 (PST)
MIME-Version: 1.0
From: Johan Ekenberg <johan.ekenberg@HIDDEN>
Date: Tue, 7 Jan 2025 21:08:09 +0100
X-Gm-Features: AbW1kvZa5-ZWwHJtd6txY5vNViDdSIGKzQwPOViiknyVpopwMV-OeySW3sj2Ajg
Message-ID: <CAD+w+QmTLzLLDh6MYyTBvU_2tGRCz5dFaZ4SuH43Udai9nMqGQ@HIDDEN>
Subject: 31.0.50; Fontification malfunction
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000768aae062b234ea0"
Received-SPF: pass client-ip=2607:f8b0:4864:20::102c;
 envelope-from=johan.ekenberg@HIDDEN; helo=mail-pj1-x102c.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-Mailman-Approved-At: Tue, 07 Jan 2025 22:06:54 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--000000000000768aae062b234ea0
Content-Type: text/plain; charset="UTF-8"

--text follows this line--

- Start emacs: 'emacs -Q'
- Paste this function into the scratch buffer and evaluate it:
  (defun test-org-insertion-fontification ()
    (interactive)
    (let* ((chunks
            '("#+begin_src elisp\n"
              "(+ 1 2)"
              "\n#+end_src\n")))
      (insert "* NOTE: You need to run this with org-mode enabled and point
at end of buffer\n\n")
      (insert "** This code block is fontified correctly\n")
      (insert (car chunks))
      (dolist (chunk (cdr chunks))
        (insert chunk))

      (insert "\n** But not this code block\n")
      (insert (car chunks))
      (dolist (chunk (cdr chunks))
        (sit-for (/ 10 1000.0)) ; simulate chunks received over network and
streamed into buffer
        ;; The following were also tested one by one instead of the sit-for
line above:
        ;; (redisplay) ; this triggers the bug
        ;; (force-mode-line-update) ; this does not trigger the bug
        ;; (read-event nil nil 0) ; this triggers the bug
        (insert chunk))
      ))
- Open an existing or new file/buffer with org-mode enabled (C-x C-f foo.org
)
- Place point at end of buffer
- M-x test-org-insertion-fontification
- Optional: replace the line (sit-for...) with any of the lines below it.

- Additional information: The problem was discovered when receiving
streamed data responses via the package gptel which is an Emacs LLM
Client. Here is the reported issue:
https://github.com/karthink/gptel/issues/550

- Also replicated on Emacs 29.3


In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.33, cairo version 1.16.0) of 2025-01-07 built on piano
Repository revision: 4bf0f6655142b9e216325d051943b7b7ca4d2cd7
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Linux Mint 21.3

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: sv_SE.UTF-8
  value of $LC_NUMERIC: sv_SE.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: C.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  tooltip-mode: t
  global-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 face-remap help-macro oc-basic cl-extra
help-mode org-element org-persist org-id org-refile org-element-ast
inline avl-tree generator ol-eww eww vtable mule-util url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015
mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku
url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml
gnus-cloud nnimap nnmail browse-url xdg url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core
cl-macs json map url-vars mail-source utf7 nnoo parse-time gnus-spec
gnus-int gnus-range message sendmail mailcap yank-media puny rfc822 mml
mml-sec password-cache epa derived epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util
text-property-search mail-utils range mm-util mail-prsvr wid-edit
ol-docview doc-view byte-opt gv bytecomp byte-compile filenotify
jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601
ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src sh-script smie treesit executable
ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring
org-list org-footnote org-faces org-entities time-date subr-x noutline
outline icons org-version ob-emacs-lisp ob-core ob-eval org-cycle
org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs
thingatpt find-func cal-menu calendar cal-loaddefs org-compat org-macs
format-spec 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 gtk
x-toolkit xinput2 x multi-tty move-toolbar make-network-process
tty-child-frames emacs)

Memory information:
((conses 16 203329 36256) (symbols 48 21221 0) (strings 32 66951 3884)
 (string-bytes 1 1766656) (vectors 16 37794)
 (vector-slots 8 363252 21163) (floats 8 281 90) (intervals 56 804 0)
 (buffers 992 14))

--000000000000768aae062b234ea0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><font face=3D"monospace">--text follows this line--<br><br=
>- Start emacs: &#39;emacs -Q&#39;<br>- Paste this function into the scratc=
h buffer and evaluate it:<br>=C2=A0 (defun test-org-insertion-fontification=
 ()<br>=C2=A0 =C2=A0 (interactive)<br>=C2=A0 =C2=A0 (let* ((chunks<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &#39;(&quot;#+begin_src elisp\n&quot=
;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;(+ 1 2)&quot;<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;\n#+end_src\n&quot=
;)))<br>=C2=A0 =C2=A0 =C2=A0 (insert &quot;* NOTE: You need to run this wit=
h org-mode enabled and point at end of buffer\n\n&quot;)<br>=C2=A0 =C2=A0 =
=C2=A0 (insert &quot;** This code block is fontified correctly\n&quot;)<br>=
=C2=A0 =C2=A0 =C2=A0 (insert (car chunks))<br>=C2=A0 =C2=A0 =C2=A0 (dolist =
(chunk (cdr chunks))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (insert chunk))<br><br>=
=C2=A0 =C2=A0 =C2=A0 (insert &quot;\n** But not this code block\n&quot;)<br=
>=C2=A0 =C2=A0 =C2=A0 (insert (car chunks))<br>=C2=A0 =C2=A0 =C2=A0 (dolist=
 (chunk (cdr chunks))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (sit-for (/ 10 1000.0)=
) ; simulate chunks received over network and streamed into buffer<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 ;; The following were also tested one by one inste=
ad of the sit-for line above:<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; (redisplay)=
 ; this triggers the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; (force-mode-line=
-update) ; this does not trigger the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; =
(read-event nil nil 0) ; this triggers the bug<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 (insert chunk))<br>=C2=A0 =C2=A0 =C2=A0 ))<br>- Open an existing or new=
 file/buffer with org-mode enabled (C-x C-f <a href=3D"http://foo.org">foo.=
org</a>)<br>- Place point at end of buffer<br>- M-x test-org-insertion-font=
ification<br>- Optional: replace the line (sit-for...) with any of the line=
s below it.<br><br>- Additional information: The problem was discovered whe=
n receiving<br>streamed data responses via the package gptel which is an Em=
acs LLM<br>Client. Here is the reported issue:<br><a href=3D"https://github=
.com/karthink/gptel/issues/550">https://github.com/karthink/gptel/issues/55=
0</a></font><div><font face=3D"monospace"><br></font></div><div><font face=
=3D"monospace">- Also replicated on Emacs 29.3<br><br><br>In GNU Emacs 31.0=
.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version<br>=C2=A03.24.33, cairo ver=
sion 1.16.0) of 2025-01-07 built on piano<br>Repository revision: 4bf0f6655=
142b9e216325d051943b7b7ca4d2cd7<br>Repository branch: master<br>Windowing s=
ystem distributor &#39;The X.Org Foundation&#39;, version 11.0.12101004<br>=
System Description: Linux Mint 21.3<br><br>Configured features:<br>ACL CAIR=
O DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG<br>LCMS2 LI=
BOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY<br>INOTIFY PDUMP=
ER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF<br>TOOLKIT_SCROLL_BARS TREE_=
SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB<br><br>Important settings:<b=
r>=C2=A0 value of $LC_MONETARY: sv_SE.UTF-8<br>=C2=A0 value of $LC_NUMERIC:=
 sv_SE.UTF-8<br>=C2=A0 value of $LC_TIME: en_GB.UTF-8<br>=C2=A0 value of $L=
ANG: C.UTF-8<br>=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mode: =
Org<br><br>Minor modes in effect:<br>=C2=A0 tooltip-mode: t<br>=C2=A0 globa=
l-eldoc-mode: t<br>=C2=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode=
: t<br>=C2=A0 mouse-wheel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu=
-bar-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-=
mode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=
=A0 minibuffer-regexp-mode: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 inden=
t-tabs-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-composition-=
mode: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mode: =
t<br><br>Load-path shadows:<br>None found.<br><br>Features:<br>(shadow sort=
 mail-extr emacsbug face-remap help-macro oc-basic cl-extra<br>help-mode or=
g-element org-persist org-id org-refile org-element-ast<br>inline avl-tree =
generator ol-eww eww vtable mule-util url-queue mm-url<br>ol-rmail ol-mhe o=
l-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015<br>mm-view mml-smime =
smime gnutls dig gnus-sum shr pixel-fill kinsoku<br>url-file svg dom gnus-g=
roup gnus-undo gnus-start gnus-dbus dbus xml<br>gnus-cloud nnimap nnmail br=
owse-url xdg url url-proxy url-privacy<br>url-expand url-methods url-histor=
y url-cookie generate-lisp-file<br>url-domsuf url-util url-parse auth-sourc=
e cl-seq eieio eieio-core<br>cl-macs json map url-vars mail-source utf7 nno=
o parse-time gnus-spec<br>gnus-int gnus-range message sendmail mailcap yank=
-media puny rfc822 mml<br>mml-sec password-cache epa derived epg rfc6068 ep=
g-config mm-decode<br>mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc204=
5 ietf-drums<br>mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus=
-util<br>text-property-search mail-utils range mm-util mail-prsvr wid-edit<=
br>ol-docview doc-view byte-opt gv bytecomp byte-compile filenotify<br>jka-=
compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601<br>ol-b=
bdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob<br>ob-table o=
b-exp org-macro org-src sh-script smie treesit executable<br>ob-comint org-=
pcomplete pcomplete comint ansi-osc ansi-color ring<br>org-list org-footnot=
e org-faces org-entities time-date subr-x noutline<br>outline icons org-ver=
sion ob-emacs-lisp ob-core ob-eval org-cycle<br>org-table ol rx org-fold or=
g-fold-core org-keys oc org-loaddefs<br>thingatpt find-func cal-menu calend=
ar cal-loaddefs org-compat org-macs<br>format-spec cl-loaddefs cl-lib rmc i=
so-transl tooltip cconv eldoc paren<br>electric uniquify ediff-hook vc-hook=
s lisp-float-type elisp-mode mwheel<br>term/x-win x-win term/common-win x-d=
nd touch-screen tool-bar dnd fontset<br>image regexp-opt fringe tabulated-l=
ist replace newcomment text-mode<br>lisp-mode prog-mode register page tab-b=
ar menu-bar rfn-eshadow isearch<br>easymenu timer select scroll-bar mouse j=
it-lock font-lock syntax<br>font-core term/tty-colors frame minibuffer nadv=
ice seq simple cl-generic<br>indonesian philippine cham georgian utf-8-lang=
 misc-lang vietnamese<br>tibetan thai tai-viet lao korean japanese eucjp-ms=
 cp51932 hebrew greek<br>romanian slovak czech european ethiopic indian cyr=
illic chinese<br>composite emoji-zwj charscript charprop case-table epa-hoo=
k<br>jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddef=
s<br>theme-loaddefs faces cus-face macroexp files window text-properties<br=
>overlay sha1 md5 base64 format env code-pages mule custom widget keymap<br=
>hashtable-print-readable backquote threads dbusbind inotify lcms2<br>dynam=
ic-setting system-font-setting font-render-setting cairo gtk<br>x-toolkit x=
input2 x multi-tty move-toolbar make-network-process<br>tty-child-frames em=
acs)<br><br>Memory information:<br>((conses 16 203329 36256) (symbols 48 21=
221 0) (strings 32 66951 3884)<br>=C2=A0(string-bytes 1 1766656) (vectors 1=
6 37794)<br>=C2=A0(vector-slots 8 363252 21163) (floats 8 281 90) (interval=
s 56 804 0)<br>=C2=A0(buffers 992 14))</font><br></div></div>

--000000000000768aae062b234ea0--



------------=_1736444642-16899-1--



Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.