[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#516: [PATCH] Minor Enhancement for grep.el: auto-input the symbol in
bug#516: [PATCH] Minor Enhancement for grep.el: auto-input the symbol into minibuffer command line.
Wed, 02 Jul 2008 12:47:10 +0900
Thunderbird 22.214.171.124 (X11/20080227)
I'd like to suggest a minor enhancement for "lisp/progmodes/grep.el".
This patch is to let you input the cursor position symbol automatically
into minibuffer command line. I think it makes us easier to use "grep-find"
Also attached is the images for showing how to work "grep-find" function
before and after this patch.
I confirmed that it is possible to apply this patch both 22.1 and 22.2 version.
- Kazuo YAGI
--- cur/grep.el 2007-04-08 11:08:48.000000000 +0900
+++ my/grep.el 2008-07-02 11:19:47.000000000 +0900
@@ -566,7 +566,7 @@ easily repeat a find command."
(list (read-from-minibuffer "Run find (like this): "
- grep-find-command nil nil
+ (concat grep-find-command (thing-at-point
'symbol)) nil nil
;; No default was set
|[Prev in Thread]
||[Next in Thread]|
- bug#516: [PATCH] Minor Enhancement for grep.el: auto-input the symbol into minibuffer command line.,
Kazuo YAGI <=