From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10962 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Possible security hole? nnfolder evaluates local variables.. Date: 17 May 1997 05:36:07 +0200 Message-ID: References: <199705081615.SAA04296@loewner.math.ethz.ch> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035150752 27493 80.91.224.250 (20 Oct 2002 21:52:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:52:32 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id VAA11122 for ; Fri, 16 May 1997 21:49:06 -0700 Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sat, 17 May 1997 06:16:34 +0200 Original-Received: (qmail 20740 invoked by uid 504); 17 May 1997 04:16:33 -0000 Original-Received: (qmail 20737 invoked from network); 17 May 1997 04:16:32 -0000 Original-Received: from ifi.uio.no (0@129.240.64.2) by claymore.vcinet.com with SMTP; 17 May 1997 04:16:32 -0000 Original-Received: from proletcult.slip.ifi.uio.no (root@ppp19.larris.ifi.uio.no [129.240.68.119]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 17 May 1997 06:16:27 +0200 Original-Received: (from larsi@localhost) by proletcult.slip.ifi.uio.no (8.8.2/8.8.2) id FAA18965; Sat, 17 May 1997 05:36:11 +0200 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: Jan Vroonhof's message of 09 May 1997 12:10:25 +0200 Original-Lines: 26 X-Mailer: Gnus v5.4.52/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > I hope that larsi can find the old Changelog entry that introduced it. > Going back to rgnus learns that it was introduced BEFORE the > file-local variables thing was introduced in the ordinary version. I have no idea why nnheaderxm.el includes the copies of these functions at all. Steven, you're the one who put them back in after I removed them -- was it an XEmacs 19.13 thing or something? In comparison, the function used under Emacs is rather small and straightforward: (defun nnheader-find-file-noselect (&rest args) (let ((format-alist nil) (auto-mode-alist (nnheader-auto-mode-alist)) (default-major-mode 'fundamental-mode) (enable-local-variables nil) (after-insert-file-functions nil)) (apply 'find-file-noselect args))) Shouldn't this work under XEmacs as well? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen