| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(looking_at_1): Don't change search_regs and last_thing_searched
if `inhibit-changing-match-data' is non-nil.
(string_match_1, search_buffer, set_search_regs): Likewise.
(syms_of_search): Add Lisp level definition for
`inhibit-changing-match-data' and set it to nil.
(boyer_moore): If `inhibit-changing-match-data' is non-nil,
compute start and end of the match, instead of using values in search_regs.
|
|/ |
|
|
|
|
| |
2001).
|
| |
|
| |
|
|
|
|
| |
check also the byte position against the limit.
|
|
|
|
|
|
| |
(compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'.
(clear_regexp_cache): Only flush those regexps which depend on
a syntax-table.
|
|
|
|
| |
(compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'.
|
| |
|
|
|
|
|
|
|
| |
(compile_pattern_1): Set it.
(syms_of_search): Initialize it.
(compile_pattern): Require the syntax_table entry of the cache
element to match the current syntax table entry.
|
|
|
|
| |
* syntax.c (Fmodify_syntax_entry): Clear regexp cache.
|
|
|
|
| |
Make syntax table's canon table point to eqv table.
|
|
|
|
|
| |
(signal_failure): Remove (was only called once).
(search_command): Use xsignal1 instead of signal_failure.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* xterm.c (x_connection_closed): Likewise.
* sysdep.c (croak): Likewise.
* sound.c (sound_perror, alsa_sound_perror): Likewise.
* lisp.h (die, nsberror): Likewise.
|
| |
|
|
|
|
|
| |
try to make clear that it has a literal meaning; it does not do that.
(It could close a character alternative containing a backslash.)
|
| |
|
| |
|
| |
|
|
|
|
| |
`if' condition by parentheses explicitly.
|
| |
|
| |
|
|
|
|
|
| |
if one of a target character has a case-equivalence of different
charset even if that target charcter is an ASCII.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(Fmatch_data): Do not mention evaporate option in doc string.
Add commentary explaining evaporate arg (for internal use only).
(unwind_set_match_data): Add comment on evaporate use.
|
| |
|
|
|
|
|
|
|
|
|
| |
in REUSE list if non-nil; free them if equal to evaporate.
(Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST
if non-nil; free them if equal to evaporate. Use XCAR/XCDR.
(restore_search_regs): Rename from restore_match_data. Uses changed.
(unwind_set_match_data): New function.
(record_unwind_save_match_data): New function like save-match-data.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
not DOWNCASE_TABLE.
(string_match_1): Likewise.
(fast_c_string_match_ignore_case): Use Vascii_canon_table, not
Vascii_downcase_table.
(fast_string_match_ignore_case): Likewise.
(search_buffer): Fix checking of boyer-moore usability.
(boyer_moore): Calculate translate_prev_byte1/2/3 in advance. No
need of tranlating characters in PAT. Fix calculation of
simple_translate.
|
|
|
|
| |
marker out of doc string.
|
|
|
|
| |
Renamed from Vsearch_whitespace_regexp. All uses changed.
|
|
|
|
|
|
| |
(syms_of_search): Initialize whitespace_regexp elements.
(compile_pattern): Compare whitespace_regexp elements.
(compile_pattern_1): Set whitespace_regexp elements.
|
|
|
|
|
|
| |
(syms_of_search): Defvar it.
(compile_pattern_1): Call re_set_whitespace_regexp with it.
(search_buffer): No regexp is trivial if Vsearch_whitespace_regexp is non-nil.
|
| |
|
| |
|
|
|
|
| |
`saved_last_thing_searched'. Apparently fixes an abort condition.
|
| |
|
|
|
|
| |
which can happen if set-match-data is using a pre-consed list.
|
|
|
|
|
|
|
|
|
|
|
| |
thoroughly when replacing strings in the buffer.
search.c (match-data): When INTEGERS is non-nil and the last match
was in a buffer, add the buffer as last element to the match data.
(Fset_match_data): If an additional element of the match-data is
a buffer, restore it to last_thing_searched.
(save_search_regs): Save last_thing_searched as part of the match
data.
(restore_match_data): Restore it again.
|
| |
|
|
|
|
|
| |
exceeding the allocated search_regs.num_regs gets requested, just
return Qnil.
|
| |
|