| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
(occur-mode-map): Rename `next-error-follow-mode' to `next-error-follow-minor-mode'.
|
| | |
|
| |
|
|
|
|
|
| |
`query-replace-compile-replacement'.
(query-replace-compile-replacement): New function.
(query-replace-read-to): Use `query-replace-compile-replacement'
for repeating the last command.
|
| |
|
|
| |
(occur-engine): Handle negative NLINES.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
(query-replace-read-from, query-replace-read-args): Default to the last from&to.
(query-replace-read-to): Quote the `from' string when displaying it.
(query-replace-regexp-eval): Immediately check read-only status.
Use query-replace-read-from to get the \n checking.
Quote the `from' string when displaying it.
(map-query-replace-regexp, occur-read-primary-args):
Quote the `from' string when displaying it.
|
| |
|
|
|
| |
from query-replace-read-args.
(query-replace-read-args): Use them.
|
| |
|
|
|
|
| |
Remove the `initial' special value.
(query-replace-regexp-eval, map-query-replace-regexp): Simplify.
(occur-engine): Remove unused var `matchend'.
|
| |
|
|
|
| |
not after (quote foo). Match space only immediately after symbol,
not anywhere in the whole string.
|
| |
|
|
| |
closeparens. But avoid error if string ends there.
|
| |
|
|
|
|
| |
to choice. Add value `initial'.
(query-replace-read-args): Handle value `initial' of
query-replace-interactive.
|
| |
|
|
| |
everything except )]" which in most cases means after a symbol.
|
| |
|
|
| |
non-query mode if there is potential replace string editing.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
and \t when we are doing a regexp replacement and the actual
escaped character is n or t.
(query-replace-regexp): Add \, and \# interpretation to
interactive call and document it.
(query-replace-regexp-eval, replace-match-string-symbols): add \#
as shortkey for replace-count.
(replace-quote): New function for doubling backslashes.
|
| | |
|
| | |
|
| |
|
|
| |
(occur-next-error, occur-1): Hook into the next-error framework.
|
| |
|
|
| |
matches in the matches per buffer heading.
|
| | |
|
| |
|
|
|
| |
regexp-flag to indicate literal replacement.
(query-replace-regexp-eval): Use it.
|
| | |
|
| |
|
|
| |
(map-query-replace-regexp): Use prefix-numeric-value.
|
| |
|
|
|
|
|
| |
(query-replace, query-replace-regexp)
(query-replace-regexp-eval, map-query-replace-regexp)
(replace-string, replace-regexp): Read the start and end args
separately so that the expressions are recorded in command-history.
|
| | |
|
| |
|
|
|
| |
OUT-BUF to that of one of BUFFERS if they locally bind that
variable.
|
| | |
|
| |
|
|
| |
(occur-next, occur-prev): Use it.
|
| |
|
|
| |
(occur-engine): Use 7 digits to align tabs in the data.
|
| | |
|
| |
|
|
|
|
|
| |
Changed prompt to use C-j instead of RET to end.
Set ido-ignore-item-temp-list to the selected buffers so far, so
they are automatically excluded from the list of choices.
Use add-to-list instead of push.
|
| | |
|
| |
|
|
|
| |
(occur-mode): Use it.
(occur-hook): Set default to nil.
|
| |
|
|
|
|
| |
(occur-mode): Remove call to `occur-mode-hook'.
(occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
(occur-1): Add call to `occur-hook'.
|
| |
|
|
|
| |
(occur-mode-map): Bind "r" to it. Added keybindings for
`kill-this-buffer', `clone-buffer' and `quit-window'.
|
| |
|
|
| |
read-only error before reading regexp argument.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
and be sure to set `font-lock-core-only'.
|
| |
|
|
|
|
| |
(occur-1): Pass `list-matching-lines-face' and
`list-matching-lines-buffer-name-face'.
(occur-engine): Use `font-lock-face' instead of categories.
|
| | |
|
| |
|
|
| |
newline at the end of occurences.
|
| |
|
|
|
|
|
|
|
|
| |
(occur-mode-map): Don't escape plain "o".
(occur-mode-hook): New variable.
(occur-fontify-region-function): Deleted.
(occur-mode): Don't use it. Set up `font-lock-category-alist' instead.
(occur-fontify-on-property): Deleted.
(occur-engine): Use categories from `font-lock-category-alist'.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
(occur-revert-function): Use it.
(occur-1): Handle plurals.
(occur-engine): If there are no more matches, then finish
searching the current buffer.
|
| | |
|
| |
|
|
|
|
|
| |
(occur-mode): Don't use it.
(occur-engine): Respect `keep-props'.
(occur-accumulate-lines): If we're moving forward, decrement; don't
increment, and vice versa.
|