aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (multi-occur-in-matching-buffers): Fix prev change.Richard M. Stallman2006-02-021-2/+2
|
* (multi-occur): Doc fix.Richard M. Stallman2006-01-311-7/+15
| | | | | | (multi-occur-in-matching-buffers): Renamed from multi-occur-by-filename-regexp. Prefix arg says match buffer names instead of file names.
* (perform-replace): Calculate match-againRichard M. Stallman2005-12-271-21/+22
| | | | before skipping read-only matches.
* (replace-highlight): Change overlay priority from 1 to 1001.Juri Linkov2005-12-091-1/+1
|
* (query-replace-map): Move initialization into declaration.Stefan Monnier2005-11-281-51/+48
| | | | | | (occur-engine): Use with-current-buffer. (occur-mode-goto-occurrence): Make it work for mouse-clicks as well. (occur-mode-mouse-goto): Replace with an alias.
* (occur-mode-mouse-goto): Pop, don't switch.Juri Linkov2005-11-281-3/+8
| | | | | | (occur-mode-goto-occurrence): Let-bind same-window-buffer-names and same-window-regexps. (occur-next-error): Don't move point for arg 0.
* * replace.el (occur-mode-goto-occurrence): Pop, don't switch.Chong Yidong2005-11-281-1/+1
|
* (occur-excluded-properties): New defcustom.Juri Linkov2005-11-091-10/+25
| | | | (occur-1, occur-engine, occur-accumulate-lines): Use it.
* (occur-engine): Add marker at end of line, too.Romain Francoise2005-11-051-1/+2
|
* (occur-mode-mouse-goto): Always go to other window.Richard M. Stallman2005-10-291-2/+2
| | | | (occur-mode-goto-occurrence): Always switch in same window.
* (occur-engine): Include colon in mouse-face highlight.Romain Francoise2005-10-271-4/+3
|
* (occur-engine): Rearrange text properties.Romain Francoise2005-10-241-8/+11
|
* (occur-engine): Add follow-link property.Romain Francoise2005-10-201-1/+2
|
* 2005-09-24 Emilio C. Lopes <eclig@gmx.net>Romain Francoise2005-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * woman.el (woman-file-name): * wid-edit.el (widget-file-prompt-value) (widget-coding-system-prompt-value): * w32-fns.el (set-w32-system-coding-system): * vc.el (vc-version-diff, vc-annotate): * textmodes/reftex-auc.el (reftex-arg-cite) (reftex-arg-index-tag): * textmodes/refer.el (refer-get-bib-files): * textmodes/artist.el (artist-figlet-choose-font): * terminal.el (terminal-emulator): * replace.el (occur-read-primary-args): * rect.el (string-rectangle, string-insert-rectangle): * ps-print.el (ps-print-preprint): * progmodes/pascal.el (pascal-goto-defun): * progmodes/etags.el (visit-tags-table, visit-tags-table-buffer): * progmodes/compile.el (compilation-find-file): * printing.el (pr-interactive-n-up): * play/animate.el (animate-birthday-present): * net/rcompile.el (remote-compile): * man.el (man, Man-goto-section, Man-follow-manual-reference): * mail/rmailsum.el (rmail-summary-search-backward) (rmail-summary-search): * mail/rmailout.el (rmail-output-read-rmail-file-name) (rmail-output-read-file-name): * mail/rmail.el (rmail-search, rmail-search-backwards): * mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs): * locate.el (locate): * international/quail.el (quail-show-keyboard-layout): * international/mule.el (set-buffer-file-coding-system) (revert-buffer-with-coding-system, set-file-name-coding-system) (set-terminal-coding-system, set-keyboard-coding-system) (set-next-selection-coding-system): * international/mule-diag.el (describe-coding-system) (describe-font, describe-fontset): * international/mule-cmds.el (universal-coding-system-argument) (search-unencodable-char, describe-input-method) (set-language-environment, describe-language-environment): * international/codepage.el (codepage-setup): * international/code-pages.el (codepage-setup): * info.el (Info-search, Info-follow-reference) (Info-search-backward): * emacs-lisp/advice.el (ad-read-advised-function) (ad-read-advice-class, ad-clear-cache, ad-activate) (ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name) (ad-enable-advice, ad-disable-advice, ad-remove-advice) (ad-read-regexp): * ediff-util.el (ediff-toggle-regexp-match): * ediff-ptch.el (ediff-prompt-for-patch-file): * dired-aux.el (dired-diff): * diff.el (diff): * cus-edit.el (custom-variable-prompt): * calendar/timeclock.el (timeclock-ask-for-project): * calc/calcalg3.el (calc-get-fit-variables): * calc/calc-store.el (calc-edit-variable) (calc-permanent-variable): * vc-mcvs.el (vc-mcvs-register): * shadowfile.el (shadow-define-literal-group): * woman.el (woman-file-name): * vc.el (vc-version-diff, vc-merge): * textmodes/reftex-index.el (reftex-index-complete-tag): * format.el (format-decode-buffer, format-decode-region): * emulation/viper-cmd.el (viper-read-string-with-history): * emacs-lisp/debug.el (cancel-debug-on-entry): * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): * ediff.el (ediff-merge-revisions) (ediff-merge-revisions-with-ancestor, ediff-revision): * completion.el (interactive-completion-string-reader): * calc/calc-prog.el (calc-user-define-formula): Follow convention for reading with the minibuffer.
* (query-replace-read-from, query-replace-read-to)Juri Linkov2005-08-091-8/+8
| | | | (query-replace-read-args): Rename arg `string' to `prompt'.
* (occur-engine): Initial *Occur* output not undoable.Richard M. Stallman2005-08-091-0/+2
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* (match): Use slightly more light RoyalBlue3 instead of dark RoyalBlue4.Juri Linkov2005-07-191-1/+1
|
* (occur-rename-buffer): Use `generate-new-buffer' also when calledJuanma Barranquero2005-07-071-8/+9
| | | | non-interactively. Doc fix.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (occur-hook): Doc fix.Juanma Barranquero2005-07-031-9/+8
| | | | (occur-1): Don't call `occur-hook' if there are no matches.
* (occur-rename-buffer): Fix docstring.Juanma Barranquero2005-07-021-1/+1
|
* (occur-1): Do not set the `buffer-read-only' and modified flags for the occurJuanma Barranquero2005-06-301-3/+3
| | | | buffer when no matches are found, because the buffer has already been deleted.
* (keep-lines-read-args): Add INTERACTIVE arg.Luc Teirlinck2005-06-261-37/+83
| | | | | | | | | | | | | | | | | | | | | | | (keep-lines): Add INTERACTIVE arg. Never delete lines only partially contained in the active region. Do not take active region into account when called from Lisp, unless INTERACTIVE arg is non-nil. Use `forward-line' instead of `beginning-of-line' to avoid trouble with fields. Make marker point nowhere when no longer used. Always return nil. Doc fix. (flush-lines): Add INTERACTIVE arg. Do not take active region into account when called from Lisp, unless INTERACTIVE arg is non-nil. Use `forward-line' instead of `beginning-of-line' to avoid trouble with fields. Make marker point nowhere when no longer used. Always return nil. Doc fix. (how-many): Add INTERACTIVE arg. Make RSTART and REND args interchangeable. Do not take active region into account when called from Lisp, unless INTERACTIVE arg is non-nil. Do not print message in echo area when called from Lisp, unless INTERACTIVE arg is non-nil. Avoid saying "1 occurrences". Do not use markers. Return the number of matches. Doc fix. (occur): Doc fix. (perform-replace): Make comment follow double space convention for the sake of `outline-minor-mode'.
* (occur-1): Set `buffer-read-only' and the buffer-modified flag before runningJuanma Barranquero2005-06-241-3/+3
| | | | | `occur-hook' to protect against unintentional buffer switches that can lead to data loss.
* (replace-match-data): Pass RESEAT arg `t' toKim F. Storm2005-06-081-12/+7
| | | | match-data to unchain markers in match-data.
* (occur-mode): Use run-mode-hooks.Lute Kamstra2005-05-261-1/+1
|
* Replace `read-input' by `read-string'.Juanma Barranquero2005-05-181-10/+10
|
* (occur-1): Bind inhibit-read-only so that erase-buffer doesn't barfEli Zaretskii2005-05-071-26/+26
| | | | | | on read-only text properties (likewise for add-text-properties in occur-engine). Mark buffer as unmodified. (occur-engine): Don't set buffer-read-only here.
* (perform-replace): Remove bindings of globalJuri Linkov2005-03-181-21/+17
| | | | | | | | | | | | | | variables isearch-string, isearch-regexp, isearch-case-fold-search. Add three new arguments to `replace-highlight'. (replace-highlight): Add arguments string, regexp, case-fold. Let-bind isearch-string, isearch-regexp, isearch-case-fold-search to allow isearch-lazy-highlight-new-loop to use these values to set corresponding isearch-lazy-highlight-... internal variables whose values lazy highlighting will use regardless of changes to global variables isearch-string, isearch-regexp, isearch-case-fold-search during lazy highlighting loop. (replace-dehighlight): Rename `isearch-lazy-highlight-cleanup' to `lazy-highlight-cleanup'.
* (query-replace-read-from): Fix 2005-02-19 change.Lute Kamstra2005-02-251-4/+4
|
* (query-replace, query-replace-regexp)Dan Nicolaescu2005-02-191-4/+20
| | | | | (replace-string, replace-regexp): When operating on region, make the minibuffer prompt say so.
* (query-replace-read-from): Set the value ofEli Zaretskii2005-02-191-2/+5
| | | | | query-replace-from-history-variable to handle the case of an empty string entered to accept the suggested default.
* (perform-replace): Pass new args to replace-highlight.Richard M. Stallman2005-02-161-7/+9
| | | | | (replace-highlight): Take region args, and pass them to isearch-lazy-highlight-new-loop.
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-4/+4
| | | | Change development version from 21.3.50 to 22.0.50.
* (occur-accumulate-lines, occur-engine): Avoid warnings.Richard M. Stallman2005-01-151-4/+7
|
* (query-replace-lazy-highlight): Add lazy-highlight group.Juri Linkov2005-01-111-21/+21
| | | | | (query-replace-highlight, query-replace-lazy-highlight) (query-replace): Move definitions to the beginning of the file.
* (query-replace-lazy-highlight): Doc fix.Richard M. Stallman2005-01-041-2/+2
| | | | | | | These were installed in the previous revision: (replace-dehighlight): Use lazy-highlight-cleanup. (query-replace-highlight, query-replace-lazy-highlight) (query-replace): Definitions moved up.
* (occur-1): If the output buffer is also an input, don't kill it, rename it.Richard M. Stallman2005-01-011-36/+36
|
* (occur-accumulate-lines, occur-engine):Juri Linkov2004-12-171-4/+4
| | | | Make forcing deferred font-lock fontification jit-specific.
* (occur-accumulate-lines, occur-engine):Juri Linkov2004-12-161-30/+36
| | | | | | | | | | Fontify unfontified matching lines in the source buffer before copying them. (occur-engine): Don't put mouse-face on context lines. (occur-next-error): Set point to line beginning/end before searching for prev/next property to skip multiple matches on a line (not supported by occur engine). Remove redundant prefix-numeric-value.
* (match): New face.Juri Linkov2004-12-161-1/+15
| | | | (list-matching-lines-face): Change default from `bold' to `match'.
* (perform-replace): Add isearch-case-fold-search.Juri Linkov2004-12-151-36/+48
| | | | | | | | | | | | | | | Use delimited-flag for isearch-regexp. Reset isearch-lazy-highlight-last-string to force lazy highlighting when called from isearch mode. (query-replace-highlight): Revert defcustom type to boolean. (query-replace-lazy-highlight): New defcustom. (query-replace): New face. (perform-replace, replace-highlight, replace-dehighlight): Test query-replace-lazy-highlight instead of special value `isearch' of query-replace-highlight. (replace-dehighlight): Don't call isearch-dehighlight. (replace-highlight): Don't call isearch-highlight. Use face `query-replace' unconditionally.
* * replace.el (query-replace-highlight): Add new value `isearch'Juri Linkov2004-12-121-15/+39
| | | | | | | that allows query replacement to use isearch highlighting. Change type from `boolean' to `choice'. Doc fix. (replace-highlight, replace-dehighlight, perform-replace): Use isearch highlighting if query-replace-highlight eq `isearch'.
* (replace-match-maybe-edit): Doc fix.Juri Linkov2004-12-121-2/+2
| | | | | | | (perform-replace): Don't call `replace-highlight' when automatic replacement is requested in literal mode, since it is intended only to highlight words during entering a new replacement string for \? in non-literal mode.
* (occur-1): Specify t for KEEP-PROPS to occur-engine.Richard M. Stallman2004-12-031-7/+10
| | | | | | (occur-engine): Use `face' prop rather than `font-lock-face' when specifying use of `match-face'. (occur-accumulate-lines): Change arg from NO-PROPS to KEEP-PROPS.
* simple.el (next-error-buffer-p): allow for inclusive andTeodor Zlatanov2004-11-291-11/+17
| | | | | | | | | | | exclusive tests for finding a buffer (next-error-find-buffer): pass the exclusive and inclusive tests to next-error-buffer-p replace.el (occur-next-error): switch to the Occur buffer when appropriate, and use the exclusive filter to next-error-find-buffer to do it. Use the absolute value of the motion amount.
* (query-replace-read-to, query-replace-read-from):Richard M. Stallman2004-11-201-2/+2
| | | | Specify t for KEEP-ALL in read-from-minibuffer.
* (perform-replace): Use `query-replace-descr'.Juri Linkov2004-09-081-2/+4
| | | | (occur-mode-map): Rename `next-error-follow-mode' to `next-error-follow-minor-mode'.