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: find-grep-dired - default directory to start with Date: Tue, 28 Jul 2015 14:25:26 +0200 Message-ID: <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 1438086374 5776 80.91.229.3 (28 Jul 2015 12:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2015 12:26:14 +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:26:07 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 1ZK3xO-0004WH-FC for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 14:26:06 +0200 Original-Received: from localhost ([::1]:58496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK3xN-00052M-Hc for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 08:26:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK3xC-00050f-NE for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:25:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZK3x5-0004xL-1f for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:25:54 -0400 Original-Received: from lexx.senfdax.de ([5.9.119.253]:44161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK3x4-0004vV-Is for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:25:46 -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 1ZK3ws-00075X-Cy for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 14:25:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 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:106059 Archived-At: 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!