annotate src/m/README @ 5855:0bddb59072b6

Look for cased character classes when deciding on case-fold-search, #'isearch lisp/ChangeLog addition: 2015-03-11 Aidan Kehoe <kehoea@parhasard.net> * isearch-mode.el: * isearch-mode.el (isearch-fix-case): Use the new #'no-case-regexp-p function if treating ISEARCH-STRING as a regular expression; otherwise, use the [[:upper:]] character class. * isearch-mode.el (isearch-no-upper-case-p): Removed. * isearch-mode.el (with-caps-disable-folding): Removed. These two haven't been used since 1998. * occur.el (occur-1): Use #'no-case-regexp-p here. * replace.el (perform-replace): Don't use #'no-upper-case-p, use #'no-case-regexp-p or (string-match "[[:upper:]]" ...) as appropriate. * simple.el: * simple.el (no-upper-case-p): Removed. This did two different things, and its secondary function (examining regular expressions) just became much more complicated; move the regular expression functionality to its own function, use character classes when examining non-regular-expressions instead. The code to look for character classes, and the design decision that this should be done, are from GNU, thank you Stefan Monnier. * simple.el (no-case-regexp-p): New. Given a REGEXP, return non-nil if it has nothing to suggest an interactive user wants a case-sensitive search. * simple.el (with-search-caps-disable-folding): * simple.el (with-interactive-search-caps-disable-folding): Update both these macros to use #'no-case-regexp-p.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 11 Mar 2015 18:06:15 +0000
parents 3ecd8885ac67
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 This directory contains C header files containing machine-specific
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 definitions. Each file describes a particular machine. The emacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 configuration script edits ../config.h to include the appropriate one of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 these files, and then each emacs source file includes config.h.
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 template.h is a generic template for machine descriptions; it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 describes the parameters a machine file can specify.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 General XEmacs Changes
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 ----------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 1. Removed all code dealing with VALBITS and XSET*. These are handled
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 differently in XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 2. Removed all defines of WORDS_BIGENDIAN. Now determined by configure.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 3. Put #ifndef PURESIZE around all PURESIZE defines so that it can be
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 overridden at configure time.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 4. Removed all defines of NO_ARG_ARRAY. The arg-array hack is not
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 done in XEmacs. (If you want to put it back, use configure --
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 autoconf has a check for this.)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 5. Removed all defines of BITS_PER_INT, BITS_PER_LONG -- now
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 determined by configure.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 See ../s/README for a list of other changes made to the FSF 19.30
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 configuration files for XEmacs.