diff options
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 10 | ||||
| -rw-r--r-- | etc/grep.txt | 11 |
2 files changed, 13 insertions, 8 deletions
| @@ -244,11 +244,11 @@ and this variable has been marked obsolete. | |||
| 244 | ** `emacs-bzr-version' has been renamed to `emacs-repository-version', | 244 | ** `emacs-bzr-version' has been renamed to `emacs-repository-version', |
| 245 | and works for git too, if you fetch the repository notes. | 245 | and works for git too, if you fetch the repository notes. |
| 246 | 246 | ||
| 247 | ** `read-regexp-defaults-function' defines a function to read regexps, | 247 | ** `read-regexp-defaults-function' defines a function to provide default |
| 248 | used by commands like `rgrep', `lgrep' `occur', `highlight-regexp', etc. | 248 | values for reading regexps by commands like `rgrep', `lgrep' `occur', |
| 249 | You can customize this to specify a function that provides a default | 249 | `highlight-regexp', etc. You can customize this to specify a function |
| 250 | value from the regexp last history element, or from the symbol found | 250 | that provides a default value from the regexp last history element, |
| 251 | at point. | 251 | or from the symbol found at point. |
| 252 | 252 | ||
| 253 | +++ | 253 | +++ |
| 254 | ** New option `load-prefer-newer' affects how the `load' function chooses | 254 | ** New option `load-prefer-newer' affects how the `load' function chooses |
diff --git a/etc/grep.txt b/etc/grep.txt index 564893d5b3e..523b1fa404c 100644 --- a/etc/grep.txt +++ b/etc/grep.txt | |||
| @@ -72,13 +72,18 @@ Grep finished (matches found) at Thu Jul 21 15:02:15 | |||
| 72 | agrep -n "INFO tree" ../info/* | 72 | agrep -n "INFO tree" ../info/* |
| 73 | ../info/dir: 6: File: dir Node: Top This is the top of the INFO tree | 73 | ../info/dir: 6: File: dir Node: Top This is the top of the INFO tree |
| 74 | 74 | ||
| 75 | * bzr grep with Bazaar plugin [grep] | ||
| 76 | |||
| 77 | bzr grep --color=always -in "org-element-map" | ||
| 78 | [35mlisp/org/org.el[1;36m:[0m21047[1;36m:[0m ([1;31morg-element-map[0m | ||
| 79 | |||
| 75 | * git-grep | 80 | * git-grep |
| 76 | with `[diff "el"] xfuncname = "^(\\(.*)$"' in .gitconfig | 81 | with `[diff "el"] xfuncname = "^(\\(.*)$"' in .gitconfig |
| 77 | and `*.el diff=el' in .gitattributes | 82 | and `*.el diff=el' in .gitattributes |
| 78 | 83 | ||
| 79 | git grep -inH -p -e "org-element-map" | 84 | git --no-pager grep -inH -p -e "org-element-map" |
| 80 | lisp/org/org.el=20969=(defun org-fill-paragraph (&optional justify) | 85 | lisp/org/org.el[36m=[m20969[36m=[m(defun org-fill-paragraph (&optional justify) |
| 81 | lisp/org/org.el:21047: (org-element-map | 86 | lisp/org/org.el[36m:[m21047[36m:[m ([1;31morg-element-map[m |
| 82 | 87 | ||
| 83 | * unknown greps | 88 | * unknown greps |
| 84 | 89 | ||