From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Specifying mode in file variables trouble Date: Sat, 20 Sep 2008 15:03:16 -0400 Message-ID: References: <48D44761.6000809@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221937420 31945 80.91.229.12 (20 Sep 2008 19:03:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2008 19:03:40 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 20 21:04:37 2008 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 1Kh7kz-0000SP-01 for ged-emacs-devel@m.gmane.org; Sat, 20 Sep 2008 21:04:37 +0200 Original-Received: from localhost ([127.0.0.1]:58889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kh7jx-0007q1-7I for ged-emacs-devel@m.gmane.org; Sat, 20 Sep 2008 15:03:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kh7jk-0007lq-Hx for emacs-devel@gnu.org; Sat, 20 Sep 2008 15:03:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kh7jj-0007lC-3i for emacs-devel@gnu.org; Sat, 20 Sep 2008 15:03:20 -0400 Original-Received: from [199.232.76.173] (port=55249 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kh7ji-0007l2-MS for emacs-devel@gnu.org; Sat, 20 Sep 2008 15:03:18 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:25929 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kh7ji-0004N5-Gz for emacs-devel@gnu.org; Sat, 20 Sep 2008 15:03:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiMFAIfl1EjO+KDT/2dsb2JhbACBXbQ3gWWBAw X-IronPort-AV: E=Sophos;i="4.32,437,1217822400"; d="scan'208";a="27156528" Original-Received: from 206-248-160-211.dsl.teksavvy.com (HELO ceviche.home) ([206.248.160.211]) by ironport2-out.teksavvy.com with ESMTP; 20 Sep 2008 15:03:16 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 28EEFB40B1; Sat, 20 Sep 2008 15:03:16 -0400 (EDT) In-Reply-To: <48D44761.6000809@gmail.com> (Lennart Borgman's message of "Sat, 20 Sep 2008 02:44:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:103996 Archived-At: > In other words: Emacs adds "-mode". That is frustrating, but can of > course not be changed. However if Emacs finds that this fails, can it > then check for just the given "symbol"? That'd be a security hole, since opening some random file might then call any arbitrary function. Stefan