Mercurial > hg > xemacs-beta
view nt/installer/Wise/README @ 4506:bd28481bb0e1
Port #'window-buffer-height, #'fit-window-to-buffer, & window, buf, functions.
lisp/ChangeLog addition:
2008-08-31 Aidan Kehoe <kehoea@parhasard.net>
* window.el (only-window-p): New.
Check if WINDOW is the only window in some context, normally its
frame.
(one-window-p):
Implemented this in terms of #'only-window-p, calling it on the
selected window.
(window-buffer-height): Uncomment this, make it work.
(count-screen-lines): Support a BUFFER argument.
(fit-window-to-buffer): Uncomment this, correct its implementation
to work with XEmacs.
* help.el (temp-buffer-resize-mode): New. Name taken from GNU,
implementation our own.
* (resize-temp-buffer-window): New. GNU-compatible alias for
#'shrink-window-if-larger-than-buffer.
* dumped-lisp.el (preloaded-file-list): Move easy-mmode before
help, now that the latter uses #'define-minor-mode.
* frame.el: Point to #'temp-buffer-resize-mode in a comment.
Some of this code is from GNU; help.el CVS version 1.327 of
2007-03-21, window.el CVS version 1.122, of 2007-06-24. Both these
are GPLV2 or later.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 31 Aug 2008 12:26:46 +0200 |
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!