GNU bug report logs - #5003
Allow marking a local variable as permanently unsafe

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Lennart Borgman <lennart.borgman@HIDDEN>; dated Sat, 21 Nov 2009 12:20:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Chong Yidong <cyd@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 5003@HIDDEN:


Received: (at 5003) by emacsbugs.donarmstrong.com; 23 Nov 2009 03:50:57 +0000
From monnier@HIDDEN Sun Nov 22 19:50:57 2009
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 ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAN3otcf011236
	for <5003@HIDDEN>; Sun, 22 Nov 2009 19:50:56 -0800
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 <monnier@HIDDEN>
To: Lennart Borgman <lennart.borgman@HIDDEN>
Cc: 5003 <at> debbugs.gnu.org, Emacs Bugs <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#5003: Allow marking a local variable as permanently unsafe
Message-ID: <jwv8wdx3nng.fsf-monnier+emacsbugreports@HIDDEN>
References: <e01d8a50911210414n6d59eebfq9d986b7462c76cf0@HIDDEN>
Date: Sun, 22 Nov 2009 22:50:40 -0500
In-Reply-To: <e01d8a50911210414n6d59eebfq9d986b7462c76cf0@HIDDEN>
	(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

> 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



Acknowledgement sent to Stefan Monnier <monnier@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#5003; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 23 Nov 2009 03:50:58 +0000
From monnier@HIDDEN Sun Nov 22 19:50:58 2009
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 <submit@HIDDEN>; 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@HIDDEN; 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@HIDDEN; 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@HIDDEN; 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 <monnier@HIDDEN>)
	id 1NCPwx-0001mK-0s
	for bug-gnu-emacs@HIDDEN; 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 <monnier@HIDDEN>
To: Lennart Borgman <lennart.borgman@HIDDEN>
Cc: 5003 <at> debbugs.gnu.org, Emacs Bugs <bug-gnu-emacs@HIDDEN>
Subject: Re: bug#5003: Allow marking a local variable as permanently unsafe
Message-ID: <jwv8wdx3nng.fsf-monnier+emacsbugreports@HIDDEN>
References: <e01d8a50911210414n6d59eebfq9d986b7462c76cf0@HIDDEN>
Date: Sun, 22 Nov 2009 22:50:40 -0500
In-Reply-To: <e01d8a50911210414n6d59eebfq9d986b7462c76cf0@HIDDEN>
	(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




Acknowledgement sent to Stefan Monnier <monnier@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#5003; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 21 Nov 2009 12:15:05 +0000
From lennart.borgman@HIDDEN Sat Nov 21 04:15:04 2009
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 <submit@HIDDEN>; 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@HIDDEN; 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@HIDDEN; 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@HIDDEN; 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 <lennart.borgman@HIDDEN>)
	id 1NBorg-0002JR-N6
	for bug-gnu-emacs@HIDDEN; Sat, 21 Nov 2009 07:14:56 -0500
Received: by ywh2 with SMTP id 2so4206570ywh.27
        for <bug-gnu-emacs@HIDDEN>; 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 <lennart.borgman@HIDDEN>
Date: Sat, 21 Nov 2009 13:14:36 +0100
Message-ID: <e01d8a50911210414n6d59eebfq9d986b7462c76cf0@HIDDEN>
Subject: Allow marking a local variable as permanently unsafe
To: Emacs Bugs <bug-gnu-emacs@HIDDEN>
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?




Acknowledgement sent to Lennart Borgman <lennart.borgman@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#5003; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.