unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: excalamus@tutanota.com, Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: How to use project.el
Date: Sat, 21 Nov 2020 01:34:51 +0200	[thread overview]
Message-ID: <f6fa8091-21f8-78bd-2923-525b3e3cda2f@yandex.ru> (raw)
In-Reply-To: <MMQdMsY--3-2@tutanota.com>

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'.



  parent reply	other threads:[~2020-11-20 23:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 14:52 How to use project.el excalamus--- via Users list for the GNU Emacs text editor
2020-11-20 19:34 ` Jean Louis
2020-11-20 23:34 ` Dmitry Gutov [this message]
2020-11-21  1:03   ` excalamus--- via Users list for the GNU Emacs text editor
2020-11-22  2:55     ` Dmitry Gutov
2020-11-23 16:22       ` excalamus--- via Users list for the GNU Emacs text editor
2020-11-23 22:19         ` Dmitry Gutov
2020-11-24  3:54           ` excalamus--- via Users list for the GNU Emacs text editor
2020-11-25  1:54             ` Dmitry Gutov
2020-11-25  2:55               ` excalamus--- via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f6fa8091-21f8-78bd-2923-525b3e3cda2f@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=excalamus@tutanota.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).