home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.emacs:2919 gnu.emacs.help:3803
- Newsgroups: comp.emacs,gnu.emacs.help
- Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!m.cs.uiuc.edu!hasker
- From: hasker@m.cs.uiuc.edu (Rob Hasker)
- Subject: Re: Prefix in elisp packages
- Message-ID: <1992Aug21.132607.5768@m.cs.uiuc.edu>
- Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
- References: <1532@lysator.liu.se> <WEINER.92Aug20192202@ar_server.pts.mot.com>
- Date: Fri, 21 Aug 1992 13:26:07 GMT
- Lines: 24
-
- weiner@ar_server.pts.mot.com (Bob Weiner) writes:
-
- >In article <1532@lysator.liu.se> ceder@lysator.liu.se (Per Cederqvist) writes:
- >
- >> In Common Lisp you reference a symbol in a package by saying
- >> package:symbol. The normal convention in Emacs Lisp is to use
- >> package-symbol instead.
- >
- >> Is there any reason not to adopt the Common Lisp convention in
- >> new packages?
- >
- >Richard Stallman doesn't want to break the file local variable
- >convention...
-
- I don't see how this conflicts with a programming style. Users shouldn't
- be aware of how systems are put together, so it's not appropriate to include
- package names using :'s in user-setable variables and interactive functions.
- But using :'s to organize the code supporting those variables and functions
- really helps. I'm one of many working a 50k-line system written in emacs
- lisp, and the organization gained from using package names has proven to be
- very helpful. But I wouldn't want the user to be aware of the internals of
- how our software is organized.
-
- Rob
-