Mercurial > hg > xemacs-beta
annotate etc/README @ 5566:4654c01af32b
Improve the implementation, documentation of #'labels, #'flet.
lisp/ChangeLog addition:
2011-09-07 Aidan Kehoe <kehoea@parhasard.net>
* bytecomp.el:
* bytecomp.el (for-effect): Move this earlier in the file, it's
referenced in byte-compile-initial-macro-environment.
* bytecomp.el (byte-compile-initial-macro-environment):
In the byte-compile-macro-environment definition for #'labels, put
off the compiling the lambda bodies until the point where the rest
of the form is being compiled, allowing the lambda bodies to
access appropriate values for byte-compile-bound-variables, and
reducing excessive warning about free variables.
Add a byte-compile-macro-environment definition for #'flet. This
modifies byte-compile-function-environment appropriately, and
warns about bindings of functions that have macro definitions in
the current environment, about functions that have byte codes, and
about functions that have byte-compile methods (which may not do
what the user wants at runtime).
* bytecomp.el (byte-compile-funcall):
If FUNCTION is constant, call #'byte-compile-callargs-warn if
that's appropriate, giving warnings about problems with calling
functions bound with #'labels.
* cl-macs.el:
* cl-macs.el (flet):
Mention the main difference from Common Lisp, that the bindings
are dynamic, not lexical. Counsel the use of #'labels, not #'flet,
for this and other reasons. Explain the limited single use case for
#'flet. Cross-reference to bytecomp.el in a comment.
* cl-macs.el (labels):
Go into detail on which functions may be called from
where. Explain how to access the function definition of a label
within FORM. Add a comment cross-referencing to bytecomp.el.
man/ChangeLog addition:
2011-09-07 Aidan Kehoe <kehoea@parhasard.net>
* cl.texi (Function Bindings):
Move #'labels first, describe it in more detail, explaining that
it is to be preferred over #'flet, and explaining why.
Explain that dynamic bindings with #'flet will also not work when
functions are accessed through their bytecodes.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 07 Sep 2011 16:26:45 +0100 |
parents | a883e09e54f7 |
children |
rev | line source |
---|---|
428 | 1 |
2 This directory contains some text files of documentation for XEmacs or | |
3 of interest to XEmacs users, some programs used by or with XEmacs, and | |
4 the file of on-line documentation for XEmacs. | |
5 | |
6 COPYING GNU Public License | |
2537 | 7 ChangeLog ChangeLog for etc/ |
8 ETAGS.EBNF Description of TAGS file format | |
428 | 9 Emacs.ad Sample Resource file |
2537 | 10 HELLO Hello in many languages (Mule test file) |
428 | 11 InstallGuide Fast track to installation |
2537 | 12 NEWS XEmacs 21.5 release information |
13 ONEWS Older release information | |
14 OONEWS Even older release information | |
428 | 15 README This file |
16 TUTORIAL Tutorial for first time users (English version) | |
17 TUTORIAL.* Tutorials in non-English languages | |
2537 | 18 VEGETABLES XEmacs 21.5 code names |
428 | 19 XKeysymDB X Keysym Database with Motif bindings |
4428
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
20 cbx.png "Created by XEmacs" logo (150x54 8bpp) |
428 | 21 ctags.1 Ctags man page |
22 custom/ Images used in Custom mode | |
23 editclient.sh Either start up XEmacs or connect to a running one | |
24 emacskeys.sco | |
25 emacsstrs.sco Special files for running on an SCO console | |
26 eos/ Images for EOS support (GUD) | |
27 etags.1 Etags man page | |
28 gnuattach.1 Gnuattach man page | |
29 gnuclient.1 Gnuclient man page | |
30 gnudoit.1 Gnudoit man page | |
31 gnuserv.1 Gnuserv man page | |
32 gnuserv.README Original README file from gnuserv | |
4428
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
33 gray1.xbm Halftone gray bitmap (16x16) |
2537 | 34 idd/ ? |
35 package-index.LATEST.gpg ? | |
36 photos/* Various pictures of XEmacs developers | |
4428
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
37 recycle.xpm Chartreuse recycle cursor (51x51) |
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
38 recycle2.xpm Chartreuse recycle cursor (32x32) |
428 | 39 refcard.ps.gz Postscript version of XEmacs reference card |
40 refcard.tex XEmacs reference card | |
1389 | 41 sample.Xdefaults (legacy -- to be removed) |
42 sample.Xresources Example ~/.Xresources file | |
462 | 43 sample.init.el Example ~/.xemacs/init.el file |
428 | 44 sparcworks/ Support files for Sparcworks |
45 tests/ Testcases for external widget | |
46 toolbar/ Image files for the toolbar | |
4428
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
47 trash.xpm B&W garbage can icon (32x46) |
2537 | 48 unicode/ Unicode conversion tables |
4429
a883e09e54f7
Add Dan Polansky's icons. <87ejayxrsm.fsf@uwakimon.sk.tsukuba.ac.jp>
Stephen J. Turnbull <stephen@xemacs.org>
parents:
4428
diff
changeset
|
49 xemacs-X-16.png Violet boxed X icon (16x16) |
a883e09e54f7
Add Dan Polansky's icons. <87ejayxrsm.fsf@uwakimon.sk.tsukuba.ac.jp>
Stephen J. Turnbull <stephen@xemacs.org>
parents:
4428
diff
changeset
|
50 xemacs-X-32.png Violet boxed X icon (32x32) |
a883e09e54f7
Add Dan Polansky's icons. <87ejayxrsm.fsf@uwakimon.sk.tsukuba.ac.jp>
Stephen J. Turnbull <stephen@xemacs.org>
parents:
4428
diff
changeset
|
51 xemacs-X.ico Violet boxed X icon in MS Windows format |
4428
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
52 xemacs-beta.xpm XEmacs Beta logo for splashscreen (388x145) |
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
53 xemacs-enhanced.png "XEmacs-enhanced" logo (90x32) |
428 | 54 xemacs-fe.sh XEmacs frontend driver |
4428
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
55 xemacs-icon.xpm Color XE on page icon (48x48) |
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
56 xemacs-icon2.xbm B&W kitchen sink icon (50x50) |
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
57 xemacs-icon2.xpm Color kitchen sink icon (50x50) |
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
58 xemacs-icon3.xpm Grayscale X icon (48x48) |
428 | 59 xemacs.1 XEmacs man page |
4428
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
60 xemacs.xbm Half-tone XEmacs logo (266x61) |
a2954f0b7507
Improve etc/README.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
2537
diff
changeset
|
61 xemacs.xpm XEmacs logo for splashscreen (388x145) |