From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: file local variables Date: Mon, 14 Dec 2009 23:34:59 +0200 Organization: JURTA Message-ID: <87ljh59r3w.fsf@mail.jurta.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260827222 28554 80.91.229.12 (14 Dec 2009 21:47:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2009 21:47:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 14 22:46:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKIhT-0004U3-LO for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 22:43:27 +0100 Original-Received: from localhost ([127.0.0.1]:37398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKIhT-00082j-H5 for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 16:43:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKIgX-0007de-3b for emacs-devel@gnu.org; Mon, 14 Dec 2009 16:42:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKIgS-0007cU-Ad for emacs-devel@gnu.org; Mon, 14 Dec 2009 16:42:28 -0500 Original-Received: from [199.232.76.173] (port=34682 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKIgS-0007cR-5S for emacs-devel@gnu.org; Mon, 14 Dec 2009 16:42:24 -0500 Original-Received: from smtp-out3.starman.ee ([85.253.0.5]:49145 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKIgR-0007cx-Ru for emacs-devel@gnu.org; Mon, 14 Dec 2009 16:42:24 -0500 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.94.164.cable.starman.ee [82.131.94.164]) by mx1.starman.ee (Postfix) with ESMTP id B39A63F41F9 for ; Mon, 14 Dec 2009 23:42:16 +0200 (EET) In-Reply-To: (Francesc Rocher's message of "Mon, 14 Dec 2009 19:24:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118625 Archived-At: BTW, while looking at this bug, I noticed a security hole in using duplicate file local variables. `hack-local-variables-filter' checks for the safety the value of the *last* duplicate local variable in the list (the first in the reversed list), but `hack-local-variables' uses an unchecked value of the *first* duplicate local variable. -- Juri Linkov http://www.jurta.org/emacs/