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 14:38:47 +0200 Message-ID: <55B777D7.5010700@senfdax.de> References: <55B774B6.4090901@senfdax.de> 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 1438087166 18781 80.91.229.3 (28 Jul 2015 12:39:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2015 12:39:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 28 14:39:18 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 1ZK4AA-0002zn-1B for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 14:39:18 +0200 Original-Received: from localhost ([::1]:58570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK4A9-0006YH-9D for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 08:39:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK49v-0006Xp-Vy for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZK49s-0004AL-87 for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:39:03 -0400 Original-Received: from lexx.senfdax.de ([5.9.119.253]:44175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK49s-00049J-1g for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:39:00 -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 1ZK49m-0007E3-D7 for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 14:38:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 In-Reply-To: <55B774B6.4090901@senfdax.de> 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:106060 Archived-At: best would be a way to apply this pattern to find-dired (and others, as well) Regards Martin Am 28.07.2015 um 14:25 schrieb Martin Barth: > Hello, > > i've just discovered the function find-grep-dired which turns out to be > very useful for me. > When you invoke M x find-grep-dired you get asked for the starting > directory. > > 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 > > Any Ideas? > > Thank You > Martin! > >