Hi all, I've updated the BRAT Elisp helper functions. Get 'em while they are hot. http://pii3.brahms.bnl.gov/~brahmlib/brat/elisp or /afs/rhic/brahms/BRAHMS_CVS/brahms_app/cholm_app/elisp Changes are: * Fix to brat-source-skel, so that it inserts the Finish method too. Thanks to Peter for spotting that mistake. * brat-header-skel and brat-source-skel will figure out by themselves wether the class is a module or not, based on the file names. Iff the determind class name ends in Module, Package or Filter, then it's a module. * Added function brat-class. This will make a set of declaration (header) and implmentation (source) file for the a class specified by the user. The brat-header-skel and brat-source-skel is executed in thee appropiate fill, to give you a full skeleton. You'll be prompted for where to put the header and source files. Typing [RET] gives the default. Typing . [RET] will put the file in the current directory. The header file is per default put in subdirectory "inc" and the source file in subdirectory "src". Note: This function will refuse to overwrite existing files, and will fail if you don't have access to the relevant directories. * brat-config-skel will prompt the user for modules to insert. Typing just [RET] will end that loop. * brat-insert-option will insert the instantation of a BrAppOption as appropiate for a configuration script. * brat-insert-module will insert an instantation of module as appropiate for a configuration script. Hope you like it and find it useful. Yours, Christian ----------------------------------------------------------- Holm Christensen Phone: (+45) 35 35 96 91 Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 DK-2200 Copenhagen N Web: www.nbi.dk/~cholm Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b29 : Sun May 27 2001 - 07:56:49 EDT