From unknown Tue Jun 17 22:01:14 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5003: Allow marking a local variable as permanently unsafe Reply-To: Lennart Borgman , 5003@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 21 Nov 2009 12:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 5003 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125880570512971 (code B ref -1); Sat, 21 Nov 2009 12:20:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Nov 2009 12:15:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.9 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nALCF2Fk012922 for ; Sat, 21 Nov 2009 04:15:04 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBorm-0000iB-7c for bug-gnu-emacs@gnu.org; Sat, 21 Nov 2009 07:15:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBorh-0000fu-75 for bug-gnu-emacs@gnu.org; Sat, 21 Nov 2009 07:15:01 -0500 Received: from [199.232.76.173] (port=52950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBorh-0000fo-0h for bug-gnu-emacs@gnu.org; Sat, 21 Nov 2009 07:14:57 -0500 Received: from mail-yw0-f172.google.com ([209.85.211.172]:52413) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBorg-0002JR-N6 for bug-gnu-emacs@gnu.org; Sat, 21 Nov 2009 07:14:56 -0500 Received: by ywh2 with SMTP id 2so4206570ywh.27 for ; Sat, 21 Nov 2009 04:14:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=3NFolzTIwQvWjBGYBlFdlGaxseQnqHaz1ZokiXlyRIE=; b=gBaXxKIQK/iT3EvEh5UQIGlYic6fjiW6/n+M9jC20oBsQbO75rhKmjhHWxUFkjl72L o7PJYgSiDJvJXLhQbBejrECQANG1GbPRaKfUwh1s6CPuXT4kGcZ2cjE7Hp8pSgv7A9ii PakVnI8M/4txiHt9qPY1B/7TYl7k3SLzUopZs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=WXtjnej8hpSz10U8hc54eXYt+bIkwtVx+VePqxA5dNBQMJl3oMPJKzNLGwKdlt4K0X AQbsutqeVePhx0H10s1AJNfvoZpQd9f8A+XwRPDKyt0aFeMIi2dGKitW2HvBhsweoKb/ vNtcnKgs86X7GL9R7Q/T7b5KncZZFvw1VQtxM= MIME-Version: 1.0 Received: by 10.101.181.21 with SMTP id i21mr3120232anp.141.1258805696066; Sat, 21 Nov 2009 04:14:56 -0800 (PST) From: Lennart Borgman Date: Sat, 21 Nov 2009 13:14:36 +0100 Message-ID: To: Emacs Bugs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) When you open a file with a local variable list you may get a warning like this: The local variables list in ess-mous.el contains values that may not be safe (*). Do you want to apply it? You can type y -- to apply the local variables list. n -- to ignore the local variables list. ! -- to apply the local variables list, and permanently mark these values (*) as safe (in the future, they will be set automatically.) * outline-minor-mode : nil mode : outline-minor outline-regexp : "\f\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*" You can get rid of this warning by allowing those variable permanently (which is good for your own files), but wouldn't it be good to be able to also permanently disallow those warnings (for other peoples files) from this prompt? From unknown Tue Jun 17 22:01:14 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5003: Allow marking a local variable as permanently unsafe Reply-To: Stefan Monnier , 5003@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 23 Nov 2009 03:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5003 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125894825811247 (code B ref -1); Mon, 23 Nov 2009 03:55:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 23 Nov 2009 03:50:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAN3ouwO011239 for ; Sun, 22 Nov 2009 19:50:57 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCPx2-0003JF-Ak for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2009 22:50:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCPwx-0003Cf-Ol for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2009 22:50:55 -0500 Received: from [199.232.76.173] (port=58415 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCPwx-0003CK-Bj for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2009 22:50:51 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:49132 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCPwx-0001mK-0s for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2009 22:50:51 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAOuVCUvO+IIa/2dsb2JhbACBTdIChDwEigI X-IronPort-AV: E=Sophos;i="4.47,268,1257138000"; d="scan'208";a="49825799" Received: from 206-248-130-26.dsl.teksavvy.com (HELO ceviche.home) ([206.248.130.26]) by ironport2-out.pppoe.ca with ESMTP; 22 Nov 2009 22:50:40 -0500 Received: by ceviche.home (Postfix, from userid 20848) id AAFF6B40C9; Sun, 22 Nov 2009 22:50:40 -0500 (EST) From: Stefan Monnier To: Lennart Borgman Cc: 5003@debbugs.gnu.org, Emacs Bugs Message-ID: References: Date: Sun, 22 Nov 2009 22:50:40 -0500 In-Reply-To: (Lennart Borgman's message of "Sat, 21 Nov 2009 13:14:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. > You can get rid of this warning by allowing those variable permanently > (which is good for your own files), but wouldn't it be good to be able > to also permanently disallow those warnings (for other peoples files) > from this prompt? Yes, Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 01 11:39:34 2010 Received: (at control) by debbugs.gnu.org; 1 Jan 2010 16:39:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQkXG-0004Pm-Ej for submit@debbugs.gnu.org; Fri, 01 Jan 2010 11:39:34 -0500 Received: from pantheon-po42.its.yale.edu ([130.132.50.101]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQkXE-0004Pg-Me for control@debbugs.gnu.org; Fri, 01 Jan 2010 11:39:33 -0500 Received: from furry (dhcp128036014103.central.yale.edu [128.36.14.103]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o01GdSNR004674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 1 Jan 2010 11:39:28 -0500 Received: by furry (Postfix, from userid 1000) id 14A85C05D; Fri, 1 Jan 2010 11:39:28 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 5003 wishlist Date: Fri, 01 Jan 2010 11:39:28 -0500 Message-ID: <87eim9230f.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: 3.2 (+++) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 3.2 (+++) severity 5003 wishlist thanks From unknown Tue Jun 17 22:01:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#5003: Allow marking a local variable as permanently unsafe Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Jul 2021 19:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5003 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 5003@debbugs.gnu.org, Lennart Borgman Received: via spool by 5003-submit@debbugs.gnu.org id=B5003.162663553131494 (code B ref 5003); Sun, 18 Jul 2021 19:13:01 +0000 Received: (at 5003) by debbugs.gnu.org; 18 Jul 2021 19:12:11 +0000 Received: from localhost ([127.0.0.1]:57338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5CCw-0008Bu-Oy for submit@debbugs.gnu.org; Sun, 18 Jul 2021 15:12:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5CCu-0008BO-LA for 5003@debbugs.gnu.org; Sun, 18 Jul 2021 15:12:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XclMVxugnOxkhp4PHQJrAxbhvin/Q9DAufJitdJKuIY=; b=m/oj92TI8y+QmkZKhRtdDWutf4 hIdRtclc3LUP97bxqM72PRTA0adTXBSdIuHvo/4SinVlhLue0EHfEMB69C/oATn+kgXRmz3wwYNb3 Z5ECWte40zSya2qJlqbMukh5BRb526iYLSnQzhQkmk3j2yLoYtr+5eZzHa+lZYFn2Iy4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m58Yx-0001i7-1C; Sun, 18 Jul 2021 17:18:41 +0200 From: Lars Ingebrigtsen References: X-Now-Playing: =?UTF-8?Q?K=C3=B6hn's?= _Koen (1)_: "=?UTF-8?Q?Nigew=C3=B6hne?=" Date: Sun, 18 Jul 2021 17:18:38 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 22 Nov 2009 22:50:40 -0500") Message-ID: <871r7vps4x.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: >> You can get rid of this warning by allowing those variable permanently >> (which is good for your own files), but wouldn't it be good to be able >> to also permanently disallow those warnings (for [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Monnier writes: >> You can get rid of this warning by allowing those variable permanently >> (which is good for your own files), but wouldn't it be good to be able >> to also permanently disallow those warnings (for other peoples files) >> from this prompt? > > Yes, This has now been added to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 18 15:12:18 2021 Received: (at control) by debbugs.gnu.org; 18 Jul 2021 19:12:18 +0000 Received: from localhost ([127.0.0.1]:57341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5CD3-0008CE-WC for submit@debbugs.gnu.org; Sun, 18 Jul 2021 15:12:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5CD2-0008C1-E1 for control@debbugs.gnu.org; Sun, 18 Jul 2021 15:12:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7ZmCB6zZB2ZOUEaTrRJCPNpjQwJ6bdNdTvVEUzyeGBs=; b=JSbbQvEdzeRwVLKunye9BwFURC Mtw3jtjr9CpTHCO8FCw6x+2OZi2FYL2L03WVrw0sEohGwqjdoMu4FkfhSOqLOZd0UG4J0ff8wC5Wx Eq1m+XHMYbYqnFRHlI40shYQnu83PLOBQep1Uplmh6RomgF8iNliJUl3FZBKkWRD1Zj4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m58Z2-0001iI-Ha for control@debbugs.gnu.org; Sun, 18 Jul 2021 17:18:46 +0200 Date: Sun, 18 Jul 2021 17:18:44 +0200 Message-Id: <87zgujodkb.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #5003 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 5003 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 5003 28.1 quit