From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Barth Newsgroups: gmane.emacs.help Subject: Re: find-grep-dired - default directory to start with Date: Tue, 28 Jul 2015 15:05:25 +0200 Message-ID: <55B77E15.7000000@senfdax.de> References: <55B774B6.4090901@senfdax.de> <55B7790B.1090208@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438088770 13481 80.91.229.3 (28 Jul 2015 13:06:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2015 13:06:10 +0000 (UTC) To: Dmitry Gutov , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 28 15:06:02 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZK4a0-0001cm-6K for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 15:06:00 +0200 Original-Received: from localhost ([::1]:58654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK4Zz-0005cY-GD for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 09:05:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK4Zj-0005c0-Qa for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 09:05:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZK4Ze-00021S-PL for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 09:05:43 -0400 Original-Received: from lexx.senfdax.de ([5.9.119.253]:44198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK4Ze-0001zR-89 for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 09:05:38 -0400 Original-Received: from dslb-084-061-204-135.084.061.pools.vodafone-ip.de ([84.61.204.135] helo=[192.168.2.108]) by lexx.senfdax.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1ZK4ZY-0007SB-Ph; Tue, 28 Jul 2015 15:05:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 In-Reply-To: <55B7790B.1090208@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 5.9.119.253 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106062 Archived-At: How do i find the definition of this function? Am 28.07.2015 um 14:43 schrieb Dmitry Gutov: > On 07/28/2015 03:25 PM, Martin Barth wrote: > >> I am looking for a alternatetive function where this "Start directory" >> can be predefined. >> basically >> >> (setq my-default-search-dir '/home/foo/bar); >> >> and then M-x find-grep-dired-in-my-default-search-dir > > Define your own my-find-grep-dired, copy the definition of > find-grep-dired there, and change it to use my-default-search-dir. > > Should be easy. >