annotate etc/README @ 4995:8431b52e43b1

Move the various map* functions to C; add #'map-into. src/ChangeLog addition: 2010-01-31 Aidan Kehoe <kehoea@parhasard.net> Move #'mapcar*, #'mapcan, #'mapc, #'map, #'mapl, #'mapcon to C; extend #'mapvector, #'mapconcat, #'mapcar to support more SEQUENCES; have them all error with circular lists. * fns.c (Fsubseq): Call CHECK_SEQUENCE here; Flength can return from the debugger if it errors with a non-sequence, leading to a crash in Fsubseq if sequence really is *not* a sequence. (mapcarX): Rename mapcar1 to mapcarX; rework it comprehensively to take an optional lisp output argument, and a varying number of sequences. Special-case a single list argument, as we used to, saving its elements in the stack space for the results before calling FUNCTION, so FUNCTION can corrupt the list all it wants. dead_wrong_type_argument() in the other cases if we encounter a non-cons where we expected a cons. (Fmapconcat): Accept further SEQUENCES after separator here. Special-case the idiom (mapconcat 'identity SEQUENCE), don't even funcall. (FmapcarX): Rename this from Fmapcar. Accept optional SEQUENCES. (Fmapvector): Accept optional SEQUENCES. (Fmapcan, Fmapc, Fmap): Move these here from cl-extra.el. (Fmap_into): New function, as specified by Common Lisp. (maplist): New function, the guts of the implementation of Fmaplist and Fmapl. (Fmaplist, Fmapl, Fmapcon): Move these from cl-extra.el. (syms_of_fns): Add a few needed symbols here, for the type tests used by #'map. Add the new subrs, with aliases for #'mapc-internal and #'mapcar. * general-slots.h: Declare Qcoerce here, now it's used in both indent.c and fns.c * indent.c (syms_of_indent): Qcoerce is gone from here. * lisp.h: Add ARRAYP(), SEQUENCEP(), and the corresponding CHECK_* macros. Declare Fbit_vector, Fstring, FmapcarX, now other files need to use them. * data.c (Farrayp, Fsequencep): Use ARRAYP and SEQUENCEP, just added to lisp.h * buffer.c (Fbuffer_list): Now Fmapcar has been renamed FmapcarX and takes MANY arguments, update this function to reflect that. lisp/ChangeLog addition: 2010-01-31 Aidan Kehoe <kehoea@parhasard.net> * cl.el (mapcar*): Delete; this is now in fns.c. Use #'mapc, not #'mapc-internal in a couple of places. * cl-macs.el (mapc, mapcar*, map): Delete these compiler macros now the corresponding functions are in fns.c; there's no run-time advantage to the macros. * cl-extra.el (coerce): Extend the possible conversions here a little; it's not remotely comprehensive yet, though it does allow running slightly more Common Lisp code than previously. (cl-mapcar-many): Delete. (map, maplist, mapc, mapl, mapcan, mapcon): Move these to fns.c. * bytecomp.el (byte-compile-maybe-mapc): Use #'mapc itself, not #'mapc-internal, now the former is in C. (mapcar*): Use #'byte-compile-maybe-mapc as this function's byte-compile method, now a #'mapc that can take more than one sequence is in C. * obsolete.el (cl-mapc): Move this compatibility alias to this file. * update-elc.el (do-autoload-commands): Use #'mapc, not #'mapc-internal here.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 31 Jan 2010 18:29:48 +0000
parents a883e09e54f7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 This directory contains some text files of documentation for XEmacs or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 of interest to XEmacs users, some programs used by or with XEmacs, and
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 the file of on-line documentation for XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 COPYING GNU Public License
2537
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
7 ChangeLog ChangeLog for etc/
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
8 ETAGS.EBNF Description of TAGS file format
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 Emacs.ad Sample Resource file
2537
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
10 HELLO Hello in many languages (Mule test file)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 InstallGuide Fast track to installation
2537
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
12 NEWS XEmacs 21.5 release information
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
13 ONEWS Older release information
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
14 OONEWS Even older release information
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 README This file
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 TUTORIAL Tutorial for first time users (English version)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 TUTORIAL.* Tutorials in non-English languages
2537
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
18 VEGETABLES XEmacs 21.5 code names
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
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
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 ctags.1 Ctags man page
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 custom/ Images used in Custom mode
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 editclient.sh Either start up XEmacs or connect to a running one
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 emacskeys.sco
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 emacsstrs.sco Special files for running on an SCO console
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 eos/ Images for EOS support (GUD)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 etags.1 Etags man page
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 gnuattach.1 Gnuattach man page
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29 gnuclient.1 Gnuclient man page
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30 gnudoit.1 Gnudoit man page
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31 gnuserv.1 Gnuserv man page
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
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
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
34 idd/ ?
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
35 package-index.LATEST.gpg ?
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
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
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 refcard.ps.gz Postscript version of XEmacs reference card
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40 refcard.tex XEmacs reference card
1389
6355bae896e3 [xemacs-hg @ 2003-03-27 12:57:36 by stephent]
stephent
parents: 462
diff changeset
41 sample.Xdefaults (legacy -- to be removed)
6355bae896e3 [xemacs-hg @ 2003-03-27 12:57:36 by stephent]
stephent
parents: 462
diff changeset
42 sample.Xresources Example ~/.Xresources file
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 428
diff changeset
43 sample.init.el Example ~/.xemacs/init.el file
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
44 sparcworks/ Support files for Sparcworks
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
45 tests/ Testcases for external widget
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
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
b7b90f750a78 [xemacs-hg @ 2005-01-31 20:08:32 by ben]
ben
parents: 1389
diff changeset
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
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
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
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
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)