From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10965 Path: main.gmane.org!not-for-mail From: Steven L Baur Newsgroups: gmane.emacs.gnus.general Subject: Re: Possible security hole? nnfolder evaluates local variables.. Date: 16 May 1997 22:22:16 -0700 Message-ID: References: <199705081615.SAA04296@loewner.math.ethz.ch> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035150755 27521 80.91.224.250 (20 Oct 2002 21:52:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:52:35 +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 DAA11658 for ; Sat, 17 May 1997 03:59:45 -0700 Original-Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 17 May 1997 07:21:12 +0200 Original-Received: (from steve@localhost) by altair.xemacs.org (8.8.5/8.8.5) id WAA06409; Fri, 16 May 1997 22:22:18 -0700 Mail-Copies-To: never Original-To: ding@ifi.uio.no X-Url: http://www.miranova.com/%7Esteve/ X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5" f8*@r4ipO6Jl!:Ccqp:9I OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+ X-Attribution: sb In-Reply-To: Lars Magne Ingebrigtsen's message of 17 May 1997 05:36:07 +0200 Original-Lines: 37 X-Mailer: Gnus v5.4.52/XEmacs 20.2 Xref: main.gmane.org gmane.emacs.gnus.general:10965 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10965 Lars Magne Ingebrigtsen writes: > 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? I recall that (digging ...) September Gnus v0.27 removed by you, September Gnus v0.28 restored by me. Tue Jan 16 17:25:28 1996 Steven L. Baur ... * gnus-xmas.el (insert-file-contents-literally): Restored from v0.26 nnheader.el since XEmacs 19.13 doesn't have this function. This was the period I was working around an extremely ugly XEmacs internals bug that interacted very badly with nnmh. If this is the reason those functions are still there, I think it's safe to kill them now. :-) > 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? It looks O.K. to me. -- steve@calag.com baur Unsolicited commercial e-mail will be billed at $250/message.