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#45198: 28.0.50; Sandbox mode Date: Sun, 13 Dec 2020 05:29:33 +0200 Message-ID: <83ft4ae63m.fsf@gnu.org> References: <83mtyierfs.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8292"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bzg@gnu.org, 45198@debbugs.gnu.org, joaotavora@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 04:30:11 2020 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 1koI5L-000242-OH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 04:30:11 +0100 Original-Received: from localhost ([::1]:49668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koI5K-0004SC-QO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 22:30:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koI5C-0004S5-Uu for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 22:30:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koI5C-00027q-Ni for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 22:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koI5C-0000H3-K1 for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 22:30: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: Sun, 13 Dec 2020 03:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 45198-submit@debbugs.gnu.org id=B45198.16078301951019 (code B ref 45198); Sun, 13 Dec 2020 03:30:02 +0000 Original-Received: (at 45198) by debbugs.gnu.org; 13 Dec 2020 03:29:55 +0000 Original-Received: from localhost ([127.0.0.1]:47229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koI55-0000GL-5J for submit@debbugs.gnu.org; Sat, 12 Dec 2020 22:29:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koI52-0000G8-LC for 45198@debbugs.gnu.org; Sat, 12 Dec 2020 22:29:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57314) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koI4w-00021j-TF; Sat, 12 Dec 2020 22:29:46 -0500 Original-Received: from [176.228.60.248] (port=4104 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1koI4v-0004oZ-5Y; Sat, 12 Dec 2020 22:29:45 -0500 In-Reply-To: (message from Stefan Monnier on Sat, 12 Dec 2020 16:06:54 -0500) 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" Xref: news.gmane.io gmane.emacs.bugs:195927 Archived-At: > From: Stefan Monnier > Cc: 45198@debbugs.gnu.org, bzg@gnu.org, joaotavora@gmail.com > Date: Sat, 12 Dec 2020 16:06:54 -0500 > > > You cannot usefully call error from redisplay. > > Hmm... but this is at the entrance to redisplay, so I though it should > still be safe at that point. If it's a problem we can replace the above > with > > if (emacs_is_sandboxed) > return; Yes, I think this is what we should do in this case.