emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grep key bindings


From: Phil Jackson
Subject: Re: Grep key bindings
Date: Thu, 03 Jul 2008 16:37:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Miles Bader <address@hidden> writes:

> Juri Linkov <address@hidden> writes:

[...]

>>> Trying to bind _everything_ just reduces the quality of bindings in
>>> general.
>>
>> But I don't propose to bind everything.   Only most frequently used
>> commands deserve global key bindings, and grep family of commands
>> undoubtedly belong to this category.
>
> That's quite debatable; I actually use "M-x grep" many many times a day,
> but have never felt it needed a binding.

For what it's worth I use project-root.el[1] and bind 'C-c p g' to grep
(actually I use ack[2] more) from the current project root. I do that
several times a day. If, on the rare occasion, I want to grep from
`default-directory' I just type M-x grep.

Cheers,
Phil

[1] http://www.shellarchive.co.uk/content/lisp/project-root.el
[2] http://www.shellarchive.co.uk/content/lisp/ack.el




reply via email to

[Prev in Thread] Current Thread [Next in Thread]