Mercurial > hg > xemacs-beta
view nt/installer/Wise/README @ 4695:fee33ab25966
Add arglist info for autoloaded functions and macros.
lisp/ChangeLog addition:
2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
Add arglist information to docstrings for autoloaded functions and
macros.
* hyper-apropos.el (hyper-apropos-get-doc):
Treat autoload docstrings like subr docstrings; correct the regexp
used.
* help.el (describe-function-show-arglist):
This no longer treats autoloads specially.
(function-arglist): Treat autoload docstrings like subr docstrings.
(function-documentation): Treat documentation strings that are
zero-length after the arglist has been removed as indicating a
lack of documentation.
* cl-macs.el (case):
(ecase):
(typecase):
(etypecase):
(block):
(return):
(return-from):
(progv):
(lexical-let):
(lexical-let*):
(remf):
(callf):
(callf2):
(define-modify-macro):
(deftype):
(define-compiler-macro):
Rely on the autoload code to always show an arglist for these
functions, don't supply an ad-hoc one in the docstring.
These changes are for the most obvious functions; there are some
missed that would require changing argument names in the docstring
or in the function bodies.
* autoload.el (make-autoload):
Add arg list information to the doc string, using the same
approach as for subrs.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 20 Sep 2009 23:50:05 +0100 |
parents | 74fd4e045ea6 |
children |
line wrap: on
line source
To use: You need to build and install the XEmacs distribution. Also you need the xemacs packages in both source and installed versions. Edit "dirs.py" to reflect the locations of the above components. Edit "version.py" to reflect the current version, as well as the welcome message. Run python pre_wise.py > xemacs-XXX.wse (for XXX use a version or date code of your choosing) Run cmd /c xemacs-XXX.wse to produce xemacs-XXX.exe "pre_wise.py" is a preprocessor for the Wise installer maker. It reads "xemacs.tmpl" which is a Wise input file, except that certain portions are enclosed in triple angle brackets <<<like this>>> These portions are evaluated as Python expressions and replaced by the string representations of the resulting value. This allows for things to change from release to release without having to re-do the Wise installation each time. Also it keeps you from having to manually drag-n-drop all the package files, which is rather tedious!