summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
Commit message (Collapse)AuthorAgeFilesLines
* * isearch.el (isearch-search-fun-function): Clarify further theLars Magne Ingebrigtsen2011-07-041-3/+6
| | | | meaning of the function returned.
* * isearch.el (isearch-search-fun-function): Clarify the doc stringLars Magne Ingebrigtsen2011-07-031-4/+4
| | | | (bug#8101).
* * lisp/isearch.el: Let M-e start with point at the first mismatched char.Drew Adams2011-05-271-1/+17
| | | | | (isearch-fail-pos): New function. (isearch-edit-string): Use it.
* * lisp/isearch.el (isearch-range-invisible): Use invisible-p.Dmitry Kurochkin2011-05-271-1/+1
| | | | Fixes: debbugs:8721
* * lisp/isearch.el (isearch-range-invisible): Use invisible-p.Dmitry Kurochkin2011-05-241-11/+2
| | | | Fixes: debbugs:8721
* New command isearch-yank-pop and bind it to `M-y' in IsearchLeo Liu2011-05-031-1/+15
|
* lisp/*.el: Lexical-binding cleanup.Juanma Barranquero2011-04-191-4/+5
|
* Bind C-y in Isearch to isearch-yank-kill.Chong Yidong2011-03-061-1/+2
| | | | | | | * lisp/isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill, and move isearch-yank-line to M-s C-e. * doc/emacs/search.texi (Isearch Yank): C-y now bound to isearch-yank-kill.
* Refill some long/short copyright headers.Glenn Morris2011-01-261-2/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* * lisp/isearch.el (isearch-abort): Don't quit if search hasJuri Linkov2011-01-161-3/+3
| | | | an incomplete regexp (isearch-error is non-nil). (Bug#7534)
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Merge changes from emacs-23 branchChong Yidong2011-01-021-1/+6
|\ \ | |/
| * * lisp/isearch.el (isearch-lazy-highlight-error): New variable.Juri Linkov2010-12-201-1/+6
| | | | | | | | | | | | (isearch-lazy-highlight-new-loop): Compare `isearch-error' and `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error' to the current value of `isearch-error' (Bug#7468).
* | Remove some functions, variables and aliases obsolete since at least 21.1.Glenn Morris2010-10-011-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/misc.texi (Shell Mode): Remove reference to old function name. * src/character.c (Fchar_bytes): Remove obsolete function. (syms_of_character): Remove Schar_bytes. * lisp/subr.el (char-bytes): Remove obsolete function. * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias. * lisp/isearch.el (isearch-return-char): Remove obsolete function. * lisp/mouse.el: No longer provide mldrag. (mldrag-drag-mode-line, mldrag-drag-vertical-line): Remove obsolete aliases. * lisp/comint.el (comint-kill-output): Remove obsolete alias. * lisp/shell.el: Comment fix. * lisp/composite.el (decompose-composite-char): Remove obsolete function. * lisp/ps-def.el (decompose-composite-char): Remove unused function. * lisp/iswitchb.el (iswitchb-default-keybindings): Remove obsolete function. * lisp/outline.el (outline-visible): Remove obsolete function. * lisp/term/pc-win.el (x-frob-font-slant, x-frob-font-weight): * lisp/faces.el (internal-find-face, internal-get-face) (frame-update-faces, frame-update-face-colors) (x-frob-font-weight, x-frob-font-slant) (internal-frob-font-weight, internal-frob-font-slant) (x-make-font-bold, x-make-font-demibold, x-make-font-unbold) (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic) (x-make-font-bold-italic): Remove functions and aliases, obsolete since Emacs 21.1. * lisp/emulation/viper-util.el (viper-get-face): * lisp/obsolete/lucid.el (find-face, get-face): Use facep. * lisp/vc/ediff-init.el (ediff-valid-color-p, ediff-get-face): Remove unused functions. * lisp/vc/ediff-util.el (ediff-submit-report): Doc fix. * etc/NEWS: Mention above changes.
* | Merge changes from emacs-23 branchChong Yidong2010-09-231-10/+14
|\ \ | |/
| * Move some aliases to options before the associated definitions.Glenn Morris2010-09-231-10/+14
| | | | | | | | | | | | | | | | | | * isearch.el (isearch-lazy-highlight-cleanup) (isearch-lazy-highlight-initial-delay) (isearch-lazy-highlight-interval) (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face): * net/net-utils.el (ipconfig-program-options): Move aliases to options before the associated definitions.
* | * lisp/isearch.el (isearch-face): Rename from `isearch'.Stefan Monnier2010-09-181-2/+2
| | | | | | | | (isearch-highlight): Use new name.
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
| |
* | Merge changes from emacs-23 branchChong Yidong2010-08-081-7/+12
|\ \ | |/
| * Fix query-replace-regexp incomplete highlighting (Bug#6808).Johan Bockgård2010-08-081-7/+12
| | | | | | | | | | | | | | | | | | | | * replace.el (replace-highlight): Bind isearch-forward and isearch-error, ensuring that highlighting is updated if the user switches the search direction (Bug#6808). * isearch.el (isearch-lazy-highlight-forward): New var. (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search): (isearch-lazy-highlight-update): Use it.
* | * lisp/isearch.el (isearch-lazy-highlight-search): Fix loopingJuri Linkov2010-06-061-0/+2
| | | | | | | | | | by checking for empty match. This syncs this loop with the similar loop in `isearch-search'. (Bug#6362)
* | * isearch.el (isearch-yank-word-or-char): Pull next subwordMasatake YAMATO2010-05-211-2/+6
| | | | | | | | when `subword-mode' is activated. (Bug#6220)
* | * isearch.el (isearch-update-post-hook): New hook.Mark A. Hershberger2010-05-211-1/+5
| | | | | | | | (isearch-update): Use the new hook. (Bug#6225)
* | * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:Juri Linkov2010-05-211-1/+3
| | | | | | | | | | [f1], [help], and (char-to-string help-char) instead of "\C-h". (Bug#6222)
* | * isearch.el (isearch-yank-string): Use isearch-process-search-string.Juri Linkov2010-05-211-8/+4
| | | | | | | | (Bug#6223)
* | Check both `isearch-scroll' and `scroll-command' properties.Juri Linkov2010-04-161-7/+8
| | | | | | | | | | | | | | | | | | | | | | * isearch.el (isearch-lookup-scroll-key): Check both `isearch-scroll' and `scroll-command' properties. (scroll-up, scroll-down): Remove `isearch-scroll' property. * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property. * simple.el (scroll-up-command, scroll-down-command) (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
* | Add the `scroll-command' property.Juri Linkov2010-04-161-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | * window.c: Add Qscroll_command. Remove Vscroll_preserve_screen_position_commands. (window_scroll_pixel_based, window_scroll_line_based): Check the `scroll-command' property on the last command instead of searching the last command in Vscroll_preserve_screen_position_commands. (syms_of_window): Initialize and staticpro `Qscroll_command'. Put Qscroll_command property on Qscroll_up and Qscroll_down. (scroll-preserve-screen-position): Doc fix. (Vscroll_preserve_screen_position_commands): Remove variable. * simple.el (scroll-up-command, scroll-down-command) (scroll-up-line, scroll-down-line): Put `scroll-command' property on the these symbols. Remove them from `scroll-preserve-screen-position-commands'. * mwheel.el (mwheel-scroll): Put `scroll-command' and `isearch-scroll' properties on the `mwheel-scroll' symbol. Remove it from `scroll-preserve-screen-position-commands'. * isearch.el (isearch-allow-scroll): Doc fix.
* Revert isearch.el change due to feature freeze.Chong Yidong2010-02-191-5/+1
| | | | * isearch.el (isearch-update-post-hook, isearch-update): Revert 2010-02-17 change.
* 2010-02-17 Mark A. Hershberger <mah@everybody.org>Mark A. Hershberger2010-02-171-1/+5
| | | | | | | * vc-bzr.el: fix typo in Known Bugs section. * isearch.el (isearch-update-post-hook): New hook (isearch-update): Use the new hook.
* * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).Chong Yidong2010-01-221-1/+4
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Correctly restore original Isearch point. (Bug#4994)Juri Linkov2009-12-071-6/+12
| | | | | | | | | | * isearch.el (isearch-mode): Move `isearch-push-state' after `(run-hooks 'isearch-mode-hook)'. (isearch-cancel): When `isearch-push-state-function' is defined, let-bind `isearch-cmds' to the first state (the last element of `isearch-cmds') and call `isearch-top-state' (it calls pop-state function and restores the original point). Otherwise, move point to `isearch-opoint'.
* * textmodes/tex-mode.el (tex-alt-dvi-print-command)Dan Nicolaescu2009-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tex-dvi-print-command, tex-bibtex-command, tex-start-commands) (tex-start-options, slitex-run-command, latex-run-command) (tex-run-command, tex-directory): * textmodes/ispell.el (ispell-html-skip-alists) (ispell-tex-skip-alists, ispell-tex-skip-alists): * textmodes/fill.el (adaptive-fill-first-line-regexp): (adaptive-fill-regexp): * textmodes/dns-mode.el (auto-mode-alist): * progmodes/python.el (interpreter-mode-alist): * progmodes/etags.el (tags-compression-info-list): * progmodes/etags.el (tags-file-name): * net/browse-url.el (browse-url-galeon-program) (browse-url-firefox-program): * mail/sendmail.el (mail-signature-file) (mail-citation-prefix-regexp): * international/mule-conf.el (eight-bit): * international/latexenc.el (latex-inputenc-coding-alist): * international/fontset.el (x-pixel-size-width-font-regexp): * emacs-lisp/warnings.el (warning-type-format): * emacs-lisp/trace.el (trace-buffer): * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map) (emacs-lisp-mode-map): * calendar/holidays.el (holiday-solar-holidays) (holiday-bahai-holidays, holiday-islamic-holidays) (holiday-christian-holidays, holiday-hebrew-holidays) (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2) (hebrew-holidays-1, holiday-oriental-holidays) (holiday-general-holidays): * x-dnd.el (x-dnd-known-types): * tool-bar.el (tool-bar): * startup.el (site-run-file): * shell.el (shell-dumb-shell-regexp): * rfn-eshadow.el (file-name-shadow-tty-properties) (file-name-shadow-properties): * paths.el (remote-shell-program, news-directory): * mouse.el ([C-down-mouse-3]): * menu-bar.el (menu-bar-tools-menu): * jka-cmpr-hook.el (jka-compr-load-suffixes) (jka-compr-mode-alist-additions, jka-compr-compression-info-list) (jka-compr-compression-info-list): * isearch.el (search-whitespace-regexp): * image-file.el (image-file-name-extensions): * find-dired.el (find-ls-option): * files.el (directory-listing-before-filename-regexp) (directory-free-space-args, insert-directory-program) (list-directory-brief-switches, magic-fallback-mode-alist) (magic-fallback-mode-alist, auto-mode-interpreter-regexp) (automount-dir-prefix): * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head) (x-font-regexp-slant, x-font-regexp-weight, face-x-resources) (face-font-registry-alternatives, face-font-registry-alternatives) (face-font-family-alternatives): * facemenu.el (facemenu-add-new-face, facemenu-background-menu) (facemenu-foreground-menu, facemenu-face-menu): * epa-hook.el (epa-file-name-regexp): * dnd.el (dnd-protocol-alist): * textmodes/rst.el (auto-mode-alist): * button.el (default-button): Purecopy strings.
* Remove unused declarations.Glenn Morris2009-10-011-1/+0
|
* * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).Stefan Monnier2009-09-271-1/+1
| | | | | | * isearch.el (isearch-help-for-help-internal): Purecopy the second arg. * help-macro.el (make-help-screen): Avoid using an ambiguous function definition where the docstring could be taken for the return value.
* (isearch-text-char-description): Propertize escapeJuri Linkov2009-09-101-2/+2
| | | | character sequences with the `escape-glyph' face. (Bug#4344)
* Mark face aliases with "-face" suffix as obsolete.Glenn Morris2009-09-011-3/+3
|
* (isearch-search-string): Use `with-no-warnings' around forms that referEli Zaretskii2009-02-141-5/+13
| | | | to translation-table-for-input.
* (isearch-yank-char-in-minibuffer)Stefan Monnier2009-02-121-7/+5
| | | | (isearch-other-meta-char): Use with-current-buffer.
* Replace last-command-char with last-command-event.Glenn Morris2009-01-091-3/+4
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (isearch-filter-predicate, isearch-search): ReplaceJuri Linkov2008-12-231-6/+7
| | | | | | `isearch-filter-invisible' with `isearch-filter-visible'. (isearch-filter-visible): Renamed from `isearch-filter-invisible'. Doc fix.
* (minibuffer-local-isearch-map): Unbind "C-w" fromJuri Linkov2008-12-181-17/+14
| | | | | | | | | `isearch-edit-string-set-word'. (isearch-edit-string-set-word): Remove. (isearch-occur): Imitate the C function `wordify' by replacing non-word character with the \\W+ regexp. (isearch-search-fun): Add `isearch-nonincremental' to the condition of using a non-lax version of `word-search-forward'.
* (isearch-mode): Change the order of callingJuri Linkov2008-11-221-1/+1
| | | | | `isearch-update' and running the `isearch-mode-hook' to call `isearch-update' with Isearch parameters set in this hook.
* * isearch.el (isearch-search-string): Doc fix.Juanma Barranquero2008-11-211-55/+55
| | | | | | | | | | | | | | | | | | | | (search-exit-option, search-slow-window-lines, search-slow-speed) (search-upper-case, search-nonincremental-instead) (search-whitespace-regexp, search-ring-max, regexp-search-ring-max) (search-ring-update, search-highlight, isearch-lazy-highlight) (lazy-highlight-cleanup, lazy-highlight-initial-delay) (lazy-highlight-interval): Remove * from defcustom docstrings. (isearch-resume-in-command-history, lazy-highlight-max-at-a-time): Remove * from defcustom docstrings; fix typos. (isearch-push-state-function, isearch-help-for-help-internal) (isearch-help-for-help, isearch-describe-bindings) (isearch-describe-mode, minibuffer-local-isearch-map, isearch-mode) (isearch-pop-fun-state, isearch-search-fun-function) (isearch-lazy-highlight-search): Fix typos in docstrings. (isearch-yank-internal, isearch-fallback): Reflow docstrings. (isearch-forward): Fix typo and reflow docstring. (isearch-help-map): Remove unused `i' binding. Fix typos in docstring. (isearch-mode-map): Don't use `let*'.
* (isearch-search-string): Simplify and convert docstring.Stefan Monnier2008-11-211-29/+28
|
* (isearch-filter-predicate): Rename fromJuri Linkov2008-11-171-15/+18
| | | | | | | | | | `isearch-success-function'. Rename default value from `isearch-success-function-default' to `isearch-filter-invisible'. Doc fix. (isearch-filter-invisible): Rename from `isearch-success-function-default'. Doc fix. (isearch-search, isearch-lazy-highlight-search): Rename `isearch-success-function' to `isearch-filter-predicate'.