Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: Possible security hole? nnfolder evaluates local variables..
Date: 17 May 1997 16:19:06 +0200	[thread overview]
Message-ID: <kigu3k241wl.fsf@jagor.srce.hr> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 17 May 1997 05:36:07 +0200

Lars Magne Ingebrigtsen <larsi@gnus.org> 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 <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Oh lord won't you buy me a color TV...


  parent reply	other threads:[~1997-05-17 14:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2oham11cj.fsf@proletcult.slip.ifi.uio.no>
1997-05-08 16:15 ` vroonhof
1997-05-08 19:54   ` Steven L Baur
1997-05-09 10:10     ` Jan Vroonhof
1997-05-17  3:36       ` Lars Magne Ingebrigtsen
1997-05-17  5:22         ` Steven L Baur
1997-05-19  0:06           ` Lars Magne Ingebrigtsen
1997-05-17 14:19         ` Hrvoje Niksic [this message]
1997-05-17  3:34   ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kigu3k241wl.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).