From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: progmodes/project.el and search paths Date: Wed, 5 Aug 2015 12:59:46 +0300 Message-ID: <55C1DE92.3080902@yandex.ru> References: <55BE209F.1000009@siege-engine.com> <55BE509B.2080307@yandex.ru> <87r3nkjxby.fsf@isaac.fritz.box> <87h9ogyq6s.fsf@isaac.fritz.box> <86mvy7e6hr.fsf@stephe-leake.org> <55C0F9C7.8010006@yandex.ru> <86vbcudebp.fsf@stephe-leake.org> <55C11A81.7040403@yandex.ru> <86mvy6cly4.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438768822 9513 80.91.229.3 (5 Aug 2015 10:00:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2015 10:00:22 +0000 (UTC) To: Stephen Leake , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 05 12:00:12 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZMvUY-00017E-MV for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2015 12:00:10 +0200 Original-Received: from localhost ([::1]:39817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMvUX-00016H-Kn for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2015 06:00:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMvUG-00015f-Sv for emacs-devel@gnu.org; Wed, 05 Aug 2015 05:59:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMvUD-0000pG-Lb for emacs-devel@gnu.org; Wed, 05 Aug 2015 05:59:52 -0400 Original-Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]:32900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMvUD-0000p8-Ck for emacs-devel@gnu.org; Wed, 05 Aug 2015 05:59:49 -0400 Original-Received: by labjt7 with SMTP id jt7so7643896lab.0 for ; Wed, 05 Aug 2015 02:59:48 -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=5B7bmogWNEGSPHTmp6txHx54oi5p9EP1DE/9GR92OZs=; b=eNdNpwxkia8okS3mFrg0W3DSScLhqWz6hr9tIut+BJfks5h4FD0VrHUWOxa19uZbNg NF3uKCLO51nb72p4/l7YCpPorPGAwp6btedWnt18KV5g5Zfhx86NILIKIJzy0BT698lY Xd9s0YQPE1PoxSAS0YxsF4AwGdAxUmjWkDnACmgahE/1GmvpQPOGBFJpwXVXaT0jLjNi SEWkLFdxphMGMuTdqvOaGM9uYcnY83iCd2fUS8EtZqxqv/Q2S9kcKJVYmM5UTp7SxWy+ XQFWrJwEYmkaK+VX2PfAfeSqn0VF0n80XSRjEthD34pfhB31299TsPpMdTxX6GWbFUsq jZ8g== X-Received: by 10.152.206.41 with SMTP id ll9mr8617499lac.103.1438768788307; Wed, 05 Aug 2015 02:59:48 -0700 (PDT) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id j2sm438848lbs.24.2015.08.05.02.59.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Aug 2015 02:59:47 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: <86mvy6cly4.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188436 Archived-At: On 08/05/2015 09:02 AM, Stephen Leake wrote: > Ok, so xref-find-regexp uses the project search path by default, > and the xref display; it uses a user-specified root dir with C-u. That's a bit awkward, though. While it's not very surprising, there's still nothing in this command's name to indicate that it uses the current project by default. > Do you aggree it would be good if rgrep supported an option to use the > project search path? Possibly only via the command grep-project (or > project-grep)? I think we should have project-find-regexp (or project-rgrep) which uses the xref interface. grep-project will be functionally redundant.