annotate .hgignore @ 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 9b3f398ebfb7
children 3e5d5e8e4bb7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
466
372e91ae9333 Tailor preparing to convert repo by adding .hgignore
Mike Sperber <sperber@deinprogramm.de>
parents:
diff changeset
1 (^|/)CVS($|/)
372e91ae9333 Tailor preparing to convert repo by adding .hgignore
Mike Sperber <sperber@deinprogramm.de>
parents:
diff changeset
2 (^|/)\.hg($|/)
372e91ae9333 Tailor preparing to convert repo by adding .hgignore
Mike Sperber <sperber@deinprogramm.de>
parents:
diff changeset
3 (^|/)\.hgtags($|/)
4330
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
4 \.o$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
5 \.elc$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
6 ~$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
7 \.orig$
4340
2834fcbd1a92 Make Mercurial ignore patch .rej files, Emacs autosaves, and Emacs lockfiles.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4330
diff changeset
8 \.rej$
4342
4df309efe6fc Drat. Hashmarks need to be escaped in .hgignore patterns.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4340
diff changeset
9 (^|/)\#[^/]*\#$
4df309efe6fc Drat. Hashmarks need to be escaped in .hgignore patterns.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4340
diff changeset
10 (^|/)\.\#[^/]*$
4330
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
11 info/.*\.info(-[0-9]+)?$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
12 ^GNUmakefile$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
13 ^Installation$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
14 ^Makefile$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
15 ^Makefile\.in$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
16 ^autom4te\.cache
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
17 ^config\.(log|status)$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
18 ^lib-src/DOC$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
19 ^lib-src/(GNUmakefile|Makefile(\.in)?)$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
20 ^lib-src/config\.values$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
21 ^lib-src/(b2m|ctags|cvtmail|digest-doc|ellcc|etags|fakemail|gnuclient|gnuserv|hexl|insert-data-in-exec|make-docfile|make-dump-id|make-path|mmencode|movemail|ootags|profile|sorted-doc|wakeup|yow)$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
22 ^lib-src/ellcc\.h$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
23 ^lisp/(auto-autoloads|custom-load|finder-inf)\.el$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
24 ^lisp/mule/(auto-autoloads|custom-load)\.el$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
25 ^lwlib/(GNUmakefile|Makefile(\.in)?)$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
26 ^lwlib/liblw\.a$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
27 ^lwlib/config\.h$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
28 ^modules/auto-autoloads\.el$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
29 ^modules/ldap/(GNUmakefile|Makefile(\.in)?)$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
30 ^modules/ldap/eldap\.ell$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
31 ^modules/ldap/eldap_i\.c$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
32 ^(xemacs|mule)-packages
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
33 ^etc/PROBLEMS$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
34 ^src/(.dbxrc|.gdbinit)(\.in)?$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
35 ^src/(GNUmakefile|Makefile(\.in)?)$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
36 ^src/NEEDTODUMP$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
37 ^src/config\.h$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
38 ^src/dump-id\.c$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
39 ^src/dump-size$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
40 ^src/paths\.h$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
41 ^src/sheap-adjust\.h$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
42 ^src/temacs$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
43 ^src/xemacs$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
44 ^src/xemacs\.def(\.in)?$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
45 ^src/xemacs\.dmp$
8a38eea09ab5 Make Mercurial ignore many generated files.
Mike Sperber <sperber@deinprogramm.de>
parents: 466
diff changeset
46 ^src/Emacs\.ad\.h$
4354
232d873b9705 Add support for installing bundled patches.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4342
diff changeset
47 ^etc/bundled-packages/.*\.tar\.gz$
4413
dc84ec90b463 Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents: 4411
diff changeset
48 ^lib-src/(etags|hexl|i|make-docfile|make-dump-id|minitar|mmencode|movemail|sorted-doc|wakeup|winclient)\.(exe|exe\.manifest|pdb)$
dc84ec90b463 Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents: 4411
diff changeset
49 \.obj$
dc84ec90b463 Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents: 4411
diff changeset
50 ^nt/obj
dc84ec90b463 Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents: 4411
diff changeset
51 ^nt/config.inc
dc84ec90b463 Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents: 4411
diff changeset
52 ^src/REBUILD_AUTOLOADS$
dc84ec90b463 Fix build problems on Windows.
Mike Sperber <sperber@deinprogramm.de>
parents: 4411
diff changeset
53 ^src/(temacs|xemacs)\.(exe|exe\.manifest|pdb|map|bsc)$
4411
6dffa171b748 hgignore TAGS.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4354
diff changeset
54 ^TAGS$
4542
9b3f398ebfb7 Add terminating newline to .hgignore.
Stephen J. Turnbull <stephen@xemacs.org>
parents: 4419
diff changeset
55 ^version\.sh$