From: Martin Barth <martin@senfdax.de>
To: Dmitry Gutov <dgutov@yandex.ru>, help-gnu-emacs@gnu.org
Subject: Re: find-grep-dired - default directory to start with (SOLVED)
Date: Tue, 28 Jul 2015 15:24:55 +0200 [thread overview]
Message-ID: <55B782A7.4050201@senfdax.de> (raw)
In-Reply-To: <55B77EC8.7060402@yandex.ru>
Am 28.07.2015 um 15:08 schrieb Dmitry Gutov:
> On 07/28/2015 04:05 PM, Martin Barth wrote:
>> How do i find the definition of this function?
>
> For instance, with M-x find-function.
>
Making completion list...
`find-grep' is an alias for `grep-find'
find-library-name: Can't find library
/usr/share/emacs/24.3/lisp/progmodes/grep.el
so with googling a bit i found out that there is a grep-find-command
variable that you can modify
unfortunately
(setq grep-find-command "find.. and so on") didnt work
even what was mentioned here didnt work:
http://stackoverflow.com/questions/2148575/default-string-for-grep-find-in-emacs
|(grep-compute-defaults)
(setq grep-find-command "find.. and so on)|
But this worked:
http://stackoverflow.com/questions/28915372/change-the-default-find-grep-command-in-emacs
(grep-apply-setting 'grep-find-command "find .. and so on")
Thanks
next prev parent reply other threads:[~2015-07-28 13:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 12:25 find-grep-dired - default directory to start with Martin Barth
2015-07-28 12:38 ` Martin Barth
2015-07-28 12:43 ` Dmitry Gutov
2015-07-28 13:05 ` Martin Barth
2015-07-28 13:08 ` Dmitry Gutov
2015-07-28 13:24 ` Martin Barth [this message]
2015-07-28 13:34 ` find-grep-dired - default directory to start with (SOLVED) Dmitry Gutov
2015-07-28 14:18 ` Michael Heerdegen
2015-07-28 15:54 ` Martin Barth
2015-07-28 16:01 ` Drew Adams
2015-07-28 16:28 ` Michael Heerdegen
2015-07-28 14:27 ` find-grep-dired - default directory to start with Bobby Casey
2015-07-28 14:30 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55B782A7.4050201@senfdax.de \
--to=martin@senfdax.de \
--cc=dgutov@yandex.ru \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).