emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: A suggestion, now that Muse has a file extensio


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: A suggestion, now that Muse has a file extension
Date: Fri, 16 Dec 2005 11:03:36 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"Phillip Lord" <address@hidden> writes:

> I've been thinking about this also. It might well be worth taking a
> look at the project file mechanism in JDE (the java development
> environment for emacs). I believe that Paul has abstracted a lot of
> the code base away from core JDE for this. The system uses custom to
> generate the modification code; this is a lot less trivial than it
> sounds as custom does provide support for buffer local variables.
>
> The system is pretty nice and it might save a reasonable amoutn of
> code duplication. I'm reasonably sure that Paul would be happy to
> accept any changes necessary to make this work back into JDE.

The jde-project-file.el code looks interesting.  I'm a bit leery of
implementing this feature, though, because it uses load-file to load
the settings.  It seems that if someone got write access to a project
file, they could easily insert arbitrary code in the file and it would
get executed automatically.

At least with keeping your settings in one file (or directory), it's
easier to keep the permission settings correct.

I won't be implementing this myself, but if someone is willing to
provide such a feature, I would probably include it, just not enabled
by default.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: manga, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpRyd1Tm3ULn.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]