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: Wed, 10 May 2023 11:15:54 -0400 Message-ID: References: <87r0rxdwc8.fsf@daniel-mendler.de> <837ctidgab.fsf@gnu.org> <831qjqdcz9.fsf@gnu.org> <838rdwa12j.fsf@gnu.org> 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="27046"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: mail@daniel-mendler.de, larsi@gnus.org, 63253@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 10 17:17:15 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 1pwlZ4-0006nG-Pl for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 May 2023 17:17:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwlYu-00073I-Eo; Wed, 10 May 2023 11:17: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 1pwlYs-00072I-HP for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 11:17: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 1pwlYs-0004hY-7A for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 11:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwlYs-0000u8-2N for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 11:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 May 2023 15:17: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.16837317713397 (code B ref 63253); Wed, 10 May 2023 15:17:02 +0000 Original-Received: (at 63253) by debbugs.gnu.org; 10 May 2023 15:16:11 +0000 Original-Received: from localhost ([127.0.0.1]:48658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwlXz-0000sY-Gl for submit@debbugs.gnu.org; Wed, 10 May 2023 11:16:11 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:15201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwlXu-0000rl-Er for 63253@debbugs.gnu.org; Wed, 10 May 2023 11:16:06 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E9632100091; Wed, 10 May 2023 11:15:56 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 95D9B10001F; Wed, 10 May 2023 11:15:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1683731755; bh=Ng7wlmFDpx3CoIMM1iYX51mTaV5mWgExj5LJH7AwmvY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OGSz6bSku+UqmSGon1OAikWapB2Qvyd+6LMCpcHbzsOtofGw6Spt1E7QfmoncLAuo ZgO8qU3S/oUEI18Uh8TtWs23K2pW5+K1lBFhnPnNitfS/ULjKi7ojks87KxwYzAwqW C2VRl0jx1sTEyVS6eyRiKPSrhwlTWMvumS5xF75iCKrmPNCc1//kX1zzeTcAKrS6Ka B5xbLwtfMP9bz6/TA8CKuzrfYlwapRJaslvL+JAJcq/3emqwSFApRSJxo+s16hZmfe pR6nEPm2b8Cj5UaodoQA8f44AXS0eL6rOuYz6hGuhr2JRmFnrgA8fY+XacWp58/lGf 0UT6UybCTQ/pA== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 21C831208E2; Wed, 10 May 2023 11:15:55 -0400 (EDT) In-Reply-To: <838rdwa12j.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 May 2023 14:16:36 +0300") 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:261508 Archived-At: >> The code already falls back to a default behavior of displaying the >> message in the echo area when calls to ELisp can't be used. > > You mean, the changes that you just installed? If so, that is AFAIU > conditioned on garbage_collection_inhibited, which doesn't necessarily > disable Lisp calls from delayed messages in all situations. Plus, we > might at some point decide that garbage_collection_inhibited is not > necessary in probably_quit. > > What I meant was to completely disable customizing > set-message-function for delayed messages. We don't have to support > that, and the fact that we call 'message' is just an implementation > detail. If nothing else, this will make the effect on delayed > messages consistent no matter when and how they are actually > displayed. Hmm... I think "customizing `set-message-function` for delayed messages" is actually desirable (which is why I left a FIXME in my patch). So I regard the new behavior as a bug, just one that is hopefully less severe than the problem it intends to avoid. Stefan