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#60096: 29.0.60; Crash in format_mode_line_unwind_data Date: Fri, 16 Dec 2022 16:39:57 +0200 Message-ID: <83ilibjttu.fsf@gnu.org> References: <86a63oen2m.fsf@mail.linkov.net> <83sfhgjqd7.fsf@gnu.org> <86cz8jls87.fsf@mail.linkov.net> <83k02rk1vk.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2028"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60096@debbugs.gnu.org To: juri@linkov.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 16 15:41:13 2022 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 1p6Btg-0000Py-FH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Dec 2022 15:41:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6BtZ-000808-K3; Fri, 16 Dec 2022 09:41:05 -0500 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 1p6BtX-0007yn-7j for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 09:41:03 -0500 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 1p6BtW-0006A9-S4 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 09:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6BtW-0006Mk-J8 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 09:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2022 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60096 X-GNU-PR-Package: emacs Original-Received: via spool by 60096-submit@debbugs.gnu.org id=B60096.167120160624426 (code B ref 60096); Fri, 16 Dec 2022 14:41:02 +0000 Original-Received: (at 60096) by debbugs.gnu.org; 16 Dec 2022 14:40:06 +0000 Original-Received: from localhost ([127.0.0.1]:49713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Bsb-0006Lu-WD for submit@debbugs.gnu.org; Fri, 16 Dec 2022 09:40:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6BsY-0006LP-Oq for 60096@debbugs.gnu.org; Fri, 16 Dec 2022 09:40:04 -0500 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 1p6BsS-0004hk-PT; Fri, 16 Dec 2022 09:39:56 -0500 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=t+3CYxky2mUrsY0wEDGo8Ysr5qypLEYANcVaeFuH84M=; b=S/AvQfYf2VEu KqmeTv6GLYUjvBIpe47zXqaDZ/XRFaXeupMgevd3B5d81WvcOJ8xz4KgjcrI0aSqzOoFFSOWNYUml 62m4BfB1TzBd0hmFIG4Knulx7jrbeXpV7fSC2Me04EClp8nebCCJ2pRduWv6kUFBQUVLa7/AgG2pT kz8e9zG6jW3qC0vIO4KPU4L+lKaf/PHkqPKDuBPFemolbbqGpMHl1h8L5Au3mK/nZzluKnCDMvsxc 5gViiy73qhFAYgkcmjJTXpJxKLBXvRI9ippnAqcjWgk/ZNXy4A7O0WlWBgcOaqzeBpvTlPAiSwR+E fRGYH3l/Vq9yscxUQhAu5Q==; 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 1p6BsR-0004YL-T3; Fri, 16 Dec 2022 09:39:56 -0500 In-Reply-To: <83k02rk1vk.fsf@gnu.org> (message from Eli Zaretskii on Fri, 16 Dec 2022 13:46:07 +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:251208 Archived-At: > Cc: 60096@debbugs.gnu.org > Date: Fri, 16 Dec 2022 13:46:07 +0200 > From: Eli Zaretskii > > > From: Juri Linkov > > Cc: 60096-done@debbugs.gnu.org > > Date: Fri, 16 Dec 2022 09:31:36 +0200 > > > > I confirm that it's fixed, so closing. > > > > PS: I wonder why now *scratch* shows keybindings inside > > non-standard quotation marks: "C-x C-f"? Why not 'C-x C-f'? > > Or `C-x C-f'? > > I'm working on a better fix for this, which will revert back to how we > were showing the bindings originally. Whether what we did originally > is the best way is a separate issue. Now done, please re-test. Note that the *scratch* buffer is re-created in this scenario without the blurb we put into it, and in Fundamental mode. This is because get-scratch-buffer-create, which is called to re-create it (because we have no "other" buffer to switch to when the original *scratch* is killed) signals an error when it deletes the temp buffer used by substitute-command-keys. This is what happens when safe C code which can be called in situations where we literally pull ourselves by the shoestrings, is replaced by less safe Lisp code.