From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: How to use project.el Date: Sat, 21 Nov 2020 01:34:51 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19119"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: excalamus@tutanota.com, Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 21 00:35:24 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgFw3-0004rX-2t for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Nov 2020 00:35:23 +0100 Original-Received: from localhost ([::1]:58966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgFw2-0004l2-3J for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 20 Nov 2020 18:35:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgFvd-0004ku-VP for help-gnu-emacs@gnu.org; Fri, 20 Nov 2020 18:34:57 -0500 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:34807) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgFvc-0001Dc-4M for help-gnu-emacs@gnu.org; Fri, 20 Nov 2020 18:34:57 -0500 Original-Received: by mail-ed1-x52d.google.com with SMTP id a15so11246339edy.1 for ; Fri, 20 Nov 2020 15:34:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZKklVb0NvhHDG94Pg5Q0O2fZ1w+a/dc3ViNpY4ougsM=; b=PluN/qkiJn4xb0iP9WdbDExuikNPhUJOnEqg6tQHsPvNx/L7jWZwFcDvfqW7gq6yTb +ZzhTsnqKSVU/25CYsrx8a1Z5L7eD2Q6BoIYXgvx7FFeTijeuoowG6zob6pzqCOcp4ic Dh+Ttm/Og8AEv5iGxbRBFt6vInpZAHkkAqJNcYzzgbj0WAqGrw07UeVf0svjB7HYnkZZ K7jjKrkXsULGMn+rBIiYWT5grtBCr+HIFsgRBulj6xJs5r12ATsNMXIOaajacnOEZka0 tr0K6/aFbGBGiBtWuk28DtPgpljhahpGBEmdF3TeGR+WApGyPUe8zTPZCx62yWr3lGIN WNIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZKklVb0NvhHDG94Pg5Q0O2fZ1w+a/dc3ViNpY4ougsM=; b=qM8mcCt+HNU61cC8TFdmw4mXcHoJTm3P6m7MaJuNPpWxThZO5NAyG8oURgibEGuI1p TupalsYoG9xqMiKvFUtqm0gN9OMObZAwKVfhfiMR4/rWV5fDxGIhheu3vXIYTagir8XD HRLUrE3oiaPiohuPcSfUICYfZgCBDm5mi1C9YBq/z5igE8a9V9J2s7NLhxsQ2RN3XcRU j7Sa3UyLLsWYz/O/A1eyMnvC70mGp6J9ASR1qG2YCRZvywUarjn+rV7XPchBsduUl1x4 u78JdNrrjAw1sOyWF0YCoDiVRDyI98S4XDtBL2/NzesT2xvsxDey4OBUCL+j+wNGhYzP 8oxw== X-Gm-Message-State: AOAM530F6i1oQLU6rsYgHluAeSRDU4HkNbOymFmV/qnOZmve3EeiT6V9 p5i4bVDKh01LQx+7Gg9kd0VxbHBakBFqBg== X-Google-Smtp-Source: ABdhPJwTw6UnrhJdJ939apAmU1YTgvhqO+fJWZq1ZU+kqhtLVSyR72yaGZByVhpA7q7L8+j1rhBrWA== X-Received: by 2002:a50:d49e:: with SMTP id s30mr25135682edi.320.1605915293854; Fri, 20 Nov 2020 15:34:53 -0800 (PST) Original-Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id jw7sm1673933ejb.54.2020.11.20.15.34.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Nov 2020 15:34:53 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=raaahh@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125428 Archived-At: On 20.11.2020 16:52, excalamus--- via Users list for the GNU Emacs text editor wrote: > With 27.1 out, I see talk of project.el, how great it is, and how it's been around for years.  What I don't see is anything about how to use it.  There's one sparse page in the manual, C-h i m emacs m Projects.  I've run project-find-file and project-search.  I fail to see how they're fundamentally different than find-file or grep. > > I happen to have ESS installed which appears to use project.el.  It defines some new methods.  I'll need to brush up on CL objects and generic methods, though, before I can decipher how those interact with project.el.  In the meantime, does anyone have a basic setup and usage example? It's basically zero setup. If you don't have a Git repo for your project, the setup is 'git init'. The repo is the project, and the project files are all the non-ignored files in its root directory (registered or not). At least, that's with the built-in 'vc' backend. To get the most benefit from the package, you should install the latest version from GNU ELPA ('M-x list-packages', then install 'project'). The latest version is 0.5.2. To see the full list of commands defined in that package, type 'C-x p C-h'. You can also read the full description of the package with 'C-h P project RET'.