1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-12 17:10:43 -08:00
Commit graph

180 commits

Author SHA1 Message Date
Juri Linkov
f30c45e105 (grep-match-face): New defvar.
(grep-mode-font-lock-keywords): Use grep-match-face instead of
compilation-column-face to highlight grep matches.
2004-12-16 07:16:44 +00:00
Richard M. Stallman
bde94a7f47 (grep-regexp-alist): Don't match parens around line numbers. 2004-11-25 03:05:00 +00:00
Thien-Thi Nguyen
02b73b974f (grep-default-command): Take empty string
for tag if all other methods yield nil.  Shell-quote the tag.
2004-11-03 11:45:20 +00:00
Juri Linkov
1bcd42e2fe (grep-regexp-alist): Move match highlighting
code to `grep-mode-font-lock-keywords'.
(grep-mode-font-lock-keywords): Delete grep markers instead
of making them invisible.
2004-10-28 09:00:26 +00:00
Stefan Monnier
cbd5542a3c (grep-mode): Remove unnecessary autoload. 2004-09-09 21:42:52 +00:00
Juri Linkov
0443d8895a (grep-mode-map): Rename next-error-follow-mode' to next-error-follow-minor-mode'. 2004-09-08 20:21:57 +00:00
Thien-Thi Nguyen
de4c2de761 (grep-mode): Use normal autoload cookie. 2004-09-08 11:21:16 +00:00
Juri Linkov
a58c94a227 (grep-highlight-matches): Doc fix.
(grep-process-setup): Call `grep-compute-defaults' if
`grep-highlight-matches' is not computed.  Set env-vars only
if `grep-highlight-matches' is `t'.
2004-09-07 18:10:49 +00:00
Juri Linkov
00889cf957 (grep-highlight-matches): Change default from
`t' to `auto-detect', and type from `boolean' to `choice'.
(grep-compute-defaults): Set `grep-highlight-matches' to `t'
if grep option `--color' is available, or to `nil' otherwise.
(grep-use-null-device): Remove redundant type `boolean' (`choice'
is already defined).
2004-09-07 03:56:35 +00:00
Eli Zaretskii
c5d9b0ff37 (grep-mode-map): Bind toggle-next-error-follow-mode. 2004-09-04 12:48:19 +00:00
Juri Linkov
277df08871 (grep-highlight-matches): New defcustom.
(grep-regexp-alist): Add rule to highlight grep matches.
(grep-process-setup): Set env-vars GREP_OPTIONS and GREP_COLOR.
2004-09-02 16:35:42 +00:00
Richard M. Stallman
8a9cad92b1 (grep-default-command): Use find-tag-default.
(grep-tag-default): Function deleted.
2004-08-28 15:31:20 +00:00
Luc Teirlinck
c426452f4c (grep): Doc fix. 2004-07-14 22:25:09 +00:00
Eli Zaretskii
9b19858ed7 (grep-compute-defaults, grep-command)
(grep-program, find-program, grep-find-use-xargs, grep-history)
(grep-find-history, grep-tag-default, grep-find-command)
(grep-regexp-alist, grep-process-setup, grep-compute-defaults):
Add autoload cookies, for unbundled packages that load `compile'
and expect all grep-related symbols to become defined.
2004-07-03 10:06:42 +00:00
Daniel Pfeiffer
bb72b9d0b5 (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.
2004-06-23 23:11:23 +00:00
Daniel Pfeiffer
186ac3d480 (grep-regexp-alist): Match columns and column ranges, if present. 2004-06-18 23:01:30 +00:00
Stefan Monnier
f833e227cb (grep-tree): Rework previous fix. 2004-05-28 21:07:47 +00:00
Jesper Harder
f5340e292c (grep-tree): Ensure that DIR argument is
interpreted as a directory.
2004-05-23 19:08:48 +00:00
Jan Djärv
7f0d4d298d Undo previous change 2004-04-20 21:41:50 +00:00
Jan Djärv
3faf4eb37f * progmodes/grep.el (grep-mode): Add eval-when-compile. 2004-04-20 21:19:44 +00:00
Stefan Monnier
ab55f76f9c (kill-grep): Move here from compile.el
(grep-error, grep-hit-face, grep-error-face)
(grep-mode-font-lock-keywords): New variables.
(grep-regexp-alist): Simplify regexp and add `binary' case.
(grep-mode): New mode.
(grep-process-setup): Simplify.
2004-03-11 22:56:19 +00:00
Eli Zaretskii
24fa1cf160 (grep-compute-defaults): Undo change from
2004-01-29: don't use executable-command-find-posix-p.
2004-02-16 19:27:38 +00:00
Thien-Thi Nguyen
06626cf2af Move "ends here" comment to end; nfc. 2004-02-15 13:15:07 +00:00
Thien-Thi Nguyen
4ae8d76c90 (grep-compute-defaults): Fix typos. 2004-02-15 13:09:44 +00:00
Stefan Monnier
a60c46175d (grep-regexp-alist): Allow :, \t and ( in file names. 2004-02-08 20:15:45 +00:00
Richard M. Stallman
87f54c051d (grep-compute-defaults): Use executable-command-find-posix-p.
(grep-find): Check `grep-find-command'.
2004-01-29 17:54:36 +00:00
Richard M. Stallman
05218277b6 (grep-mode-map): Don't remap next-line, previous-line. 2004-01-03 21:11:43 +00:00
Miles Bader
7239c21756 Resolve CVS conflicts 2003-11-24 22:19:51 +00:00
Kim F. Storm
5f032b5036 Remove grep-use-compilation-buffer defcustom. 2003-11-23 22:51:14 +00:00
Kim F. Storm
318e297657 * progmodes/grep.el: New file with grep code from compile.el.
(grep): New defcustom group.
(grep-window-height): New defcustom, like compilation-window-height.
(grep-auto-highlight): New defcustom, like compile-auto-highlight.
(grep-scroll-output): New defcustom, like compilation-scroll-output.
(grep-command, grep-use-null-device, grep-find-command)
(grep-tree-files-aliases, grep-tree-ignore-case)
(grep-tree-ignore-CVS-directories): Move to grep custom group.
(grep-setup-hook): New hook variable.
(grep-mode-map): New keymap for grep commands.  Add Grep menu.
(grep-use-compilation-buffer): New defcustom.
(grep-last-buffer): New defvar, override compilation-last-buffer.
(grep): Add optional arg HIGHLIGHT-REGEXP.  Doc fix.
Call compile-internal with args highlight-regexp and grep-mode-map.
2003-11-23 20:56:10 +00:00