From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10969 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Possible security hole? nnfolder evaluates local variables.. Date: 17 May 1997 16:19:06 +0200 Message-ID: References: <199705081615.SAA04296@loewner.math.ethz.ch> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035150758 27533 80.91.224.250 (20 Oct 2002 21:52:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:52:38 +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 LAA12312 for ; Sat, 17 May 1997 11:59:09 -0700 Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 17 May 1997 16:19:17 +0200 Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.8.5/8.8.4) id QAA12366; Sat, 17 May 1997 16:19:07 +0200 (MET DST) Original-To: ding@ifi.uio.no X-Save-Project-Gutenberg: X-Attribution: Hrv X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/xDi&N7XG KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&Ff%x_>1`T(+M2Gg/fgndU%k*ft [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J In-Reply-To: Lars Magne Ingebrigtsen's message of 17 May 1997 05:36:07 +0200 Original-Lines: 18 X-Mailer: Gnus v5.4.52/XEmacs 19.15 Xref: main.gmane.org gmane.emacs.gnus.general:10969 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10969 Lars Magne Ingebrigtsen writes: > (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? Looks good to me. -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- Oh lord won't you buy me a color TV...