From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: find-grep-dired - default directory to start with Date: Tue, 28 Jul 2015 15:43:55 +0300 Message-ID: <55B7790B.1090208@yandex.ru> References: <55B774B6.4090901@senfdax.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438087459 23587 80.91.229.3 (28 Jul 2015 12:44:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2015 12:44:19 +0000 (UTC) To: Martin Barth , 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:44:14 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 1ZK4Ew-0005Y1-2h for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 14:44:14 +0200 Original-Received: from localhost ([::1]:58579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK4Ev-0007vz-H7 for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2015 08:44:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK4El-0007vW-8H for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:44:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZK4Ei-0006eZ-Gc for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:44:03 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:33581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZK4Ei-0006eC-9a for help-gnu-emacs@gnu.org; Tue, 28 Jul 2015 08:44:00 -0400 Original-Received: by wicmv11 with SMTP id mv11so177903498wic.0 for ; Tue, 28 Jul 2015 05:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=KnvTFyCglBeNZaJeV4VlvfL9uIL+pDNgZqN2ECSe8aE=; b=sWEFrV73BSGKqW1FBW8/KFvNDlySxDwnRTn+kV6nNq7rkDzLT10v8+O4CQRa7Ah9Pr ei+o42fZQwep+yKA3uWZ+qggUjlLGN39Gk0yALlMXn3OEIgqqbeRSXuUxWkrUErtu1uN tP7cdW+95biX1sG/ZvUkgzSZlYIGpJQVw7WOsCTVElVIVMLHMU4C0RXxSvA4VfhY/bMl V3dKgl33uNwWcrGm2kewBCFfImT0d1Ua8U94fsaGIzjexQZslKZ/t9SC2aRX6+9x9VwC KtyvQMGdPVAhwTTzhL+E4un0tEk2F2t/xCJBFHEmpdS3hOLi8KJTnjS2kIrzTHRrPMRG iwCA== X-Received: by 10.180.95.197 with SMTP id dm5mr32673244wib.93.1438087438909; Tue, 28 Jul 2015 05:43:58 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id dl10sm33106350wjb.42.2015.07.28.05.43.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 05:43:58 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: <55B774B6.4090901@senfdax.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 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:106061 Archived-At: 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.