Path: utzoo!attcan!uunet!snorkelwacker!usc!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!scenic.wa.com!pauld From: pauld@scenic.wa.com (Paul Barton-Davis) Newsgroups: comp.emacs Subject: require & provide Message-ID: <9009261610.AA01539@scenic.scenic.wa.com> Date: 26 Sep 90 16:10:52 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 28 A little gripe/question about the way these are used by most folks. Typical syntax is: (require 'foo) (provide 'bar) .... (elisp code for new mode etc.) Although this is almost always OK (most distributed code tends to work just fine like this), it seems conceptually wrong - 'bar has not yet been provided at the point claimed. It seems more appropriate to use (require 'foo) ... (elisp code) (provide 'bar) This way, any other packages that (require 'bar) are not corrupted by, for instance, terminating a load of bar.el, or the occasional error whilst loading. Just a thought - what do YOU think ? Paul Barton-Davis ScenicSoft, Inc. (206) 776-7760 "Industry without art is brutality"