From unknown Sat Jun 14 05:10:12 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#20818: 24.3; `whitespace-line-column' should be a safe file-local variable
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 15 Jun 2015 15:27:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 20818
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 20818@debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.143438200729455
(code B ref -1); Mon, 15 Jun 2015 15:27:01 +0000
Received: (at submit) by debbugs.gnu.org; 15 Jun 2015 15:26:47 +0000
Received: from localhost ([127.0.0.1]:54847 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.80)
(envelope-from )
id 1Z4WHe-0007ez-D7
for submit@debbugs.gnu.org; Mon, 15 Jun 2015 11:26:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46268)
by debbugs.gnu.org with esmtp (Exim 4.80)
(envelope-from ) id 1Z4WHb-0007ek-V4
for submit@debbugs.gnu.org; Mon, 15 Jun 2015 11:26:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1Z4WHH-0001JI-Tz
for submit@debbugs.gnu.org; Mon, 15 Jun 2015 11:26:38 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57850)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1Z4WHH-0001BW-KU
for submit@debbugs.gnu.org; Mon, 15 Jun 2015 11:26:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56159)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1Z4W9g-0000hC-0K
for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2015 11:18:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1Z4W9e-0005EG-MU
for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2015 11:18:31 -0400
Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:34463)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1Z4W9e-0005E4-DP
for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2015 11:18:30 -0400
Received: by wicnd19 with SMTP id nd19so28090076wic.1
for ; Mon, 15 Jun 2015 08:18:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=from:to:subject:date:message-id:mime-version:content-type
:content-transfer-encoding;
bh=KpZzTKj+7kVxREdOfN9IknBIm4fY3M9V/FiesXkxH2I=;
b=g8+T4ZhJB42ewgLINX2VlAD0CJ4e2AK+b3b7QnuqlTMAZ8PFhAk3K/kxows+hI1ldo
qnecv2iCwbOcuslvjJH4nywz7hhZIi3cUui1HEvd+WkIM5s5XTD26J8cSQPFxmODSQja
qZIqFhPjbqGy9d+8VGdbvVA1uvnVuj6tXVbxn+XIewFbJs4Bwr5j0f9TmXOM6JgFs7hW
GfgCvpBnhkaOI0E44LMNikELFOxqraEbt5QKEzgVoYgMunCPl78DM2ln5PJu+eqAV0l2
W/Fri4rh8Dv6cgSbzgae4SFyZydTikn+SFxx1V9l/EwLJEKXLZa9TPUjWZLiGdLOYlei
Xdiw==
X-Received: by 10.194.10.165 with SMTP id j5mr31463141wjb.147.1434381509850;
Mon, 15 Jun 2015 08:18:29 -0700 (PDT)
Received: from phst2.muc.corp.google.com ([2620:0:1046:0:7131:e869:b249:e901])
by mx.google.com with ESMTPSA id
wx9sm19382759wjb.6.2015.06.15.08.18.28 for
(version=TLSv1.2 cipher=RC4-SHA bits=128/128);
Mon, 15 Jun 2015 08:18:29 -0700 (PDT)
From: Philipp Stephani
Date: Mon, 15 Jun 2015 17:18:23 +0200
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
(bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
(bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
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.8 (---)
Create a file that has `whitespace-line-column' as file-local variable.
Upon loading the file, the prompt for applying this unsafe variable
appears. I think the variable could be marked safe if it's either an
integer or nil.
In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
of 2014-03-07 on lamiak, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04 LTS
Configured using:
`configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
'--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib'
'--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info'
'--mandir=3D/usr/share/man' '--with-pop=3Dyes'
'--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/2=
4.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-l=
isp:/usr/share/emacs/site-lisp'
'--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--with-x=3Dyes'
'--with-x-toolkit=3Dgtk3' '--with-toolkit-scroll-bars'
'build_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-g -O2 -fstack-protector
--param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -Wall'
'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro'
'CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2''
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
whitespace-mode: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-x C-f / t m p / a a n C-u M-x s e=20
t - f i l v a r=20
w h i t e s p l i - c =20
2 0 C-u M-x =20
2 s-u M-x r e v e r t - b u f =20
y e s y C-e C-x =3D SPC a SPC a C-x C-s M-x=20
y e s y =20
=20
M-x r e p o r t
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Please type y, n, or !: n
Please type y, n, or !: y
Char: C-j (10, #o12, #xa) point=3D16 of 94 (16%) column=3D15
Saving file /tmp/aaa.txt...
Wrote /tmp/aaa.txt
Please type y, n, or !: y
byte-code: End of buffer
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils cus-edit easymenu cus-start cus-load wid-edit
help-fns disp-table whitespace time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
--=20
Google Germany GmbH
Dienerstra=C3=9Fe 12
80331 M=C3=BCnchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Gesch=C3=A4ftsf=C3=BChrer: Graham Law, Christine Elizabeth Flores
Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind,
leiten Sie diese bitte nicht weiter, informieren Sie den Absender und l=C3=
=B6schen
Sie die E-Mail und alle Anh=C3=A4nge. Vielen Dank.
=20=20=20=20=20=20=20
This e-mail is confidential. If you are not the right addressee please do =
not
forward it, please inform the sender, and please erase this e-mail including
any attachments. Thanks.
From unknown Sat Jun 14 05:10:12 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#20818: 24.3; `whitespace-line-column' should be a safe file-local variable
Resent-From: Lars Ingebrigtsen
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 01 Aug 2019 21:25:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 20818
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Philipp Stephani
Cc: 20818@debbugs.gnu.org
Received: via spool by 20818-submit@debbugs.gnu.org id=B20818.156469467830033
(code B ref 20818); Thu, 01 Aug 2019 21:25:02 +0000
Received: (at 20818) by debbugs.gnu.org; 1 Aug 2019 21:24:38 +0000
Received: from localhost ([127.0.0.1]:55521 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1htIYw-0007oK-Bt
for submit@debbugs.gnu.org; Thu, 01 Aug 2019 17:24:38 -0400
Received: from quimby.gnus.org ([80.91.231.51]:46786)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1htIYu-0007o9-4H
for 20818@debbugs.gnu.org; Thu, 01 Aug 2019 17:24:36 -0400
Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy)
by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.89) (envelope-from )
id 1htIYp-00043Q-6i; Thu, 01 Aug 2019 23:24:33 +0200
From: Lars Ingebrigtsen
References:
Date: Thu, 01 Aug 2019 23:24:30 +0200
In-Reply-To: (Philipp Stephani's
message of "Mon, 15 Jun 2015 17:18:23 +0200")
Message-ID: <87v9vgbmup.fsf@mouse.gnus.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
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: Philipp Stephani writes: > Create
a file that has `whitespace-line-column' as file-local variable. > Upon
loading
the file, the prompt for applying this unsafe variable > appears. I think
the variable could be marked safe if [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
0.0 TVD_RCVD_IP Message was received from an IP address
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
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: -1.0 (-)
Philipp Stephani writes:
> Create a file that has `whitespace-line-column' as file-local variable.
> Upon loading the file, the prompt for applying this unsafe variable
> appears. I think the variable could be marked safe if it's either an
> integer or nil.
Looks like this has been fixed in the years since this bug was filed:
This variable is safe as a file local variable if its value
satisfies the predicate =E2=80=98integerp=E2=80=99.
It's only for integerp, not nil, though.
--=20
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 01 17:24:42 2019
Received: (at control) by debbugs.gnu.org; 1 Aug 2019 21:24:42 +0000
Received: from localhost ([127.0.0.1]:55524 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1htIZ0-0007ob-JC
for submit@debbugs.gnu.org; Thu, 01 Aug 2019 17:24:42 -0400
Received: from quimby.gnus.org ([80.91.231.51]:46800)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1htIYy-0007oT-Ow
for control@debbugs.gnu.org; Thu, 01 Aug 2019 17:24:41 -0400
Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy)
by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.89) (envelope-from ) id 1htIYw-00043W-73
for control@debbugs.gnu.org; Thu, 01 Aug 2019 23:24:40 +0200
Date: Thu, 01 Aug 2019 23:24:37 +0200
Message-Id: <87tvb0bmui.fsf@mouse.gnus.org>
To: control@debbugs.gnu.org
From: Lars Ingebrigtsen
Subject: control message for bug #20818
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 20818 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
0.0 TVD_RCVD_IP Message was received from an IP address
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
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: -1.0 (-)
close 20818
quit