annotate lib-src/ellcc.h.in @ 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 365bc8cb5894
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
1 /* DO NOT EDIT THIS FILE!!!! */
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
2
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
3 /* Most of this is required due to a bug in the GCC compiler driver
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
4 which prevents us from passing this on the command line. It also
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
5 reduces the compiler command line length, which can be a problem
5416
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
6 on some systems.
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
7
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
8 This file is part of XEmacs.
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
9
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
10 XEmacs is free software: you can redistribute it and/or modify it
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
11 under the terms of the GNU General Public License as published by the
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
12 Free Software Foundation, either version 3 of the License, or (at your
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
13 option) any later version.
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
14
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
15 XEmacs is distributed in the hope that it will be useful, but WITHOUT
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
18 for more details.
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
19
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
20 You should have received a copy of the GNU General Public License
365bc8cb5894 Convert to GPLv3 misc files.
Mats Lidell <matsl@xemacs.org>
parents: 2377
diff changeset
21 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
22
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
23 #ifndef ELLCC_HDR
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
24 #define ELLCC_HDR
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
25
1111
184461bc8de4 [xemacs-hg @ 2002-11-18 06:52:23 by ben]
ben
parents: 388
diff changeset
26 #define ELLCC_CC "@XEMACS_CC@"
2377
bbba13600d74 [xemacs-hg @ 2004-11-08 15:14:36 by stephent]
stephent
parents: 1111
diff changeset
27 #define ELLCC_CFLAGS "@XE_CFLAGS@"
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
28 #define ELLCC_CPPFLAGS "@CPPFLAGS@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
29 #define ELLCC_LDFLAGS "@LDFLAGS@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
30 #define ELLCC_CF_GENERAL "@c_switch_general@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
31 #define ELLCC_CF_ALL "@c_switch_all@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
32 #define ELLCC_LF_GENERAL "@ld_switch_general@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
33 #define ELLCC_LF_ALL "@ld_switch_all@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
34 #define ELLCC_LIBS_GENERAL "@ld_libs_general@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
35 #define ELLCC_DLL_CFLAGS "@dll_cflags@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
36 #define ELLCC_DLL_LDFLAGS "@dll_ldflags@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
37 #define ELLCC_DLL_POST "@dll_post@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
38 #define ELLCC_DLL_LD "@dll_ld@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
39 #define ELLCC_DLL_LDO "@dll_ldo@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
40 #define ELLCC_CONFIG "@configuration@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
41 #define ELLCC_EMACS_VER "@version@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
42 #define ELLCC_PROGNAME "@PROGNAME@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
43 #define ELLCC_ARCHDIR "@ARCHLIBDIR@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
44 #define ELLCC_MODDIR "@MODULEDIR@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
45 #define ELLCC_SITEMODS "@SITEMODULEDIR@"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
46
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
47 #endif /* ELLCC_HDR */
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
48