diff options
| author | Sam Steingold | 2001-09-19 20:59:24 +0000 |
|---|---|---|
| committer | Sam Steingold | 2001-09-19 20:59:24 +0000 |
| commit | 005e3bb6654fc8a1e0d477158741f6762b7da7fb (patch) | |
| tree | 88e91bd09550a18bd9f03824d88b3591bc8a1f51 | |
| parent | 1fdd9f433697d670f380dd1f888995fb543a19be (diff) | |
| download | emacs-005e3bb6654fc8a1e0d477158741f6762b7da7fb.tar.gz emacs-005e3bb6654fc8a1e0d477158741f6762b7da7fb.zip | |
w32 find cannot be used with `grep-find'.
| -rw-r--r-- | lisp/ChangeLog | 26 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 15 |
2 files changed, 26 insertions, 15 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 084eec6027e..d8c11530098 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2001-09-19 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | w32 find cannot be used with `grep-find'. | ||
| 4 | * progmodes/compile.el (find-program): New variable. | ||
| 5 | (grep-compute-defaults): Use it to set `grep-find-command'. | ||
| 6 | |||
| 1 | 2001-09-19 Gerd Moellmann <gerd@gnu.org> | 7 | 2001-09-19 Gerd Moellmann <gerd@gnu.org> |
| 2 | 8 | ||
| 3 | * ps-bdf.el (bdf-read-bitmap): Initialize returned values to | 9 | * ps-bdf.el (bdf-read-bitmap): Initialize returned values to |
| @@ -85,10 +91,10 @@ | |||
| 85 | * simple.el: Comment out change of 2001-09-13. | 91 | * simple.el: Comment out change of 2001-09-13. |
| 86 | 92 | ||
| 87 | 2001-09-13 Michael Kifer <kifer@cs.sunysb.edu> | 93 | 2001-09-13 Michael Kifer <kifer@cs.sunysb.edu> |
| 88 | 94 | ||
| 89 | * viper-cmd.el (viper-replace-char-subr, viper-envelop-ESC-key): | 95 | * viper-cmd.el (viper-replace-char-subr, viper-envelop-ESC-key): |
| 90 | inhibit quit. | 96 | inhibit quit. |
| 91 | 97 | ||
| 92 | 2001-09-13 Eli Zaretskii <eliz@is.elta.co.il> | 98 | 2001-09-13 Eli Zaretskii <eliz@is.elta.co.il> |
| 93 | 99 | ||
| 94 | * files.el (make-auto-save-file-name): If long file names are not | 100 | * files.el (make-auto-save-file-name): If long file names are not |
| @@ -97,7 +103,7 @@ | |||
| 97 | 103 | ||
| 98 | 2001-09-13 Gerd Moellmann <gerd@gnu.org> | 104 | 2001-09-13 Gerd Moellmann <gerd@gnu.org> |
| 99 | 105 | ||
| 100 | * ps-print.el (ps-print-region, ps-print-region-with-faces) | 106 | * ps-print.el (ps-print-region, ps-print-region-with-faces) |
| 101 | (ps-nb-pages-region): Signal an error if called interactively | 107 | (ps-nb-pages-region): Signal an error if called interactively |
| 102 | and the mark is not active. | 108 | and the mark is not active. |
| 103 | 109 | ||
| @@ -156,18 +162,18 @@ | |||
| 156 | * mail/sendmail.el (mail-send): Obey mail-send-nonascii when | 162 | * mail/sendmail.el (mail-send): Obey mail-send-nonascii when |
| 157 | enable-multibyte-characters = nil. From Hallvard B Furuseth | 163 | enable-multibyte-characters = nil. From Hallvard B Furuseth |
| 158 | <h.b.furuseth@usit.uio.no>. | 164 | <h.b.furuseth@usit.uio.no>. |
| 159 | 165 | ||
| 160 | 2001-09-09 Michael Kifer <kifer@cs.sunysb.edu> | 166 | 2001-09-09 Michael Kifer <kifer@cs.sunysb.edu> |
| 161 | 167 | ||
| 162 | * ediff-init.el (ediff-highest-priority): bug fix. | 168 | * ediff-init.el (ediff-highest-priority): bug fix. |
| 163 | 169 | ||
| 164 | * viper-cmd.el (viper-special-read-and-insert-char): new function | 170 | * viper-cmd.el (viper-special-read-and-insert-char): new function |
| 165 | that reads a character and uses the current input method or | 171 | that reads a character and uses the current input method or |
| 166 | iso-accents when appropriate. | 172 | iso-accents when appropriate. |
| 167 | 173 | ||
| 168 | * viper.el and all others: corrections to the comment blocks at | 174 | * viper.el and all others: corrections to the comment blocks at |
| 169 | the top. | 175 | the top. |
| 170 | 176 | ||
| 171 | 2001-09-09 Eli Zaretskii <eliz@is.elta.co.il> | 177 | 2001-09-09 Eli Zaretskii <eliz@is.elta.co.il> |
| 172 | 178 | ||
| 173 | * info.el (Info-goto-node): Doc fix. | 179 | * info.el (Info-goto-node): Doc fix. |
| @@ -186,7 +192,7 @@ | |||
| 186 | the entries, to keep the line length balanced for loaddefs.el. | 192 | the entries, to keep the line length balanced for loaddefs.el. |
| 187 | 193 | ||
| 188 | 2001-09-07 Dr Francis J. Wright <F.J.Wright@qmw.ac.uk> | 194 | 2001-09-07 Dr Francis J. Wright <F.J.Wright@qmw.ac.uk> |
| 189 | 195 | ||
| 190 | * comint.el (comint-send-input): Handle comint-process-echoes | 196 | * comint.el (comint-send-input): Handle comint-process-echoes |
| 191 | differently. | 197 | differently. |
| 192 | 198 | ||
| @@ -201,7 +207,7 @@ | |||
| 201 | computation. | 207 | computation. |
| 202 | 208 | ||
| 203 | 2001-09-07 Gerd Moellmann <gerd@gnu.org> | 209 | 2001-09-07 Gerd Moellmann <gerd@gnu.org> |
| 204 | 210 | ||
| 205 | * server.el (server-switch-buffer): Use get-window-with-predicate. | 211 | * server.el (server-switch-buffer): Use get-window-with-predicate. |
| 206 | 212 | ||
| 207 | * textmodes/refer.el (refer-find-entry-internal): Use | 213 | * textmodes/refer.el (refer-find-entry-internal): Use |
| @@ -255,7 +261,7 @@ | |||
| 255 | 261 | ||
| 256 | * comint.el (comint-send-input): Change help-echo. | 262 | * comint.el (comint-send-input): Change help-echo. |
| 257 | From "Dr Francis J. Wright" <F.J.Wright@qmw.ac.uk>. | 263 | From "Dr Francis J. Wright" <F.J.Wright@qmw.ac.uk>. |
| 258 | 264 | ||
| 259 | * bookmark.el (bookmark-write-file): Bind print-length and | 265 | * bookmark.el (bookmark-write-file): Bind print-length and |
| 260 | print-level to nil. From Tom Capey <tomc@edina.co.uk>. | 266 | print-level to nil. From Tom Capey <tomc@edina.co.uk>. |
| 261 | 267 | ||
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 1d75a671d1a..769c356449f 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -437,6 +437,10 @@ Otherwise, it saves all modified buffers without asking." | |||
| 437 | "The default grep program for `grep-command' and `grep-find-command'. | 437 | "The default grep program for `grep-command' and `grep-find-command'. |
| 438 | This variable's value takes effect when `grep-compute-defaults' is called.") | 438 | This variable's value takes effect when `grep-compute-defaults' is called.") |
| 439 | 439 | ||
| 440 | (defvar find-program "find" | ||
| 441 | "The default find program for `grep-find-command'. | ||
| 442 | This variable's value takes effect when `grep-compute-defaults' is called.") | ||
| 443 | |||
| 440 | (defvar grep-find-use-xargs nil | 444 | (defvar grep-find-use-xargs nil |
| 441 | "Whether \\[grep-find] uses the `xargs' utility by default. | 445 | "Whether \\[grep-find] uses the `xargs' utility by default. |
| 442 | 446 | ||
| @@ -592,12 +596,13 @@ to a function that generates a unique name." | |||
| 592 | (unless grep-find-command | 596 | (unless grep-find-command |
| 593 | (setq grep-find-command | 597 | (setq grep-find-command |
| 594 | (cond ((eq grep-find-use-xargs 'gnu) | 598 | (cond ((eq grep-find-use-xargs 'gnu) |
| 595 | (format "find . -type f -print0 | xargs -0 -e %s" | 599 | (format "%s . -type f -print0 | xargs -0 -e %s" |
| 596 | grep-command)) | 600 | find-program grep-command)) |
| 597 | (grep-find-use-xargs | 601 | (grep-find-use-xargs |
| 598 | (format "find . -type f -print | xargs %s" grep-command)) | 602 | (format "%s . -type f -print | xargs %s" |
| 599 | (t (cons (format "find . -type f -exec %s {} %s \\;" | 603 | find-program grep-command)) |
| 600 | grep-command null-device) | 604 | (t (cons (format "%s . -type f -exec %s {} %s \\;" |
| 605 | find-program grep-command null-device) | ||
| 601 | (+ 22 (length grep-command)))))))) | 606 | (+ 22 (length grep-command)))))))) |
| 602 | 607 | ||
| 603 | ;;;###autoload | 608 | ;;;###autoload |