Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (keep-lines-read-args): New function. | Gerd Moellmann | 2000-09-30 | 1 | -30/+80 |
| | | | | | | (keep-lines, flush-lines, how-many): Use keep-lines-read-args to read arguments interactively. Add parameters RSTART and REND. Operate on the active region in Transient Mark mode. | ||||
* | (occur): Set tab-width in the *Occur* buffer to the | Gerd Moellmann | 2000-08-02 | 1 | -38/+49 |
| | | | | | | value of tab-width in the original buffer. Choose a line number format that's a multiple of the original buffer's tab width, so that lines appear right. | ||||
* | (query-replace-map): Bind `e' like `E'. | Gerd Moellmann | 2000-06-28 | 1 | -0/+1 |
| | |||||
* | (perform-replace): Undo change of 2000-04-04. | Gerd Moellmann | 2000-06-26 | 1 | -10/+14 |
| | | | | | Instead, move backward 1 character At the end of the loop when necessary. | ||||
* | Doc and error message fixes. | Dave Love | 2000-05-21 | 1 | -27/+29 |
| | | | | (replace-highlight): Use facep, not internal-find-face. | ||||
* | (query-replace-map): Add binding for `E'. | Gerd Moellmann | 2000-05-03 | 1 | -1/+13 |
| | | | | | (query-replace-help): Extend help text. (perform-replace): Allow editing the replacement string. | ||||
* | (perform-replace): Add parameters START and END. Use | Gerd Moellmann | 2000-04-25 | 1 | -28/+46 |
| | | | | | | | | | | them instead of the check for a region in Transient Mark mode. (query-replace-read-args): Return two more list elements for the start and end of the region in Transient Mark mode. (query-replace, query-replace-regexp, query-replace-regexp-eval) (map-query-replace-regexp, replace-string, replace-regexp): Add optional last arguments START and END and pass them to perform-replace. | ||||
* | (perform-replace): Don't move forward one char | Gerd Moellmann | 2000-04-04 | 1 | -4/+13 |
| | | | | | | when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want to do that because it leaves point 1 position after the last replacement, after everything has been replaced. | ||||
* | (query-replace): Rename last arg to DELIMITED. | Richard M. Stallman | 2000-01-22 | 1 | -8/+9 |
| | | | | | (map-query-replace-regexp, query-replace-regexp-eval): Likewise. (query-replace-regexp): Likewise. | ||||
* | (query-replace-regexp-eval) | Richard M. Stallman | 1999-08-03 | 1 | -13/+113 |
| | | | | | | | (replace-eval-replacement, replace-loop-through-replacements) (replace-match-string-symbols): New functions. (perform-replace): Allow REPLACEMENTS to be (FUNCTION . DATA). Use replace-loop-through-replacements. | ||||
* | (perform-replace): Turn off case-fold-search | Karl Heuer | 1999-07-21 | 1 | -0/+3 |
| | | | | if FROM-STRING argument has uppercase in it. | ||||
* | (keep-lines, flush-lines, how-many): | Richard M. Stallman | 1998-10-14 | 1 | -13/+29 |
| | | | | Don't ignore case if arg has upper case letters. | ||||
* | (perform-replace): Position point properly | Karl Heuer | 1998-10-06 | 1 | -4/+7 |
| | | | | before and after the recursive edit of C-r. | ||||
* | Whitespace change. | Richard M. Stallman | 1998-08-10 | 1 | -3/+3 |
| | |||||
* | (occur): Set buffer-read-only. | Karl Heuer | 1998-06-20 | 1 | -1/+2 |
| | |||||
* | (esc-map): Bind C-M-% to query-replace-regexp. | Karl Heuer | 1998-06-04 | 1 | -0/+1 |
| | |||||
* | *** empty log message *** | Dan Nicolaescu | 1998-04-20 | 1 | -2/+4 |
| | |||||
* | (perform-replace): Before recursive edit, | Richard M. Stallman | 1998-03-26 | 1 | -3/+5 |
| | | | | get the match data as markers, and set real-match-data. | ||||
* | (perform-replace): store-match-data => set-match-data. | Richard M. Stallman | 1998-03-14 | 1 | -6/+6 |
| | |||||
* | (occur): Apply default by hand after read-from-minibuffer. | Richard M. Stallman | 1998-02-08 | 1 | -3/+4 |
| | | | | | | No need to clear text props from the result. (query-replace-read-args, map-query-replace-regexp): Offer the FROM arg as the default for the TO arg. | ||||
* | (query-replace-from-history-variable): New variable. | Richard M. Stallman | 1998-01-30 | 1 | -2/+19 |
| | | | | | (query-replace-to-history-variable): New variable. (query-replace-read-args): Use them. | ||||
* | (occur): If the matching line has no final newline, | Karl Heuer | 1998-01-18 | 1 | -4/+17 |
| | | | | insert one anyway. Compensate for that when inserting line nums. | ||||
* | (occur): Pass default to read-from-minibuffer so that | Richard M. Stallman | 1998-01-03 | 1 | -6/+4 |
| | | | | M-n can insert default value into minibuffer. | ||||
* | (perform-replace): In Transient Mark mode, if | Karl Heuer | 1997-11-11 | 1 | -1/+27 |
| | | | | | region is active, only search the region. (query-replace, etc.): Doc fixes. | ||||
* | (query-replace-highlight): Change default to t. | Karl Heuer | 1997-11-11 | 1 | -1/+1 |
| | |||||
* | (query-replace-read-args): Locally bind | Kenichi Handa | 1997-08-26 | 1 | -10/+10 |
| | | | | | | | minibuffer-inherit-input-method to t to make a minibuffer inherit the current input method. (map-query-replace-regexp, keep-lines, flush-lines): Likewise. (how-many, occur): Likewise. | ||||
* | (occur): Local variable line-start redundant. | Richard M. Stallman | 1997-07-25 | 1 | -28/+70 |
| | | | | `occur-marker' extends to the end of the line rather than one char before end. | ||||
* | (occur): Use text property `occur' to store the | Richard M. Stallman | 1997-07-23 | 1 | -51/+81 |
| | | | | | | | | | | | | marker for the occurrence in the source buffer. This replaces the list `occur-pos-list', and fixes the bug for multi-line matches. Set up `occur-point' text property for occur-next and occur-prev. (occur): occur-num-matches stores the number of matches found. (occur-mode-find-occurrence): Use `occur' text property to find marker for locus of the occurrence. (occur-next, occur-prev): New commands. (occur): Fixed bug preventing line number being displayed if line number is less than the number of lines of context. | ||||
* | (perform-replace): When matching lookahead, use markers rather than | Paul Eggert | 1997-06-25 | 1 | -2/+2 |
| | | | | integers, since a replacement may invalidate integers. | ||||
* | (perform-replace): When matching regexps, if the next match is | Paul Eggert | 1997-06-24 | 1 | -29/+40 |
| | | | | | | adjacent to this one, record the next match before replacing this one. This fixes a bug where (replace-regexp "\\ba " "c") replaced "a a a " with "ca c" instead of "ccc". | ||||
* | (perform-replace): Restore match data after read-event. | Richard M. Stallman | 1997-05-23 | 1 | -0/+3 |
| | |||||
* | Use defgroup and defcustom. | Richard M. Stallman | 1997-05-05 | 1 | -6/+12 |
| | |||||
* | (occur-mode): Add a mode-class property. | Richard M. Stallman | 1997-05-05 | 1 | -3/+5 |
| | | | | (occur): Doc fix. | ||||
* | (occur): If regexp has uppercase in it, match it case-sensitively. | Richard M. Stallman | 1997-05-04 | 1 | -1/+6 |
| | |||||
* | (replace-string): Doc fix. | Richard M. Stallman | 1997-03-22 | 1 | -1/+3 |
| | |||||
* | (occur): Pay attention to multibyte characters. | Karl Heuer | 1997-02-20 | 1 | -1/+1 |
| | |||||
* | (occur-mode-map): Bind g to revert-buffer. | Richard M. Stallman | 1997-01-13 | 1 | -2/+17 |
| | | | | | | | (occur-mode): Locally bind revert-buffer-function. (occur-command-arguments): New variable. (occur-revert-function): New function. (occur): Set occur-command-arguments. | ||||
* | (occur): Minor cleanups. | Erik Naggum | 1997-01-03 | 1 | -3/+2 |
| | |||||
* | (list-matching-lines-face): New variable. | Richard M. Stallman | 1997-01-03 | 1 | -3/+24 |
| | | | | (occur): Highlight the actual matching characters. | ||||
* | (perform-replace): Request integers from match-data, | Richard M. Stallman | 1996-12-27 | 1 | -6/+1 |
| | | | | instead of asking for markers and converting them. | ||||
* | (perform-replace): Undo previous change. | Richard M. Stallman | 1996-12-18 | 1 | -3/+17 |
| | | | | Instead, use the new match-data features to avoid consing. | ||||
* | (perform-replace): Delete the code that checked | Richard M. Stallman | 1996-12-18 | 1 | -16/+3 |
| | | | | | whether the regexp could match again right after this match. It made the loop too slow. | ||||
* | Change some defconsts to defvars. | Richard M. Stallman | 1996-12-16 | 1 | -1/+1 |
| | |||||
* | (perform-replace): Obey minibuffer-auto-raise. | Richard M. Stallman | 1996-12-07 | 1 | -0/+2 |
| | |||||
* | (perform-replace): Increment replace-count | Richard M. Stallman | 1996-09-04 | 1 | -5/+11 |
| | | | | in the places where we do the replacement. | ||||
* | (occur): Avoid "1 lines" in echo area. | Richard M. Stallman | 1996-06-04 | 1 | -5/+7 |
| | |||||
* | (occur): Fix up interactive code. | Richard M. Stallman | 1996-04-17 | 1 | -14/+18 |
| | | | | Strip text properties from regexp. | ||||
* | (occur): If no matches, just display in echo area. | Richard M. Stallman | 1996-03-17 | 1 | -90/+96 |
| | |||||
* | Update FSF's address. | Erik Naggum | 1996-01-14 | 1 | -2/+3 |
| | |||||
* | (occur): Indent better for matches that contain newlines. | Richard M. Stallman | 1995-09-24 | 1 | -3/+8 |
| |