GNU bug report logs - #516
[PATCH] Minor Enhancement for grep.el: auto-input the symbol into minibuffer command line.

Previous Next

Package: emacs;

Reported by: Kazuo YAGI <kyagi <at> miraclelinux.com>

Date: Wed, 2 Jul 2008 03:55:04 UTC

Severity: wishlist

Tags: patch, wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Juri Linkov'" <juri <at> jurta.org>, <516 <at> debbugs.gnu.org>
Subject: bug#516: [PATCH] Minor Enhancement for grep.el: auto-input thesymbol into minibuffer command line.
Date: Fri, 4 Dec 2009 20:36:17 -0800
> > 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" function.
> 
> There is a function `grep-default-command' in grep.el that does this.
> I wonder why it's used in `grep', but not in `grep-find'.  I think
> we should do the same in `grep-find'.

Yes, and as I've suggested before, if the region is active, then its contents,
surrounded by "s, should be the default search string. Example code:
http://www.emacswiki.org/emacs/grep%2b.el




This bug report was last modified 6 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.