Juri Linkov
9a45d6c331
* lisp/isearch.el (isearch-done): Don't display message "Mark saved"
...
when arg `edit' is non-nil to prevent its flicker in the echo area.
2011-08-29 23:22:44 +03:00
Juri Linkov
3e8cd5ce95
* lisp/isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
...
`search-whitespace-regexp'.
Fixes: debbugs:9364
2011-08-25 23:48:45 +03:00
Juri Linkov
93eb711326
* lisp/isearch.el (isearch-edit-string): Let-bind `search-ring' and
...
`regexp-search-ring' to their global values to protect from
updating by `read-from-minibuffer'.
Fixes: debbugs:9185
2011-08-25 23:32:54 +03:00
Juri Linkov
11dcdbb283
"C-s M-p" brings the tip of the search ring.
...
* lisp/isearch.el (isearch-ring-adjust1): Start visiting previous
search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
(isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
for empty search string (when the last search string is reused
automatically) to adjust the isearch ring to the last element and
prepare the correct index for further M-p commands.
Fixes: debbugs:9185
2011-08-24 12:40:58 +03:00
Lars Magne Ingebrigtsen
478615cc10
Doc fix.
...
* isearch.el (isearch-barrier): Add a doc string, since it's
mentioned in a function doc string.
Fixes: debbugs:8678
2011-07-15 15:33:07 +02:00
Lars Magne Ingebrigtsen
f158badc8f
* isearch.el (isearch-search-fun-function): Clarify further the
...
meaning of the function returned.
2011-07-04 14:15:16 +02:00
Lars Magne Ingebrigtsen
c7f9804877
* isearch.el (isearch-search-fun-function): Clarify the doc string
...
(bug#8101).
2011-07-03 22:02:14 +02:00
Drew Adams
b74aa22b0a
* lisp/isearch.el: Let M-e start with point at the first mismatched char.
...
(isearch-fail-pos): New function.
(isearch-edit-string): Use it.
2011-05-27 22:26:53 -03:00
Dmitry Kurochkin
66e2e71d55
* lisp/isearch.el (isearch-range-invisible): Use invisible-p.
...
Fixes: debbugs:8721
2011-05-27 22:14:38 -03:00
Dmitry Kurochkin
4d90d6d078
* lisp/isearch.el (isearch-range-invisible): Use invisible-p.
...
Fixes: debbugs:8721
2011-05-24 15:15:07 -03:00
Leo Liu
256661260d
New command isearch-yank-pop and bind it to `M-y' in Isearch
2011-05-03 11:34:26 +08:00
Juanma Barranquero
06b605171f
lisp/*.el: Lexical-binding cleanup.
2011-04-19 15:44:55 +02:00
Chong Yidong
892777baa1
Bind C-y in Isearch to isearch-yank-kill.
...
* 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.
2011-03-06 13:24:11 -05:00
Glenn Morris
95df8112a0
Refill some long/short copyright headers.
2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Juri Linkov
d4119912fb
* lisp/isearch.el (isearch-abort): Don't quit if search has
...
an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2011-01-16 01:04:22 +00:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Chong Yidong
7c420169ba
Merge changes from emacs-23 branch
2011-01-02 15:31:19 -05:00
Juri Linkov
957e5dd1e9
* lisp/isearch.el (isearch-lazy-highlight-error): New variable.
...
(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).
2010-12-20 01:18:15 +00:00
Glenn Morris
3226d6cacf
Remove some functions, variables and aliases obsolete since at least 21.1.
...
* 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.
2010-10-01 19:46:13 -07:00
Chong Yidong
266a86bd7f
Merge changes from emacs-23 branch
2010-09-23 15:00:31 -04:00
Glenn Morris
af3ccb5cc0
Move some aliases to options before the associated definitions.
...
* 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.
2010-09-23 00:05:22 -07:00
Stefan Monnier
4be520fbec
* lisp/isearch.el (isearch-face): Rename from `isearch'.
...
(isearch-highlight): Use new name.
2010-09-18 00:09:58 +02:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Chong Yidong
7815fe1985
Merge changes from emacs-23 branch
2010-08-08 17:12:29 -04:00
Johan Bockgård
e54a107503
Fix query-replace-regexp incomplete highlighting (Bug#6808).
...
* 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.
2010-08-08 16:55:52 -04:00
Juri Linkov
27dd3c1158
* lisp/isearch.el (isearch-lazy-highlight-search): Fix looping
...
by checking for empty match. This syncs this loop with the
similar loop in `isearch-search'. (Bug#6362)
2010-06-06 12:52:13 +03:00
Masatake YAMATO
1ddb2ea0f3
* isearch.el (isearch-yank-word-or-char): Pull next subword
...
when `subword-mode' is activated. (Bug#6220)
2010-05-21 01:33:09 +03:00
Mark A. Hershberger
a602033560
* isearch.el (isearch-update-post-hook): New hook.
...
(isearch-update): Use the new hook. (Bug#6225)
2010-05-21 01:16:19 +03:00
Juri Linkov
50de6a38df
* isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
...
[f1], [help], and (char-to-string help-char) instead of "\C-h".
(Bug#6222)
2010-05-21 01:01:57 +03:00
Juri Linkov
5d944a8f7f
* isearch.el (isearch-yank-string): Use isearch-process-search-string.
...
(Bug#6223)
2010-05-21 00:49:49 +03:00
Juri Linkov
ad40eec53f
Check both isearch-scroll' and
scroll-command' properties.
...
* 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.
2010-04-16 04:24:00 +03:00
Juri Linkov
a4b000fb3d
Add the `scroll-command' property.
...
* 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.
2010-04-16 02:51:12 +03:00
Chong Yidong
3513efb2b5
Revert isearch.el change due to feature freeze.
...
* isearch.el (isearch-update-post-hook, isearch-update): Revert 2010-02-17 change.
2010-02-19 16:36:29 -05:00
Mark A. Hershberger
ba5bf6423b
2010-02-17 Mark A. Hershberger <mah@everybody.org>
...
* vc-bzr.el: fix typo in Known Bugs section.
* isearch.el (isearch-update-post-hook): New hook
(isearch-update): Use the new hook.
2010-02-17 16:39:21 -05:00
Chong Yidong
9425f8e1b3
* isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
2010-01-22 11:32:31 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Juri Linkov
406374109c
Correctly restore original Isearch point. (Bug#4994)
...
* 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'.
2009-12-07 17:30:01 +00:00
Dan Nicolaescu
1e8780b173
* textmodes/tex-mode.el (tex-alt-dvi-print-command)
...
(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.
2009-11-06 05:16:23 +00:00
Glenn Morris
b15c31c722
Remove unused declarations.
2009-10-01 02:17:38 +00:00
Stefan Monnier
ce9a0ccb72
* help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
...
* 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.
2009-09-27 00:27:21 +00:00
Juri Linkov
cf5e419931
(isearch-text-char-description): Propertize escape
...
character sequences with the `escape-glyph' face. (Bug#4344)
2009-09-10 00:54:15 +00:00
Glenn Morris
c4f6e489aa
Mark face aliases with "-face" suffix as obsolete.
2009-09-01 07:24:13 +00:00
Eli Zaretskii
0d58bedde6
(isearch-search-string): Use `with-no-warnings' around forms that refer
...
to translation-table-for-input.
2009-02-14 09:04:46 +00:00
Stefan Monnier
00c4240510
(isearch-yank-char-in-minibuffer)
...
(isearch-other-meta-char): Use with-current-buffer.
2009-02-12 05:38:25 +00:00
Glenn Morris
8989a9203f
Replace last-command-char with last-command-event.
2009-01-09 04:44:15 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Juri Linkov
f2fd32611c
(isearch-filter-predicate, isearch-search): Replace
...
`isearch-filter-invisible' with `isearch-filter-visible'.
(isearch-filter-visible): Renamed from
`isearch-filter-invisible'. Doc fix.
2008-12-23 21:01:41 +00:00