annotate man/lispref/locals.texi @ 4792:95b04754ea8c

Make #'equalp more compatible with CL; add a compiler macro, test & doc it. lisp/ChangeLog addition: 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> * cl-extra.el (cl-string-vector-equalp) (cl-bit-vector-vector-equalp, cl-vector-array-equalp) (cl-hash-table-contents-equalp): New functions, to implement equalp treating arrays with identical contents as equivalent, as specified by Common Lisp. (equalp): Revise this function to implement array equivalence, and the hash-table equalp behaviour specified by CL. * cl-macs.el (equalp): Add a compiler macro for this function, used when one of the arguments is constant, and as such, its type is known at compile time. man/ChangeLog addition: 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> * lispref/objects.texi (Equality Predicates): Document #'equalp here, as well as #'equal and #'eq. tests/ChangeLog addition: 2009-12-31 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el: Test much of the functionality of equalp; add a pointer to Paul Dietz' ANSI test suite for this function, converted to Emacs Lisp. Not including the tests themselves in XEmacs because who owns the copyright on the files is unclear and the GCL people didn't respond to my queries.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 31 Dec 2009 15:09:41 +0000
parents 1ccc32a20af4
children 0b4d355771bd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 @c -*-texinfo-*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 @c This is part of the XEmacs Lisp Reference Manual.
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 0
diff changeset
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 @c See the file lispref.texi for copying conditions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 @setfilename ../../info/locals.info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 @node Standard Buffer-Local Variables, Standard Keymaps, Standard Errors, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 @appendix Buffer-Local Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 @c The title "Standard Buffer-Local Variables" is too long for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 @c smallbook. --rjc 30mar92
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 The table below lists the general-purpose Emacs variables that are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 automatically local (when set) in each buffer. Many Lisp packages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 define such variables for their internal use; we don't list them here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 @table @code
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 @item abbrev-mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 @pxref{Abbrevs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 @item auto-fill-function
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 @pxref{Auto Filling}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 @item buffer-auto-save-file-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 @pxref{Auto-Saving}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 @item buffer-backed-up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 @pxref{Backup Files}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 @item buffer-display-table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 @pxref{Display Tables}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 @item buffer-file-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 @pxref{Format Conversion}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 @item buffer-file-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 @pxref{Buffer File Name}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 @item buffer-file-number
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 @pxref{Buffer File Name}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 @item buffer-file-truename
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 @pxref{Buffer File Name}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 @item buffer-file-type
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 @pxref{Files and MS-DOS}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 @item buffer-invisibility-spec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 @pxref{Invisible Text}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 @item buffer-offer-save
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 @pxref{Saving Buffers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 @item buffer-read-only
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 @pxref{Read Only Buffers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 @item buffer-saved-size
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 @pxref{Point}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 @item buffer-undo-list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 @pxref{Undo}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 @item cache-long-line-scans
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 @pxref{Text Lines}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 @item case-fold-search
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 @pxref{Searching and Case}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 @item ctl-arrow
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 @pxref{Usual Display}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 @item comment-column
446
1ccc32a20af4 Import from CVS: tag r21-2-38
cvs
parents: 444
diff changeset
71 @pxref{Comments,,, xemacs, The XEmacs User's Manual}
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 @item default-directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 @pxref{System Environment}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 @item defun-prompt-regexp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 @pxref{List Motion}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 @item fill-column
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 @pxref{Auto Filling}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 @item goal-column
446
1ccc32a20af4 Import from CVS: tag r21-2-38
cvs
parents: 444
diff changeset
83 @pxref{Moving Point,,, xemacs, The XEmacs User's Manual}
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 @item left-margin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 @pxref{Indentation}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 @item local-abbrev-table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 @pxref{Abbrevs}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 @item local-write-file-hooks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 @pxref{Saving Buffers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 @item major-mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 @pxref{Mode Help}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 @item mark-active
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 @pxref{The Mark}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 @item mark-ring
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 @pxref{The Mark}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 @item minor-modes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 @pxref{Minor Modes}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 @item modeline-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 @pxref{Modeline Data}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 @item modeline-buffer-identification
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 @pxref{Modeline Variables}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 @item modeline-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 @pxref{Modeline Data}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 @item modeline-modified
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 @pxref{Modeline Variables}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 @item modeline-process
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 @pxref{Modeline Variables}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 @item mode-name
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 @pxref{Modeline Variables}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 @item overwrite-mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 @pxref{Insertion}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 @item paragraph-separate
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 @pxref{Standard Regexps}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 @item paragraph-start
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 @pxref{Standard Regexps}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 @item point-before-scroll
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 Used for communication between mouse commands and scroll-bar commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 @item require-final-newline
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 @pxref{Insertion}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 @item selective-display
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 @pxref{Selective Display}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 @item selective-display-ellipses
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 @pxref{Selective Display}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 @item tab-width
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 @pxref{Usual Display}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 @item truncate-lines
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 @pxref{Truncation}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 @item vc-mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 @pxref{Modeline Variables}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 @end table