aboutsummaryrefslogtreecommitdiffstats
path: root/src/search.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (find_next_newline_no_quit): New function.Richard M. Stallman1994-06-141-0/+7
|
* (Freplace_match): Be sure not to treat non-digit like digit.Richard M. Stallman1994-06-111-1/+1
|
* (Freplace_match): Improve capitalization heuristics.Karl Heuer1994-05-251-4/+8
|
* (Freplace_match): Don't capitalize unless all matched words are capitalized.Richard M. Stallman1994-05-251-1/+4
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (Freplace_match): Don't capitalize unless all matched words are capitalized.Karl Heuer1994-04-051-6/+6
|
* (Freplace_match): Doc fix.Richard M. Stallman1994-03-271-1/+6
|
* (search_buffer): Avoid boolean/integer mixing that confuses some compilers.Karl Heuer1994-03-141-1/+4
|
* (Fre_search_forward, Fre_search_backward): Doc fix.Karl Heuer1994-03-101-7/+7
|
* (skip_chars): Treat `-' as alias for space, if syntaxp.Richard M. Stallman1994-03-041-0/+3
|
* (scan_buffer): New arg ALLOW_QUIT.Richard M. Stallman1994-02-031-4/+8
| | | | (find_next_newline): Pass new arg.
* (set_search_regs): New subroutine.Richard M. Stallman1994-01-101-45/+41
| | | | | (search_buffer): Use set_search_regs. Record beginning and end after matching null string.
* (Fskip_chars_backward, Fskip_chars_forward): Doc fix.Richard M. Stallman1993-11-101-3/+3
|
* (skip_chars): Finish reenabling checks for buffer bounds.Richard M. Stallman1993-11-101-11/+5
| | | | Use XINT, not XFASTINT, when testing.
* (Freplace_match): Fix argument names to match doc string.Brian Fox1993-10-251-10/+10
| | | | (Fmatch_beginning): Fix doc string to match argument name.
* (skip_chars): Fixed typo.Brian Fox1993-10-081-2/+4
|
* (skip_chars): Reinstate check for end of buffer, ignoring crypticBrian Fox1993-10-071-2/+7
| | | | comment.
* (Freplace_match): Call Finsert_and_inherit.Richard M. Stallman1993-09-141-1/+1
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (compile_pattern): Cast result of re_compile_pattern.Richard M. Stallman1993-08-141-3/+2
|
* (search_buffer): If n is 0, just return POS.Richard M. Stallman1993-07-271-1/+5
|
* * search.c (Flooking_at, Fstring_match, fast_string_match,Jim Blandy1993-06-101-10/+0
| | | | | | search_buffer): Don't block input while calling searching and matching functions. These functions may not call malloc under Emacs anyway, and we need to be able to check for C-g.
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-1/+1
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * search.c (Freplace_match): Arrange for markers sitting at theJim Blandy1993-05-041-9/+17
| | | | | beginning or end of the original text to float to the corresponding position in the replacement text.
* (search_buffer): Fix typo in previous change.Richard M. Stallman1993-04-071-7/+9
|
* Put interrupt input blocking in a separate file from xterm.h.Jim Blandy1993-03-311-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't specific to X, and it allows us to avoid #including xterm.h in files that don't really have anything to do with X. * blockinput.h: New file. * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. (x_input_blocked, x_pending_input): Deleted; there are analogs in blockinput.h called interrupt_input_blocked and interrupt_input_pending. * keyboard.c (interrupt_input_blocked, interrupt_input_pending): New variables, used by the macros in blockinput.h. * xterm.c: #include blockinput.h. (x_input_blocked, x_pending_input): Deleted. (XTread_socket): Test and set interrupt_input_blocked and interrupt_input_pending instead of the old variables. * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c: #include blockinput.h. * eval.c: #include blockinput.h instead of xterm.h. * keyboard.c: #include blockinput.h. (input_poll_signal): Just test interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and x_input_blocked. Block the processing of interrupt input while we're manipulating the malloc heap. * alloc.c: (xfree): New function, to make it easy to free things safely. (xmalloc, xrealloc): Block X input while doing the deed. (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree instead of free. (uninterrupt_malloc): New function, to install input-blocking hooks into the GNU malloc routines. * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc on startup. * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): Use xmalloc instead of malloc; don't bother to check if out of memory here. (Fgarbage_collect): Call xrealloc instead of realloc. * buffer.c: Use xmalloc and xfree instead of malloc and free; don't bother to check if out of memory here. (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around calls to ralloc routines. * insdel.c: Same. * lisp.h (xfree): New extern declaration. * xfaces.c (xfree): Don't #define this to be free; use the definition in alloc.c. * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, xmenu.c, xterm.c: Use xfree instead of free. * hftctl.c: Use xfree and xmalloc instead of free and malloc. * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc and malloc. * search.c: Since the regexp routines can malloc, BLOCK_INPUT while runing them. #include blockinput.h. * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead of free and malloc. BLOCK_INPUT around routines which we know will call malloc. ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that these depend on blockinput.h.
* (Freplace_match): Clean up criterion about converting case.Richard M. Stallman1993-03-281-17/+19
| | | | If old text has any capitalized words, capitalize new text.
* * callint.c (Fcall_interactively): Pass the correct number ofJim Blandy1993-02-221-1/+1
| | | | | | | | arguments to wrong_type_argument. * casefiddle.c (caseify_object): Same. * casetab.c (check_case_table): Same. * search.c (Fstore_match_data): Same. * syntax.c (check_syntax_table): Same.
* (Fskip_syntax_backward): New function.Richard M. Stallman1993-02-211-24/+76
| | | | | (Fskip_syntax_forward): Likewise. (skip_chars): New argument syntaxp.
* (search_command): #if 0 previous change.Richard M. Stallman1993-02-151-0/+5
|
* (search_command): When moving to LIM on failure, return LIM.Richard M. Stallman1993-02-151-2/+3
|
* * search.c (Fskip_chars_forward, Fskip_chars_backward): Return theJim Blandy1992-12-121-18/+27
| | | | | distance traveled. (skip_chars): Return the distance traveled, as a Lisp_Object.
* * search.c (Fstore_match_data): Don't assume Flength returns anJim Blandy1992-10-311-1/+1
| | | | integer.
* Comment fix.Richard M. Stallman1992-10-151-1/+2
|
* entered into RCSRichard M. Stallman1992-07-221-0/+19
|
* *** empty log message ***Jim Blandy1992-07-161-1/+2
|
* *** empty log message ***Jim Blandy1992-06-241-16/+39
|
* *** empty log message ***Jim Blandy1992-06-101-18/+72
|
* *** empty log message ***Jim Blandy1992-05-181-33/+47
|
* *** empty log message ***Jim Blandy1992-05-101-1/+0
|
* *** empty log message ***Jim Blandy1992-05-101-4/+4
|
* *** empty log message ***Richard M. Stallman1992-05-081-1/+5
|
* *** empty log message ***Jim Blandy1992-04-241-14/+51
|
* *** empty log message ***Jim Blandy1992-04-041-1/+1
|
* Initial revisionJim Blandy1992-04-011-0/+1294