[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el [emacs-unicode-2] |
Date: |
Wed, 08 Dec 2004 02:07:56 -0500 |
Index: emacs/lisp/progmodes/grep.el
diff -c emacs/lisp/progmodes/grep.el:1.10.2.9
emacs/lisp/progmodes/grep.el:1.10.2.10
*** emacs/lisp/progmodes/grep.el:1.10.2.9 Thu Nov 4 08:55:38 2004
--- emacs/lisp/progmodes/grep.el Wed Dec 8 05:02:27 2004
***************
*** 247,255 ****
;;;###autoload
(defvar grep-regexp-alist
! '(("^\\(.+?\\)[:( \t]+\
\\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
! \\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?[:) \t]" 1 (2 . 5) (4 . 6))
("^\\(.+?\\)[:(]+\\([0-9]+\\)\\([:)]\\).*?\\(\033\\[01;41m\\)\\(.*?\\)\\(\033\\[00m\\)"
1 2
;; Calculate column positions (beg . end) of first grep match on a line
--- 247,258 ----
;;;###autoload
(defvar grep-regexp-alist
! ;; rms: I removed the code to match parens around the line number
! ;; because it causes confusion and so we will find out if anyone needs it.
! ;; It causes confusion with a file name that contains a number in parens.
! '(("^\\(.+?\\)[: \t]+\
\\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
! \\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?[: \t]" 1 (2 . 5) (4 . 6))
("^\\(.+?\\)[:(]+\\([0-9]+\\)\\([:)]\\).*?\\(\033\\[01;41m\\)\\(.*?\\)\\(\033\\[00m\\)"
1 2
;; Calculate column positions (beg . end) of first grep match on a line
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el [emacs-unicode-2],
Miles Bader <=