From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63253: 29.0.90; with-delayed-message fails in combination with inhibit-message Date: Thu, 04 May 2023 08:21:19 +0300 Message-ID: <83lei4llio.fsf@gnu.org> References: <87r0rxdwc8.fsf@daniel-mendler.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63253@debbugs.gnu.org To: Daniel Mendler , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 04 07:21:16 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 1puRP2-0000dt-Eu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 May 2023 07:21:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puROq-0004te-Et; Thu, 04 May 2023 01:21: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 1puROo-0004tP-NV for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 01:21: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 1puROo-0007yr-F8 for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 01:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puROo-0003p2-Ak for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 01:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 May 2023 05:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63253 X-GNU-PR-Package: emacs Original-Received: via spool by 63253-submit@debbugs.gnu.org id=B63253.168317764014644 (code B ref 63253); Thu, 04 May 2023 05:21:02 +0000 Original-Received: (at 63253) by debbugs.gnu.org; 4 May 2023 05:20:40 +0000 Original-Received: from localhost ([127.0.0.1]:48218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puROS-0003o7-Ge for submit@debbugs.gnu.org; Thu, 04 May 2023 01:20:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puROQ-0003ns-EE for 63253@debbugs.gnu.org; Thu, 04 May 2023 01:20:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puROI-0007vc-Iu; Thu, 04 May 2023 01:20:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ICD8CIDMIJ4Tg7V0cAljuy0gpJybkrNDBvD2EhY0A14=; b=AsokJjqg1DRS QFY4UwkRd5asq5ddNRj4CdjhxfyiJgtLNIqdPmWcw5FsGnvuLQZ9CmetKK05gfYL+bYofMh3krdmd FP0GfevwjGWguhrVGXs2cOHBQby1Vs9bLq8xzMd0nW7q7zw4wxICrS5a/Gn/QXwYgK1q7B6lGvpmJ 71uwEmXgKfeEpLQN34X5yqMAnL/V2fsisa10ULqdBLzGVh6Vc24PuSo8+FfVYS6471Gm+Kb2vd35v 5ASebcVaZlj2oGu/PSoyHOJec45I9uhkImwkvJN6Z2m8gvZJWC3QLH/Z41fsRoVfb2lhjOAI9u54s ZhjonMA/uGi4aQE0odpj6w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puROI-0000HB-2j; Thu, 04 May 2023 01:20:30 -0400 In-Reply-To: <87r0rxdwc8.fsf@daniel-mendler.de> (message from Daniel Mendler on Wed, 03 May 2023 21:54:47 +0200) 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:260996 Archived-At: > From: Daniel Mendler > Date: Wed, 03 May 2023 21:54:47 +0200 > > 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. Stefan, and ideas/suggestions/hints?