| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
| |
(occur-1): If one of the buffers we're searching is the *Occur* buffer
itself, handle it by creating a temporary buffer. If any of the
buffers being searched are killed, note that in the search result
message. Also, set local variables before we possibly kill the
buffer.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(occur-engine-add-prefix): New function.
(occur-engine): Avoid using macrolet, incf and decf.
Use occur-engine-add-prefix instead.
Rename `l' to `lines' and `c' to `matches'.
(occur-engine, occur-mode-mouse-goto)
(occur-mode-find-occurrence, occur-mode-goto-occurrence)
(occur-mode-goto-occurrence-other-window)
(occur-mode-display-occurrence): A position is just a marker,
not a list.
(occur-revert-arguments):
Renamed from occur-revert-properties. All uses changed.
|
| |
|
|
|
|
| |
lines. Handle it.
|
|
|
|
| |
(occur-engine): Go to `point-min'.
|
|
|
|
| |
(occur-engine): Use it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(occur-buffer, occur-nlines): Delete.
(occur-revert-properties): Rename to `occur-revert-properties'.
(occur-mode): Handle it. Set up font lock.
(occur-revert-function): Simply apply `occur-1'.
(occur-mode-find-occurence, occur-mode-mouse-goto)
(occur-mode-goto-occurrence-other-window)
(occur-mode-display-occurrence): Handle buffer property.
(list-matching-lines-face): Use defcustom.
(list-matching-lines-buffer-name-face): New variable.
(occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
in ibuffer.el.
(occur-read-primary-args): Move out of `occur'.
(occur): Delete. Now simply call `occur-1'.
(multi-occur, multi-occur-by-filename-regexp): New functions.
(occur-1): New function.
(occur-engine): Renamed from `ibuffer-occur-engine' to replace the
previous implementation of `occur'; taken from ibuf-ext.el.
(occur-fontify-on-property): New function.
(occur-fontify-region-function, occur-unfontify-region-function):
New functions.
|
|
|
|
| |
(perform-replace): Use save-window-excursion around recursive edit.
|
| |
|
| |
|
|
|
|
| |
(occur-mode-map): Bind `o' to that.
|
| |
|
|
|
|
| |
(occur-mode-map): Bind C-o to it.
|
| |
|
| |
|
|
|
|
|
| |
(perform-replace): If that variable is non-nil, ignore matches
that have a read-only property.
|
|
|
|
| |
to the end of the argument list and make them optional.
|
|
|
|
| |
correct order.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Provide nil for the region args.
(keep-lines, flush-lines, how-many):
Calculate the defaults for the region here, when args are nil.
|