From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: epg@pretzelnet.org Newsgroups: gmane.emacs.bugs Subject: bug#73041: 30.0.90; track-changes-mode logs warnings (#70541 regression? not actually fixed?) Date: Thu, 05 Sep 2024 08:28:53 -0500 Message-ID: <87ed5yfcve.fsf@pretzelnet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34888"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 73041@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 05 15:48:27 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1smCqX-0008p1-AJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Sep 2024 15:48:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smCq7-0002fz-3u; Thu, 05 Sep 2024 09:47:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smCq6-0002ce-9H for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 09:47:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smCq5-0002fY-VG for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 09:47:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=WETNIBbrnozNaNXQGVS08R4cbOUAyqAVEgiXoheiHP8=; b=QAA1ZFBbcTDG131kyCzmynelna55UkH5gXblh54/3gOR1sAimhlneFbzHCAq/zYlPD1mSyFofTAQ1xPHoSsyceDFqwnqLzd5TNTBEyUg9rVf3I0dNLpktWgfkrUsF7HmFnD+3XznYtur0ckuucW5NRGYrpqldPnLfWUd3t0iCXc9o9Fl2K9LmvRjob0sFLC03p16fH/VG6kyP53LSNMrwkLxfPCUplsvFyh4Chw1ZSLE5GInD4MzJaANGcu4/4d5/GmczW/OqgsqvH4OsvFjkGl12lKm7uV36PcTGO2ATSyqLl1OM78ZdLNX6jAHrngEY1JBA2/6a/PG6fDEjhoaIQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smCr8-0002Yw-Uu for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 09:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: epg@pretzelnet.org Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Sep 2024 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73041 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17255441349819 (code B ref -1); Thu, 05 Sep 2024 13:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Sep 2024 13:48:54 +0000 Original-Received: from localhost ([127.0.0.1]:36443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smCqy-0002YI-QZ for submit@debbugs.gnu.org; Thu, 05 Sep 2024 09:48:53 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smCqu-0002X7-UF for submit@debbugs.gnu.org; Thu, 05 Sep 2024 09:48:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smCXj-0002bi-D4 for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 09:28:59 -0400 Original-Received: from fout3-smtp.messagingengine.com ([103.168.172.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smCXg-0007dM-PJ for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 09:28:59 -0400 Original-Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id 94C0C1380207 for ; Thu, 5 Sep 2024 09:28:54 -0400 (EDT) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Thu, 05 Sep 2024 09:28:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pretzelnet.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm2; t=1725542934; x=1725629334; bh=WE TNIBbrnozNaNXQGVS08R4cbOUAyqAVEgiXoheiHP8=; b=Y+JJaI31RFC0/3KCTX sd4FUzw5ISa1n63eApq/2NHINPUzi15UyRlVwtIC8NjRYEpdH71a1AYb+1xGnf5e rHf9z4sfvIXOmjVYKdkR/W7KWTPJl4EFPuEpwoMRM1IWINzfgWlftMVPkSJWFE0F jCkf68VouNmScJVWAmx7KIXbsB/76CFEs7kMAz1Fq1Vy7zdsTyUnbeW4DDAwsPv4 iYVyvkFSatboG4Vwti515NYkiKKjw4leijUozzj/Nwwdj1lae8LgWr8UsjPvL5GM wPMuv06dZu6dkkvthh6s3fX07LV7kmDMnWDl1/lYfUGeCEred9IKt3QAbRSXMzAP Ph5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1725542934; x=1725629334; bh=WETNIBbrnozNaNXQGVS08R4cbOUA yqAVEgiXoheiHP8=; b=rWUBpTbTHDTv7WIg1SjZWgcpm97u/O4vD/BG0xSe7ej5 Df6BHJDthi1kue9tTiGL5KvQ3KKO14DKIxs1vR0hdRylr1W9kuAwMYFB2NJ654MW KYxxY7OooFBhVGG08bT7N+GrHnUrvljsl7N1jX5aYGpynMydl5V/fq1uNZCzbC9l A+DchXwhWbw/RN/efMV/NA0N4fTpz+1tPlq0/Cc7cZ92RTzagjNheLyA1/x7u58D DqyBFes2ixVwF4jgAHQDksoTh2dSLMix/ccu8P32uGrIpKU8hUYUG0P8bEpY5I6w 9j4XjkDxMDjaZOCIXc6P8CU+RSYeARdDTKlsOD22mA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehledgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuff fkfgggtgfgsehtqhertddtreejnecuhfhrohhmpegvphhgsehprhgvthiivghlnhgvthdr ohhrghenucggtffrrghtthgvrhhnpeduhfdvvefhfefggeeutdeklefhheffhedvieegle efudelvdekudettdfgiedtleenucffohhmrghinhepghhnuhdrohhrghenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegvphhgsehprhgvthiivg hlnhgvthdrohhrghdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i58794908:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 5 Sep 2024 09:28:54 -0400 (EDT) Received-SPF: pass client-ip=103.168.172.146; envelope-from=epg@pretzelnet.org; helo=fout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291252 Archived-At: I wish I could describe exactly what happened. I found https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70541 which sounds very much like what I'm seeing, but I don't use any input method. What I can say: - I use rust-mode (not rust-ts-mode) - I use eglot (config below) - I use rust-analyzer 1.80.1 (3f5fd8d 2024-08-06) - The problem seems to happen deep into a work day, after many commits, reverts, etc. My eglot configuration: #+begin_src elisp (setq eglot-extend-to-xref t eglot-ignored-server-capabilities '( :inlayHintProvider :documentOnTypeFormattingProvider ) ) #+end_src Eventually, this pops into *Messages*: #+begin_quote cl--assertion-failed: Assertion failed: (or track-changes--before-no (<=3D = track-changes--before-beg (track-changes--state-beg track-changes--state) b= eg end (track-changes--state-end track-changes--state) track-changes--befor= e-end)) #+end_quote And this in *Warnings*: #+begin_quote =E2=9B=94 Warning (emacs): Missing/incorrect calls to =E2=80=98before/after= -change-functions=E2=80=99!! Details logged to =E2=80=98track-changes--error-log=E2=80=99 #+end_quote Over time, they just keep repeating, although I think killing the buffer and reopening the file makes it stop. If I have inspected =E2=80=98track-changes--error-log=E2=80=99 correctly, t= his is what it contains (looks like some binary, hope it comes through in some useful fashion or another): #+begin_quote (("lib.rs" (buffer-size 5254 5218) ((t track-changes--recover-from-error ..= . nil) (t track-changes-fetch ... nil) (t eglot--track-changes-fetch ... ni= l) (t eglot--signal-textDocument/didChange nil nil) (t eglot--signal-textDo= cument/didSave nil nil) (t run-hooks ... nil) (t basic-save-buffer ... nil)= (t save-buffer ... nil) (t funcall-interactively ... nil) (t call-interact= ively ... nil) (t command-execute ... nil)) [111 (nil . other-window) 103 (= nil . recompile) 121 (nil . undefined) 24 96 (nil . next-error) 1 (nil . mo= ve-beginning-of-line) 11 ...]) ("lib.rs" (buffer-size 5256 5254) ((t track-= changes--recover-from-error ... nil) (t track-changes-fetch ... nil) (t egl= ot--track-changes-fetch ... nil) (t eglot--signal-textDocument/didChange ni= l nil) (t eglot--signal-textDocument/didSave nil nil) (t run-hooks ... nil)= (t basic-save-buffer ... nil) (t save-buffer nil nil) (t #[257 "r\211q\210= \300 )\207" [save-buffer] 2 ...] ... nil) (t map-y-or-n-p ... nil) (t save-= some-buffers ... nil) (t recompile ... nil) ...) [19 (nil . save-buffer) 24= 24 (nil . exchange-point-and-mark) 23 (nil . kill-region) 24 19 (nil . sav= e-buffer) backspace (nil . delete-backward-char) ...]) ("lib.rs" (buffer-si= ze 5278 5256) ((t track-changes--recover-from-error ... nil) (t track-chang= es-fetch ... nil) (t eglot--track-changes-fetch ... nil) (t eglot--signal-t= extDocument/didChange nil nil) (t eglot--signal-textDocument/didSave nil ni= l) (t run-hooks ... nil) (t basic-save-buffer ... nil) (t save-buffer ... n= il) (t funcall-interactively ... nil) (t call-interactively ... nil) (t com= mand-execute ... nil)) [(nil . backward-word) 2 (nil . backward-char) 67108= 896 (nil . set-mark-command) 134217734 (nil . forward-sexp) 23 (nil . kill-= region) 24 19 (nil . save-buffer) ...]) ("lib.rs" (buffer-size 5324 5278) (= (t track-changes--recover-from-error ... nil) (t track-changes-fetch ... ni= l) (t eglot--track-changes-fetch ... nil) (t eglot--track-changes-signal ..= . nil) (t #[771 "\211^BZ\211^HG^E]=09 #+end_quote I wish I could reliably repeat it. Given that it occurs after many hours of work, `emacs -Q` isn't an option. Thanks! In GNU Emacs 30.0.90 (build 9, x86_64-pc-linux-gnu, cairo version 1.18.0) of 2024-09-03 built on dogato Repository revision: ae2463796f236b8ee2cef3b5e38bffa13abd2233 Repository branch: emacs-30 Windowing system distributor 'The X.Org Foundation', version 11.0.12101012 System Description: openSUSE Tumbleweed Configured using: 'configure -C --prefix=3D/opt/emacs-30.0.90.5.ae2463796f2 --disable-silent-rules --with-x-toolkit=3Dno --without-gsettings --with-native-compilation=3Dno' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM ZLIB Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $XMODIFIERS: @im=3Dlocal locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: server-mode: t editorconfig-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr tabify cus-edit cus-start cus-load cl-print help-fns radix-tree mh-utils emacsbug conf-mode smerge-mode whitespace time-stamp perl-mode bug-reference log-edit mule-util display-line-numbers dired-aux view pulse color vc-annotate oc-basic org-element org-persist org-id org-refile org-element-ast inline avl-tree generator ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 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 mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range message yank-media rfc822 mailabbrev gmm-utils mailheader gnus-win gnus nnheader range wid-edit ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi org org-macro org-pcomplete org-list org-footnote org-faces org-entities noutline outline org-version ob-sql ob-emacs-lisp ob-C ob ob-tangle org-src sh-script smie treesit executable ob-ref ob-lob ob-table ob-exp ob-comint ob-core ob-eval cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-compat org-macs format-spec misearch multi-isearch add-log cl-extra server shell pcomplete files-x grep vc-cvs vc-rcs log-view pcvs-util vc-dir vc rust-utils rust-mode rust-rustfmt rust-playpen rust-compile rust-cargo rx eglot external-completion jsonrpc xref flymake thingatpt project compat diff ert pp ewoc debug backtrace help-mode find-func filenotify warnings compile comint ansi-osc ansi-color ring pcase vc-git diff-mode track-changes easy-mmode vc-dispatcher url-cache url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core cl-macs icons json map byte-opt gv bytecomp byte-compile url-vars mh-acros mh-folder which-func imenu mh-comp sendmail mail-utils mh-scan mh-gnus mml mm-view mml-smime mml-sec epa derived epg rfc6068 epg-config smime cl-seq password-cache gnutls puny dig mailcap mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr gnus-util text-property-search time-date subr-x mh-e mh-buffers mh-loaddefs editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch 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 font-render-setting cairo xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 407345 108770) (symbols 48 32008 1) (strings 32 102422 6760) (string-bytes 1 2997195) (vectors 16 63439) (vector-slots 8 1388223 211290) (floats 8 478 2399) (intervals 56 29367 817) (buffers 992 73))