home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.emacs:2892 gnu.emacs.help:3772
- Newsgroups: comp.emacs,gnu.emacs.help
- Path: sparky!uunet!mcsun!sunic!liuida!isy!lysator.liu.se!ceder
- From: ceder@lysator.liu.se (Per Cederqvist)
- Subject: Prefix in elisp packages
- Message-ID: <1532@lysator.liu.se>
- Summary: Should we use prefix: instead of prefix- in elisp programs?
- Keywords: Prefix, colon
- Sender: news@isy.liu.se (Lord of the News)
- Organization: Lysator Academic Computer Society, Linkoping University, Sweden
- Date: Tue, 18 Aug 1992 22:00:44 GMT
- Lines: 22
-
- 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.
-
- I have seen that Epoch uses the Common Lisp convention, and I
- like it. It makes the names more readable, in my opinion.
-
- Common Lisp also uses package::symbol for internal symbols
- (similar to static functions in C). Even if Emacs Lisp doesn't
- have any package mechanism that convention makes it easy to see
- which functions in a package that are intended for general use.
-
- Is there any reason not to adopt the Common Lisp convention in
- new packages?
-
-
- Disclaimer: I don't know the origin of the : convention.
-
- --
- Per Cederqvist, Lysator Academic Computer Assoc., Univ. of Linkoping, Sweden
- Email: ceder@lysator.liu.se
- Phone: +46 13 26 09 17 "CVS - Check It Out!"
-