From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63253: 29.0.90; with-delayed-message fails in combination with inhibit-message Date: Thu, 04 May 2023 18:13:44 -0400 Message-ID: References: <87r0rxdwc8.fsf@daniel-mendler.de> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26720"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63253@debbugs.gnu.org To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 05 00:14:25 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 1puhDU-0006mf-Va for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 May 2023 00:14:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puhDA-00042g-7z; Thu, 04 May 2023 18:14: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 1puhD8-00042Y-SS for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 18:14: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 1puhD8-0005Oh-6o for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 18:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puhD7-0003WL-Lc for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 18:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 May 2023 22:14:01 +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.168323843513511 (code B ref 63253); Thu, 04 May 2023 22:14:01 +0000 Original-Received: (at 63253) by debbugs.gnu.org; 4 May 2023 22:13:55 +0000 Original-Received: from localhost ([127.0.0.1]:52267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puhD1-0003Vr-1G for submit@debbugs.gnu.org; Thu, 04 May 2023 18:13:55 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:43263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puhCy-0003Vc-Tm for 63253@debbugs.gnu.org; Thu, 04 May 2023 18:13:53 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2770280937; Thu, 4 May 2023 18:13:47 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C0704805AC; Thu, 4 May 2023 18:13:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1683238425; bh=IoIfqIhyp7R58Su22cmCm10Qjp9MEoCwnBnKA13w65A=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=i+VbMVGl+QXd5+WAIsMvRrDrIV6KxwhINc1YkJFt4fKEzyVbwTskwKekpUhiS/Yg3 gYoQ+cah0zCuX79plEL6sp5A0JqS9fOMY4bdQDFCLeba4hDI3xOYpsXiEczfHYGPhX arxOrCctvQ4ch1QTcZlcLfC1TcmBEqvvZIt5zppBhEmd4jwDYFUswmUdsVa6kBCvFY OgCgoz2jp/kpouQ0lj7ksYFImTgbb8N2Kavp5o0Ljk2j4YuaxBlTkgi56Eg1Yc0UoU VF8gIjZasGZbqnK4YOXGvhxoaiJAuKpQlrLw30py5iiwP4KLG0rtZ8wyKS42wgjqVd FJ4rQTaA/BAXQ== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 97804120978; Thu, 4 May 2023 18:13:45 -0400 (EDT) In-Reply-To: <87r0rxdwc8.fsf@daniel-mendler.de> (Daniel Mendler's message of "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:261037 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 After several unsuccessful attempts, I just managed to reproduce the problem here. Not sure yet what was the magic incantation, but at least I should now be able to look into the source of the problem. Stefan