Juri Linkov [Thu, 1 Jul 2004 10:01:32 +0000 (10:01 +0000)]
(query-replace-interactive): Change type from boolean
to choice. Add value `initial'.
(query-replace-read-args): Handle value `initial' of
query-replace-interactive.
Juri Linkov [Thu, 1 Jul 2004 09:54:51 +0000 (09:54 +0000)]
(isearch-mode-map): Bind C-M-w to isearch-del-char,
C-M-y to isearch-yank-char. Bind M-% to isearch-query-replace,
C-M-% to isearch-query-replace-regexp.
(minibuffer-local-isearch-map): Add arrow key bindings.
Bind C-f to isearch-yank-char-in-minibuffer.
(isearch-forward): Doc fix.
(isearch-edit-string): Doc fix.
(isearch-query-replace, isearch-query-replace-regexp): New funs.
(isearch-del-char): Add optional arg. Set isearch-yank-flag to t.
(isearch-yank-char): Add optional arg.
(isearch-yank-char-in-minibuffer): New fun.
Andreas Schwab [Wed, 30 Jun 2004 13:11:36 +0000 (13:11 +0000)]
(CHECK_LIB_AVAILABLE): Add third parameter LIBRARIES.
(Finit_image_library): Pass LIBRARIES through to
CHECK_LIB_AVAILABLE. Declare parameters. Doc fix.
(lookup_image_type): Pass Qnil as second argument to
Finit_image_library.
Steven Tamm [Tue, 29 Jun 2004 06:39:03 +0000 (06:39 +0000)]
macterm.c (do_window_activate, do_window_deactivate): Remove.
(XTread_socket): Fix activation/focus problems by only handling
emacs windows and passing mouse events to the event chain regardless.
Jason Rumney [Sun, 27 Jun 2004 22:37:07 +0000 (22:37 +0000)]
(file_dialog_callback): Disable edit control if set
to directories only on CDN_INITDONE message.
(Fx_file_dialog): Default to directories only when prompt starts
with "Dired".
Kai Großjohann [Sat, 26 Jun 2004 14:41:13 +0000 (14:41 +0000)]
* net/ange-ftp.el (ange-ftp-file-remote-p): New return value,
according to new documentation of `file-remote-p'.
* files.el (file-remote-p): Fix doc to say that return value is
identification of remote system, if not nil.
(file-relative-name): Use new return value of `file-remote-p'.
(font-lock-keywords): Change format of compiled values. Document it.
(font-lock-add-keywords): If font-lock-keywords is compiled,
extract the uncompiled version, modify, then recompile.
(font-lock-remove-keywords): Likewise.
(font-lock-fontify-keywords-region): Handle changed format.
(font-lock-compile-keywords): Handle changed format.
(font-lock-set-defaults): Compile the keywords explicitly here.
David Kastrup [Thu, 24 Jun 2004 14:05:59 +0000 (14:05 +0000)]
(Unconditional Replace): Use replace-string instead
of query-replace in example.
(Regexp Replace): Add explanations for `\,', `\#' and `\?'
sequences.
(Query Replace): Correct explanation of `^' which does not use
the mark stack.
David Kastrup [Thu, 24 Jun 2004 10:36:13 +0000 (10:36 +0000)]
Move description from new paragraph-start and
indent-line-function defaults to general news instead of new
packages. Same for query-replace-skip-read-only. Add
description of new `\,' and `\?' replacement string features.
David Kastrup [Thu, 24 Jun 2004 10:26:24 +0000 (10:26 +0000)]
(query-replace-read-args): Implement `\,' and `\#'
replacements here.
(query-replace-regexp): Doc string explaining this and the new
`\?' replacement. Remove `\,' and `\#' implementation here, as it
is better placed in `query-replace-read-args'.
(replace-regexp): Explain `\,', `\#' and `\?'.
(replace-match-data): New function for thorough reuse/destruction
of old match-data.
(replace-match-maybe-edit): Function for implementing `\?'
editing.
(perform-replace): Fix maintaining of the match stack including
already matched regions, implement `\?', fix various problems
with regions while editing and other stuff.
(replace-highlight): Simplified.
Daniel Pfeiffer [Wed, 23 Jun 2004 23:11:23 +0000 (23:11 +0000)]
(grep-error-screen-columns): New variable.
(grep-regexp-alist): Give it the full functionality of gnu style compilation messages with line and column ranges. Ask me for the perl script I'm working on, that uses these.
David Kastrup [Wed, 23 Jun 2004 19:22:25 +0000 (19:22 +0000)]
(Freplace_match): Adjust the match-data more
thoroughly when replacing strings in the buffer.
search.c (match-data): When INTEGERS is non-nil and the last match
was in a buffer, add the buffer as last element to the match data.
(Fset_match_data): If an additional element of the match-data is
a buffer, restore it to last_thing_searched.
(save_search_regs): Save last_thing_searched as part of the match
data.
(restore_match_data): Restore it again.
David Kastrup [Wed, 23 Jun 2004 19:21:14 +0000 (19:21 +0000)]
2004-06-23 David Kastrup <dak@gnu.org>
* search.c (Freplace_match): Adjust the match-data more
thoroughly when replacing strings in the buffer.
search.c (match-data): When INTEGERS is non-nil and the last match
was in a buffer, add the buffer as last element to the match data.
(Fset_match_data): If an additional element of the match-data is
a buffer, restore it to last_thing_searched.
(save_search_regs): Save last_thing_searched as part of the match
data.
(restore_match_data): Restore it again.
Nick Roberts [Wed, 23 Jun 2004 18:04:43 +0000 (18:04 +0000)]
(comint-insert-clicked-input, comint-copy-old-input):
Remove.
(comint-insert-input, comint-mouse-insert-input): New functions
based on comint-insert-clicked-input for two bindings but just
one functionality.