summaryrefslogtreecommitdiff
path: root/lisp/replace.el
Commit message (Collapse)AuthorAgeFilesLines
...
* (read-regexp): Return empty string when `default-value' is nil.Juri Linkov2009-08-121-2/+2
| | | | | (keep-lines-read-args): Don't use empty string as the default value for `read-regexp'. (Bug#2495)
* (keep-lines-read-args): Use empty string as default (Bug#2495).Chong Yidong2009-02-271-1/+1
|
* Replace last-input-char with last-input-event.Glenn Morris2009-01-091-2/+3
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* * align.el:Lute Kamstra2008-12-031-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el: * apropos.el: * arc-mode.el: * autoinsert.el: * avoid.el: * battery.el: * bookmark.el: * buff-menu.el: * calculator.el: * chistory.el: * cmuscheme.el: * comint.el: * compare-w.el: * dabbrev.el: * delim-col.el: * desktop.el: * diff-mode.el: * diff.el: * dired-aux.el: * dired-x.el: * dired.el: * dos-vars.el: * ediff-diff.el: * ediff-help.el: * ediff-init.el: * ediff-merg.el: * ediff-mult.el: * ediff-ptch.el: * ediff-vers.el: * ediff-wind.el: * ediff.el: * emerge.el: * facemenu.el: * faces.el: * ffap.el: * filecache.el: * find-dired.el: * font-core.el: * font-lock.el: * forms.el: * fringe.el: * help-at-pt.el: * hippie-exp.el: * ido.el: * image-file.el: * imenu.el: * indent.el: * info.el: * isearchb.el: * iswitchb.el: * jit-lock.el: * jka-compr.el: * log-edit.el: * lpr.el: * ls-lisp.el: * man.el: * menu-bar.el: * midnight.el: * mouse-sel.el: * mouse.el: * msb.el: * outline.el: * paren.el: * pcmpl-cvs.el: * pcmpl-gnu.el: * pcomplete.el: * pcvs-info.el: * pcvs-parse.el: * printing.el: * ps-mule.el: * ps-print.el: * replace.el: * ruler-mode.el: * saveplace.el: * sb-image.el: * scroll-bar.el: * sha1.el: * shadowfile.el: * shell.el: * sort.el: * speedbar.el: * strokes.el: * tempo.el: * term.el: * terminal.el: * time-stamp.el: * time.el: * tree-widget.el: * type-break.el: * vc-cvs.el: * vc-hg.el: * vc-mcvs.el: * vc-rcs.el: * vc-sccs.el: * vc.el: * view.el: * w32-vars.el: * whitespace.el: * wid-edit.el: Remove leading * from docstrings of defcustoms, deffaces, defconsts and defuns.
* * replace.el (how-many): Fix typo in docstring.Juanma Barranquero2008-10-221-1/+1
| | | | Reported by Leo Liu <sdl.web@gmail.com>.
* (query-replace, query-replace-regexp)Juri Linkov2008-10-191-23/+28
| | | | | (replace-string, replace-regexp, perform-replace): Add "word" indicatiors to the prompt for word delimited replacements.
* (read-regexp): Rename arg `default' to `default-value'. Doc fix.Juri Linkov2008-10-191-8/+10
|
* (perform-replace): Don't set inhibit-read-only usingChong Yidong2008-09-121-2/+1
| | | | query-replace-skip-read-only (bug#956).
* (read-regexp): Add second arg `default'. Doc fix.Juri Linkov2008-07-291-9/+9
| | | | | (occur-read-primary-args): Use `(car regexp-history)' as the second arg of `read-regexp'.
* (multi-query-replace-map): New variable.Juri Linkov2008-07-231-3/+26
| | | | | | | | | (perform-replace): Add processing of new multi-buffer keys bound to `automatic-all' and `exit-current'. Set `query-flag' to nil if last input char was `automatic-all'. Set new local variable `multi-buffer' to t when one of new two keys were typed. Return non-nil value of `multi-buffer' that tells to calling functions to continue replacement on the next file.
* (read-regexp): New function.Juri Linkov2008-06-291-51/+42
| | | | | | | | (keep-lines-read-args, occur-read-primary-args): Call `read-regexp' instead of code moved to new function. (keep-lines, flush-lines, how-many): Remove parenthesis and colon from the end of prompt. (replace-re-search-function): Doc fix.
* (replace-search-function, replace-re-search-function): New vars.Chong Yidong2008-06-061-1/+15
| | | | (perform-replace): Use them.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (occur-read-primary-args): Set default to the car ofJuri Linkov2008-05-011-5/+16
| | | | | | | | regexp-history and display it in the prompt, but don't add to the list of minibuffer defaults. Bind history-add-new-input to nil to not add automatically `default'. For empty input return `default'. Otherwise, add `input' to regexp-history and return it. (occur-1): Signal an error for the empty regexp.
* (occur-mode-map): Add :help.Dan Nicolaescu2008-03-211-10/+20
|
* * replace.el (occur-mode-find-occurrence-hook): New hook that canCarsten Dominik2008-01-231-3/+13
| | | | | | | | be used to reveal or highlight the location of a match. (occur-mode-goto-occurrence) (occur-mode-goto-occurrence-other-window) (occur-mode-display-occurrence): Run `occur-mode-find-occurrence-hook'.
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (occur-context-lines): New subroutine, broken out of occur-engine.Richard M. Stallman2008-01-031-10/+18
| | | | | | | | (occur-engine): Call it.
* | Merge from emacs--rel--22Miles Bader2007-12-281-1/+4
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
| * (regexp-history): Add reference to `history-length' in the doc string.Eli Zaretskii2007-12-221-1/+4
| |
| * (map-query-replace-regexp): Doc fix (revert part of ↵Juanma Barranquero2007-11-191-5/+3
| | | | | | | | | | | | 2000-05-21T17:04:47Z!fx@gnu.org made with no ChangeLog entry).
* | (keep-lines, flush-lines, how-many): Doc fix.Juri Linkov2007-12-091-18/+26
| | | | | | | | | | | | | | | | Check search-upper-case before calling isearch-no-upper-case-p to set case-fold-search. (occur): Doc fix. (occur-1, perform-replace): Check search-upper-case before calling isearch-no-upper-case-p to set case-fold-search.
* | (occur-mode-map): Add a major mode menu with entriesDan Nicolaescu2007-11-221-0/+29
| | | | | | | | for all occur operations.
* | (map-query-replace-regexp): Doc fix (revert part of ↵Juanma Barranquero2007-11-191-5/+3
| | | | | | | | | | | | 2000-05-21T17:04:47Z!fx@gnu.org made on 2000-05-21 with no ChangeLog entry).
* | (keep-lines-read-args, occur-read-primary-args):Juri Linkov2007-11-161-20/+37
| | | | | | | | Use a list of default values for DEFAULT arg of read-from-minibuffer.
* | (query-replace-show-replacement): New defcustom.Juri Linkov2007-11-101-2/+15
| | | | | | | | | | (perform-replace): Use `match-substitute-replacement' if `query-replace-show-replacement' is non-nil.
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | (perform-replace): Use isearch-no-upper-case-p.Stefan Monnier2007-07-231-32/+30
|/
* * replace.el (match): Use yellow1 instead of yellow.Dan Nicolaescu2007-07-131-1/+1
| | | | | | | * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of red. * pcvs-info.el (cvs-unknown): Likewise.
* * NEWS: Mention `query-replace-regexp-eval' being deprecated.David Kastrup2007-04-171-0/+10
| | | | * replace.el (query-replace-regexp-eval): Deprecate.
* (occur-next-error): *Occur* might not be displayed in theStefan Monnier2007-03-261-1/+2
| | | | selected frame. Reported by David Hansen <david.hansen@gmx.net>.
* (match): Use yellow background on light-bg terminals.Richard M. Stallman2007-03-111-2/+4
|
* (occur-engine): buffer-undo-list binding moved...Chong Yidong2007-03-081-3/+3
| | | | (occur-1): ...to here.
* 2007-03-01 Lennart Borgman <lennart.borgman.073@student.lu.se>Kim F. Storm2007-03-011-2/+4
| | | | * replace.el (perform-replace): Propertize message.
* (perform-replace): Undo forward-char immediately if non-adjacentChong Yidong2007-02-281-27/+29
| | | | search fails.
* (replace-highlight): Bind search-whitespace-regexp to nil.Chong Yidong2007-02-151-0/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (perform-replace): Remove leftover code.Juanma Barranquero2007-01-131-1/+1
|
* (perform-replace): Don't clear NODENT when computing the replacement string.Richard M. Stallman2007-01-121-2/+3
|
* (replace-regexp): Fix typo in docstring.Juanma Barranquero2007-01-071-4/+3
|
* (replace-match-data, replace-match-maybe-edit): Doc fix.Juanma Barranquero2006-12-101-3/+3
|
* (replace-match-string-symbols): Handle dotted lists.Richard M. Stallman2006-07-241-2/+2
|
* (query-replace-read-from, query-replace-read-to):Juri Linkov2006-05-311-5/+9
| | | | Bind `history-add-new-input' to nil. Call `add-to-history'.
* Fix last change.Chong Yidong2006-05-281-6/+3
|
* * replace.el (query-replace-defaults): New variable.Chong Yidong2006-05-281-17/+19
| | | | | | (query-replace-read-from): Use `query-replace-defaults' for default value, instead of history list. (query-replace-read-to): Update `query-replace-defaults'.
* (query-replace-read-from, query-replace-read-to):Juri Linkov2006-05-251-2/+2
| | | | Remove 8th arg KEEP-ALL in read-from-minibuffer.
* Revision: emacs@sv.gnu.org/emacs--devo--0--patch-261Miles Bader2006-05-021-0/+1
| | | | lisp/replace.el (occur-engine): Bind `inhibit-field-text-motion' to t