From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler Newsgroups: gmane.emacs.bugs Subject: bug#63253: 29.0.90; with-delayed-message fails in combination with inhibit-message Date: Wed, 03 May 2023 21:54:47 +0200 Message-ID: <87r0rxdwc8.fsf@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14963"; mail-complaints-to="usenet@ciao.gmane.io" To: 63253@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 03 21:56:19 2023 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 1puIaI-0003iN-U2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 May 2023 21:56:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puIa4-0004MT-JM; Wed, 03 May 2023 15:56:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puIa2-0004MG-PW for bug-gnu-emacs@gnu.org; Wed, 03 May 2023 15:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puIa2-0007gs-FO for bug-gnu-emacs@gnu.org; Wed, 03 May 2023 15:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puIa2-0001ZH-B2 for bug-gnu-emacs@gnu.org; Wed, 03 May 2023 15:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 May 2023 19:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63253 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.16831437165908 (code B ref -1); Wed, 03 May 2023 19:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 May 2023 19:55:16 +0000 Original-Received: from localhost ([127.0.0.1]:47790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puIZI-0001XB-AY for submit@debbugs.gnu.org; Wed, 03 May 2023 15:55:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puIZG-0001Wl-7c for submit@debbugs.gnu.org; Wed, 03 May 2023 15:55:15 -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 1puIZD-0004J1-RS for bug-gnu-emacs@gnu.org; Wed, 03 May 2023 15:55:11 -0400 Original-Received: from server.qxqx.de ([2a01:4f8:121:346::180] helo=mail.qxqx.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puIZB-0007FS-9g for bug-gnu-emacs@gnu.org; Wed, 03 May 2023 15:55:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From :Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=d3+x8Ptpl6RFLp39B0vdteT0tTjilBe0LVhE2mELa8U=; b=VQD781qNrHslYFtJ3YX4f9V3yQ eekmByDfO6SNANT9rGiLr/Dd84cHbTO5XHu57e6lJ80954QwAl3QFyPgjqy7OgieReloalIrvONMI cSfjhbL0lyCaM0TJKva7PxVkEac71Fe9x109xNUejKBENBmSGfJa8D6X8FiVVChCY6TE=; Received-SPF: pass client-ip=2a01:4f8:121:346::180; envelope-from=mail@daniel-mendler.de; helo=mail.qxqx.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:260989 Archived-At: There seems to exist an interaction issue of `with-delayed-message' with `inhibit-message'. In order to reproduce the issue, start emacs -Q and evaluate the following function: (defun delayed-message-bug () (interactive) (setq inhibit-message-regexps (list "\\`something")) (add-to-list 'set-message-functions #'inhibit-message) (while t (with-delayed-message (0.5 "Fontifying...") (font-lock-flush (point-min) (point-max)) (font-lock-ensure (point-min) (point-max))) (message "Done"))) Then open a large file like emacs/src/xterm.c and run `M-x delayed-message-bug'. The error may not occur on the first try since it is timing dependent. Retry a few times if no error is observed. I observe the internal error Error in syntax_table logic for to-the-end intervals which is produced by `update_syntax_table' from syntax.c. In GNU Emacs 29.0.90 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2023-04-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --prefix=/home/user/emacs/install --with-json --with-native-compilation --with-x-toolkit=athena --without-dbus --without-selinux --without-threads --without-gsettings --with-cairo' Configured features: CAIRO FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XPM LUCID ZLIB