Dan Nicolaescu
2f7f4beee9
* progmodes/grep.el (grep-regexp-alist):
...
* international/mule-cmds.el (iso-2022-control-alist):
* emacs-lisp/timer.el (timer-duration-words):
* subr.el (version-separator, version-regexp-alist):
* minibuffer.el (completion-styles-alist):
* faces.el (face-attribute-name-alist, list-faces-sample-text):
Change defvars to defconsts.
2009-11-11 06:36:41 +00:00
Dan Nicolaescu
6bdad9ae02
* term/x-win.el (x-gtk-stock-map):
...
* progmodes/vera-mode.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
(inferior-lisp-program, inferior-lisp-load-command):
* progmodes/hideshow.el (hs-special-modes-alist):
* progmodes/gud.el (same-window-regexps):
* progmodes/grep.el (grep-program, find-program, xargs-program):
* net/telnet.el (same-window-regexps):
* net/rlogin.el (same-window-regexps):
* language/ethiopic.el (font-ccl-encoder-alist):
* vc-sccs.el (vc-sccs-master-templates):
* vc-rcs.el (vc-rcs-master-templates):
* subr.el (cl-assertion-failed):
* simple.el (next-error-overlay-arrow-position):
* lpr.el (lpr-command):
* locate.el (locate-ls-subdir-switches):
* info.el (same-window-regexps, info)
(Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
* image-mode.el (image-mode, auto-mode-alist):
* hippie-exp.el (hippie-expand-ignore-buffers):
* format.el (format-alist):
* find-dired.el (find-ls-subdir-switches, find-grep-options)
(find-name-arg):
* facemenu.el (facemenu-keybindings):
* dired.el (dired-listing-switches, dired-chown-program):
* diff.el (diff-switches, diff-command):
* cus-edit.el (same-window-regexps):
* bindings.el (mode-line-mule-info)
(mode-line-buffer-identification): Purecopy strings.
2009-11-11 05:49:09 +00:00
Juanma Barranquero
5a0c3f568d
Fix typos.
...
* allout.el
* dired-aux.el
* dired-x.el
* epa-file.el
* ps-print.el
* shell.el
* vc-hooks.el
* vc-rcs.el
* vc-sccs.el
* vc.el
* view.el
* wdired.el
* emacs-lisp/authors.el
* net/dig.el
* net/socks.el
* net/zeroconf.el
* obsolete/vc-mcvs.el
* progmodes/gdb-mi.el
* progmodes/grep.el
* progmodes/idlw-help.el
* progmodes/idlw-shell.el
* progmodes/idlwave.el
* progmodes/inf-lisp.el
* textmodes/bibtex.el
* textmodes/ispell.el
* textmodes/reftex-toc.el
2009-09-24 01:37:14 +00:00
Juri Linkov
7ae624301e
(grep-template): Add "<X>" to docstring.
...
(grep-files-aliases): Add "all". Move "el" and "ch" to the top of
the list. Move "asm" to the bottom.
(grep-find-ignored-directories): Add `choice' with nil value
to empty the list easily.
(grep-find-ignored-files): New option.
(grep-files-history): Set to nil by default instead of '("ch" "el").
(grep-compute-defaults): Add "<X>" to `grep-template'.
(grep-read-files): Bind new local variables `default-alias' and
`default-extension'. Use a list of default values for the file prompt.
(lgrep): Add `--exclude=' command line options composed from
`grep-find-ignored-files'.
(rgrep): Add `-name' command line options composed from
`grep-find-ignored-files'. (Bug#4301)
2009-09-10 00:58:15 +00:00
Juri Linkov
6830f44933
(grep-read-files): Strip trailing <N> from buffer names
...
not visiting a file (e.g. cloned buffers).
2009-08-30 23:47:11 +00:00
Michael Albinus
458c8d31e4
* progmodes/grep.el (grep-probe): Let-bind `process-file-side-effects' with nil.
2009-08-25 10:11:08 +00:00
Juri Linkov
32a2cf25a7
(lgrep, rgrep): At the beginning
...
set `dir' to `default-directory' unless `dir' is a non-nil
readable directory. (Bug#4052)
(lgrep, rgrep): Change a weird way to report an error
from using `read-string' to using `error'.
Instead of using interactive arguments in the function body,
add new argument `confirm'.
2009-08-22 00:17:56 +00:00
Juri Linkov
770f36f8bd
(lgrep): Ensure that `default-directory' is always non-nil. (Bug#4052)
2009-08-12 20:54:46 +00:00
Sam Steingold
49405d0e1b
(rgrep): Allow grep-find-ignored-directories
...
to be a cons cell (test . ignored-directory) to selectively ignore
some directories depending on the location of the search.
2009-07-08 14:23:57 +00:00
Chong Yidong
d4bbd646f4
* progmodes/grep.el (grep-compute-defaults): Simplify how settings
...
are looked up.
(grep-apply-setting): New function.
(grep-highlight-matches, grep-command, grep-template)
(grep-use-null-device, grep-find-command, grep-find-template):
Clarify role of grep-compute-defaults in docstrings. Use
grep-apply-setting to apply changes (Bug#3343).
2009-05-23 00:11:53 +00:00
Eli Zaretskii
8f0e19afc8
(grep-process-setup) [windows-nt msdos]: Use "--color=always".
2009-02-28 17:26:00 +00:00
Juri Linkov
5d91db30c6
(grep-mode-map): Put grep-find before grep and
...
change its title from "Recursive grep..." to "Grep via Find...".
Add menu items for lgrep and rgrep.
2009-01-25 00:55:22 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Chong Yidong
30b724916f
(grep-mode-tool-bar-map): Check if tool-bar-map has been initialized
...
before setting it up.
2008-10-12 13:46:13 +00:00
Chong Yidong
ecad93d232
(grep-mode-tool-bar-map): Initialize it unconditionally.
2008-10-11 19:58:49 +00:00
Dan Nicolaescu
01623c2898
(grep-files-aliases): Improve the C++ source
...
pattern and add patterns for C++ header files.
2008-07-11 02:44:10 +00:00
Sam Steingold
86c7460fae
(compilation-minor-mode-map, compilation-mode-map):
...
Bind "g" to recompile and "q" to quit-window.
(grep-mode-map): Use `set-keymap-parent' to connect it
to `compilation-minor-mode-map' (instead of an explicit `cons').
2008-05-08 17:28:05 +00:00
Glenn Morris
b1fc2b5014
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 07:25:26 +00:00
Sam Steingold
5f3ca1ba63
* progmodes/compile.el (compilation-start): Move setting of
...
compilation-directory after (funcall mode) as that resets local
variables, this fixes recompile in grep buffers.
* grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
2008-05-02 18:37:07 +00:00
Stefan Monnier
6b3a84f29a
Fix up comment convention.
2008-04-18 01:46:37 +00:00
Jan Djärv
94e65e0d28
(grep-mode-tool-bar-map): The same.
2008-03-28 10:05:53 +00:00
Stefan Monnier
286d4b3b7d
* progmodes/compile.el (compile):
...
* progmodes/grep.el (grep, grep-find): Use read-shell-command.
2008-03-20 19:56:58 +00:00
Dan Nicolaescu
388059876a
* bindings.el (mode-line-remote): Add mouse-face. Improve tooltip.
...
(standard-mode-line-position): Add mouse-face.
* progmodes/compile.el (compilation-menu-map):
(compilation-mode-map):
* progmodes/grep.el (grep-mode-map): Add :help.
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Define and
initialize in one step. Add :help. Use :enable to activate menu
items. Show the key binding for edebug-defun.
(lisp-interaction-mode-map): Add a menu.
* term.el (term-mode-map): Define and initialize in one step.
* ediff-init.el (ediff-color-display-p): Simplify.
(Xor): Remove unused function.
(ediff-with-syntax-table): Simplify for emacs.
* ediff-hook.el (menu-bar-ediff-menu): Don't depend on the
menu-bar being loaded, it always is.
2008-03-05 04:09:24 +00:00
Jan Djärv
f387c936a9
(grep-mode-tool-bar-map): Change place on next
...
and previous.
2008-02-26 14:41:01 +00:00
Jan Djärv
38cd9f1734
(grep-mode-tool-bar-map): New variable.
...
(grep-mode): Use grep-mode-tool-bar-map.
2008-02-25 10:52:57 +00:00
Stefan Monnier
85e7298f90
(grep-compute-defaults):
...
Don't mix up defaults for different connections to the same host.
2008-02-01 01:38:32 +00:00
Glenn Morris
26dac56cb6
(find-name-arg): Declare for compiler.
2008-01-04 03:13:43 +00:00
Eric S. Raymond
1f0bee0a2d
* progmodes/grep.el (grep-find-ignored-directories): Initialize
...
from the value of vc-directory-exclusion-list.
* vc-hooks (vc-directory-exclusion-list): Include "_darcs",
even though we don't have a back end for darcs yet.
2008-01-02 23:47:35 +00:00
Miles Bader
b17f53abc2
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
YAMAMOTO Mitsuharu
ea7ac2eb95
(rgrep): Fix last change.
2007-12-28 10:48:05 +00:00
Jason Rumney
34fac407db
(rgrep): Use find-name-arg.
2007-12-21 10:32:55 +00:00
Juri Linkov
6b8d0852a0
(grep-process-setup): Set envvar "TERM" to "emacs-grep".
...
Set envvar "GREP_OPTIONS" to "--color=auto" instead of "--color=always".
2007-11-23 00:32:05 +00:00
Juanma Barranquero
1571d112d9
(xargs-program): New variable.
...
(grep-compute-defaults): Use it.
(grep-default-command): Doc fix.
(grep, lgrep, rgrep): Reflow docstrings.
2007-11-20 16:40:16 +00:00
Thien-Thi Nguyen
2796180f96
(grep-files-aliases): Add cc alias.
...
Sort items in alphabetical order. Fix parens.
2007-08-30 09:37:33 +00:00
Thien-Thi Nguyen
a2e548a97e
(grep-find-ignored-directories): Add
...
monotone _MTN bookkeeping directory in workspaces. Add
RCS control directory. List items in alphabetical order.
2007-08-30 09:33:49 +00:00
Richard M. Stallman
c60c6d914e
Whitespace fix.
2007-08-17 04:30:09 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
1a484753b2
Switch license to GPLv3 or later.
2007-07-25 04:29:40 +00:00
Michael Albinus
2e2eead345
* progmodes/grep.el (grep-compute-defaults): Keep default values.
2007-07-22 19:59:30 +00:00
Michael Albinus
6e3aa3f58e
* progmodes/grep.el (grep-host-defaults-alist): New defvar.
...
(grep-compute-defaults): Use it.
2007-07-18 21:02:29 +00:00
Michael Albinus
05c7c7b162
* progmodes/grep.el (grep-probe): Use `process-file'.
...
(grep-compute-defaults): Handle variables host specific.
2007-07-17 21:08:49 +00:00
Chong Yidong
7f3afa3d83
(grep-find-use-xargs): Rewrite docstring.
2007-04-07 16:55:36 +00:00
Kim F. Storm
1ae5b5edf7
(grep-program): Remove commentary about zgrep.
...
Due to lack of papers from Kevin Rodgers.
2007-04-06 16:23:26 +00:00
Dan Nicolaescu
3dd34132f8
(grep-find-ignored-directories): Add .git and
...
.bzr to list.
2007-03-11 17:44:40 +00:00
Kim F. Storm
9d4a3d3909
(grep-files-aliases): Add tex and texi aliases.
...
(lgrep): Add DIR arg to start grep in specific directory, like rgrep.
(grep): Fix lgrep reference.
2007-02-14 11:54:12 +00:00
Dan Nicolaescu
215c384796
(grep): Mention lgrep and rgrep in the
...
docstring.
2007-02-12 06:44:47 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Kim F. Storm
84d797c949
(grep-find-use-xargs): Use explicit value `exec'
...
to mean "use find -exec"; nil now unambiguously means auto-detect.
(grep-compute-defaults): Set grep-find-use-xargs to `exec' if not `gnu'.
Use shell-quote-argument to build grep-find-command and grep-find-template.
(rgrep): Use shell-quote-argument to properly quote arguments to find.
Reported by Tom Seddon.
2006-08-23 23:23:02 +00:00
Richard M. Stallman
13eb1bded1
(grep-default-command): Catch errors from wildcard-to-regexp.
2006-07-29 02:03:21 +00:00
Kim F. Storm
bcdf86fb51
(grep-read-files): Use car of grep-files-history or grep-files-aliases
...
as default if nothing else applies.
2006-07-28 23:20:21 +00:00