Your message dated Wed, 18 May 2011 11:47:33 +0000
with message-id <[email protected]>
and subject line Bug#607110: fixed in js2-mode 0~20090723b-1
has caused the Debian Bug report #607110,
regarding js2-mode: js2-basic-offset appears to be an "unsafe" variable (warns
in .dir-locals.el)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
607110: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607110
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: js2-mode
Version: 0~20090723b-0.1
Severity: normal
It's often nice to document coding conventions automatically in
.dir-locals.el, so that people using emacs can collaborate without
needless pain.
here's a .dir-locals.el file i'd like to use in a project i'm using:
-----------------
;make it easier for emacs users to keep a consistent style.
((js2-mode . ((js2-basic-offset . 2)
(indent-tabs-mode . nil))))
-----------------
However, when i open a .js file in a directory containing this
.dir-locals.el file, i get this warning:
--------------------------
The local variables list in /......../
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.)
* js2-basic-offset : 2
indent-tabs-mode : nil
--------------------------
I do *not* get this warning for .dir-locals.el files that contain
c-basic-offset directives, and i'm pretty sure i've never made this
decision explicitly.
If it is actually unsafe to auto-set js2-basic-offset to a
file-supplied value, that seems problematic.
If it is not actually unsafe to do so, it would be good to avoid
triggering this error message.
Regards,
--dkg
PS thanks for js2-mode. it's very helpful for me.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.36-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages js2-mode depends on:
ii emacs [emacsen] 23.2+1-5.1 The GNU Emacs editor (metapackage)
ii emacs23 [emacsen] 23.2+1-5.1 The GNU Emacs editor (with GTK+ us
ii emacsen-common 1.4.22 Common facilities for all emacsen
js2-mode recommends no packages.
js2-mode suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: js2-mode
Source-Version: 0~20090723b-1
We believe that the bug you reported is fixed in the latest version of
js2-mode, which is due to be installed in the Debian FTP archive:
js2-mode_0~20090723b-1.debian.tar.gz
to main/j/js2-mode/js2-mode_0~20090723b-1.debian.tar.gz
js2-mode_0~20090723b-1.dsc
to main/j/js2-mode/js2-mode_0~20090723b-1.dsc
js2-mode_0~20090723b-1_all.deb
to main/j/js2-mode/js2-mode_0~20090723b-1_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Bernat <[email protected]> (supplier of updated js2-mode package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 18 May 2011 13:08:37 +0200
Source: js2-mode
Binary: js2-mode
Architecture: source all
Version: 0~20090723b-1
Distribution: unstable
Urgency: low
Maintainer: Vincent Bernat <[email protected]>
Changed-By: Vincent Bernat <[email protected]>
Description:
js2-mode - Emacs mode for editing Javascript programs
Closes: 607110
Changes:
js2-mode (0~20090723b-1) unstable; urgency=low
.
* Apply a patch from Dmitry Gutov to make some local variables
safe. Closes: #607110.
* Switch to 3.0 quilt format.
* Acknowledge NMU from Hilko Bengen.
* Bump Standards-Version to 3.9.2.
Checksums-Sha1:
0e72357a3d9cd3b6243c628745f4a292f1f0c1b9 1188 js2-mode_0~20090723b-1.dsc
90b650348792e6ee7a2c6b4ea144e5a18dd72ef4 3964
js2-mode_0~20090723b-1.debian.tar.gz
be2bc3954d072cd29f42321b0b5fd4ba713bb4fe 108862 js2-mode_0~20090723b-1_all.deb
Checksums-Sha256:
88251f638747d87f7963f6265c1a786ea4bd58f040a250a41ad3b2ca1832af33 1188
js2-mode_0~20090723b-1.dsc
de8ed563c8ee72773dde14b8932cc33944fc838c08f11e5f4632c501a1d3417f 3964
js2-mode_0~20090723b-1.debian.tar.gz
4949f144cbc08daddea99429de928c703f86cad4c908eca6adebbb6489c584bb 108862
js2-mode_0~20090723b-1_all.deb
Files:
4029ae98c03b8fa1b79cf6daf33d691c 1188 editors optional
js2-mode_0~20090723b-1.dsc
d594383841f17f89ec9625fa967a689a 3964 editors optional
js2-mode_0~20090723b-1.debian.tar.gz
da079bcc9fe11d5033d9e90932aeeb50 108862 editors optional
js2-mode_0~20090723b-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk3TrtoACgkQKFvXofIqeU7s9ACbBPigzD5HzktwRDw4QDDw4XM4
r4EAn3SiQvxN+378rAr/p/09F98vIOq6
=mpGd
-----END PGP SIGNATURE-----
--- End Message ---