summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
Commit message (Collapse)AuthorAgeFilesLines
* 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'.
* (isearch-message-prefix-add)Juri Linkov2008-11-111-1/+6
| | | | | | | | (isearch-message-suffix-add): New variables. (isearch-message-prefix): Show additional text from `isearch-message-prefix-add' before "I-search". (isearch-message-suffix): Show additional text from `isearch-message-suffix-add' at the end.
* * isearch.el (isearch-lazy-highlight-search): Use a loop like inJuri Linkov2008-11-111-16/+25
| | | | | | `isearch-search'. Call isearch-success-function to skip matches outside the current isearch scope. Let-bind search-invisible to nil to not match invisible text.
* * isearch.el (isearch-query-replace, isearch-highlight-regexp):Juri Linkov2008-11-111-7/+23
| | | | | | | | | Bind `isearch-recursive-edit' to nil to prevent calling `exit-recursive-edit' in `isearch-done' that terminates the execution of these commands when it is non-nil. Call `exit-recursive-edit' explicitly at the end. (isearch-occur): For word search construct the correct regexp with word boundaries to proceed with occur.
* (isearch-search-fun): Compare the length of theJuri Linkov2008-11-111-1/+6
| | | | | | | | current search string with the length of the string from the previous search state to detect the situation when the user adds or removes characters in the search string. Use word-search-forward-lax and word-search-backward-lax in this case, and otherwise word-search-forward and word-search-backward.
* (isearch-query-replace, isearch-query-replace-regexp):Juri Linkov2008-10-191-9/+20
| | | | | | Add arg `delimited' as in `query-replace' for the case when isearch-allow-scroll=t and the user types C-u M-%. Doc fix. Add more indicators to the prompt ("word" and "in region").
* (isearch-search-fun): Use word-search-forward-lax andChong Yidong2008-09-251-1/+1
| | | | word-search-backward-lax for incremental word search.
* (isearch-highlight-regexp): Fix last change, quoting non-alphabeticalChong Yidong2008-09-031-5/+7
| | | | characters properly.
* (isearch-highlight-regexp): Fix case of highlighted string.Chong Yidong2008-08-291-8/+15
|
* (isearch-forward-regexp, isearch-forward-word)Juri Linkov2008-07-311-20/+21
| | | | | | | | (isearch-backward, isearch-backward-regexp): Doc fix - make a link to the command `isearch-forward' instead of displaying "See C-s". (isearch-highlight-regexp): Remove arguments `regexp' and `face' with their interactive specifictions. Move reading the face name to the main body after calls to isearch-done and isearch-clean-overlays.
* (isearch-edit-string-set-word): New command.Juri Linkov2008-07-311-22/+12
| | | | | | | | (minibuffer-local-isearch-map): Bind "\C-w" to isearch-edit-string-set-word. (isearch-new-word): Temporary internal variable. (isearch-edit-string): Remove special case of reading the first character and checking it for C-w.
* (isearch-mode-map): Bind `M-s r' to `isearch-toggle-regexp'Juri Linkov2008-07-301-5/+31
| | | | | | | | and `M-s w' to `isearch-toggle-word'. (search-map): Bind `M-s w' to `isearch-forward-word' globally in the global map `search-map'. (isearch-forward): Doc fix. (isearch-forward-word, isearch-toggle-case-fold): New commands.
* Remove support for Mac Carbon.Dan Nicolaescu2008-07-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mactoolbox.c: * macterm.h: * macterm.c: * macselect.c: * macmenu.c: * macgui.h: * macfns.c: * mac.c: Remove file. * s/darwin.h: * m/intel386.h: * xfaces.c: * xdisp.c: * window.c: * tparam.c: * termhooks.h: * termcap.c: * term.c: * syssignal.h: * sysselect.h: * sysdep.c: * process.c: * lread.c: * lisp.h: * keyboard.c: * image.c: * fringe.c: * frame.h: * frame.c: * fontset.c: * font.h: * font.c: * fns.c: * fileio.c: * emacs.c: * dispnew.c: * dispextern.h: * config.in: * atimer.c: * Makefile.in: Remove code for Carbon * erc.el: Remove code for Carbon. Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. Remove support for Mac Carbon. * makefile.w32-in: * emacsclient.c: Remove code for Carbon. * PROBLEMS: * MACHINES: Remove mentions of Mac Carbon. * ns-emacs.texi: * faq.texi: Remove mentions of Mac Carbon. * os.texi: * frames.texi: * display.texi: Remove mentions of Mac Carbon. * xresources.texi: Remove mentions of Mac Carbon. * make-tarball.txt: * admin.el: * FOR-RELEASE: * CPP-DEFINES: Remove mentions of Mac Carbon. Remove support for Mac Carbon. * mac: Remove directory. * make-dist: * configure.in: * README: * Makefile.in: * INSTALL: Remove code for Carbon. * configure: Regenerate.
* (isearch-message-prefix): Display "Multi" whenJuri Linkov2008-07-231-3/+4
| | | | | | | `multi-isearch-next-buffer-current-function' is non-nil. (isearch-search-string): Replace `isearch-buffers-next-buffer-function' with `multi-isearch-next-buffer-current-function', and `isearch-buffers-current-buffer' with `multi-isearch-current-buffer'.
* (isearch-mode-map): Bind `M-s h r' to `isearch-highlight-regexp'.Juri Linkov2008-06-251-0/+21
| | | | (isearch-highlight-regexp): New function.
* Put isearch-scroll property on recenter-top-bottom.Juri Linkov2008-05-111-0/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|