unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: "Marshall, Simon" <Simon.Marshall@misys.com>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	Eli Zaretskii <eliz@gnu.org>,
	mwelinder@gmail.com, emacs@gentoo.org
Subject: RE: [mwelinder@gmail.com: Emacs security bug]
Date: Wed, 14 May 2008 16:41:44 +0200	[thread overview]
Message-ID: <18474.64040.595931.466683@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <6EE216E1AA959543A555C60FF34FB767041E7E4C@maileube01.misys.global.ad>

>>>>> On Tue, 13 May 2008, Marshall, Simon wrote:

>> > + (put 'fast-lock-cache-directories 'risky-local-variable t)

>> I think this will not work, since above line is only executed
>> after fast-lock has been loaded. So the symbol may not yet have
>> the property when the file variables are evaluated.

>> An autoload cookie would also be sufficient, of course.

> I did wonder about this, but when I looked at how other files were
> adding the property, I noticed many of them did not have an autoload
> cookie...

The autoload cookie would cause the "put" form to appear in the
autoloads of fast-lock. (In the context of Emacs 21, it would then be
included in loaddefs.el.)

However, as Stefan already noted, it's not really relevant for
Emacs 22 or later. And fast-lock isn't even included in loaddefs.el
anymore.

Ulrich




  reply	other threads:[~2008-05-14 14:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09 21:44 [mwelinder@gmail.com: Emacs security bug] Eli Zaretskii
2008-05-09 23:19 ` Chong Yidong
2008-05-10  7:40   ` Eli Zaretskii
2008-05-10  8:28     ` Christian Faulhammer
2008-05-10 14:50 ` Chong Yidong
2008-05-10 15:16   ` Eli Zaretskii
2008-05-12 10:10   ` Marshall, Simon
2008-05-12 14:31     ` Stefan Monnier
2008-05-12 16:37       ` Marshall, Simon
2008-05-12 17:30         ` Stefan Monnier
2008-05-12 20:14         ` Ulrich Mueller
2008-05-12 20:37           ` Ulrich Mueller
2008-05-13  9:00             ` Marshall, Simon
2008-05-14 14:41               ` Ulrich Mueller [this message]
2008-05-14 14:52                 ` Marshall, Simon
2008-05-12 20:45           ` Stefan Monnier
2008-05-12 14:36     ` Florian Weimer
2008-05-12 16:21       ` Marshall, Simon

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=18474.64040.595931.466683@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=Simon.Marshall@misys.com \
    --cc=cyd@stupidchicken.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=emacs@gentoo.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=mwelinder@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).