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#44018: Don't consider play-sound-file to be a 'safe' function Date: Sat, 31 Oct 2020 10:06:58 +0200 Message-ID: <83k0v695ul.fsf@gnu.org> References: <5A2CDAEA-03CF-4F92-AF9D-40421A9B362E@acm.org> <83zh4nwgbs.fsf@gnu.org> <87mu0mrapy.fsf@gnus.org> <83k0vqwuxf.fsf@gnu.org> <87eelkgbnv.fsf@tcd.ie> <83zh48ewmd.fsf@gnu.org> <156CF4D0-EA6C-454C-9C7D-98A2DD3BFB70@acm.org> <83y2jset9g.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19053"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, larsi@gnus.org, 44018@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 31 09:08:10 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 1kYlvm-0004sa-5S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 09:08:10 +0100 Original-Received: from localhost ([::1]:60762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYlvl-0001qc-80 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 04:08:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYlve-0001qR-Jj for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 04:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48945) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYlve-0006lv-9w for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 04:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYlve-0003EY-4N for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 04:08: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: Sat, 31 Oct 2020 08:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44018 X-GNU-PR-Package: emacs Original-Received: via spool by 44018-submit@debbugs.gnu.org id=B44018.160413164212369 (code B ref 44018); Sat, 31 Oct 2020 08:08:02 +0000 Original-Received: (at 44018) by debbugs.gnu.org; 31 Oct 2020 08:07:22 +0000 Original-Received: from localhost ([127.0.0.1]:60491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYluz-0003DR-Lm for submit@debbugs.gnu.org; Sat, 31 Oct 2020 04:07:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYlux-0003D2-W3 for 44018@debbugs.gnu.org; Sat, 31 Oct 2020 04:07:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35220) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYlus-0006US-CW; Sat, 31 Oct 2020 04:07:14 -0400 Original-Received: from [176.228.60.248] (port=2490 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYlur-0001se-FB; Sat, 31 Oct 2020 04:07:13 -0400 In-Reply-To: (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Mon, 26 Oct 2020 21:36:50 +0100) 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:192249 Archived-At: > From: Mattias EngdegÄrd > Date: Mon, 26 Oct 2020 21:36:50 +0100 > Cc: contovob@tcd.ie, larsi@gnus.org, 44018@debbugs.gnu.org > > 26 okt. 2020 kl. 19.28 skrev Eli Zaretskii : > > > So you are saying 'message' is not safe because it could be used to > > display text that isn't "innocuous"? In that case, we should also > > remove from the list 'error' and 'signal', no? > > That's a good point. Perhaps we should. > There doesn't seem to be much point in permitting 'while' either in the absence of mutation, but I don't think it's actively harmful. I could be wrong. I'm okay with doing this, but please add commentary that explains these removals and the general policy for considering a function "safe". Thanks.