all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Philip Kaludercic <philipk@posteo.net>
Cc: 50297@debbugs.gnu.org
Subject: bug#50297: 28.0.50; Aggregate project functions for project.el
Date: Wed, 22 Sep 2021 15:13:53 +0300	[thread overview]
Message-ID: <c4081391-618b-5764-9e82-4fef3dbe9abe@yandex.ru> (raw)
In-Reply-To: <877df9qdxn.fsf@posteo.net>

On 22.09.2021 10:15, Philip Kaludercic wrote:

>> And whatever ambiguities about recursive search can be solved through
>> better descriptions in docstrings.
> 
> Ok, I will update the patches and refine the documentation. My plan
> would be to be non-recursive by default, and recurse if a prefix
> argument is given.

If you like. No recursive option seems also okay.

>> We could also add a hook like project-after-read-list-hook, which
>> people would be able to use for cleanup, e.g. adding
>> project-forget-zombie-projects to it. Not sure whether to add it there
>> by default, though.
> 
> The question is does it make sense to not always forget zombies? This
> depends on the real-world performance.

FWIW, speaking of Tramp, we can either avoid cleaning remote dirs, or at 
least make sure the connection is on before checking (and skip those 
where it is not).

And another way to limit the performance impact is to cap the number of 
projects in history.

> If it is a noticeable burden (at
> least on some systems), users might prefer adding the function to
> kill-emacs-hook instead of a project-after-read-list-hook.

kill-emacs-hook is also a good place to use it indeed. Maybe we don't 
need the other hook.





  reply	other threads:[~2021-09-22 12:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-31 12:47 bug#50297: 28.0.50; Aggregate project functions for project.el Philip Kaludercic
2021-09-01  1:07 ` Dmitry Gutov
2021-09-02 13:30   ` Philip Kaludercic
2021-09-02 14:45     ` Philip Kaludercic
2021-09-02 15:56       ` Juri Linkov
2021-09-03  1:02       ` Dmitry Gutov
2021-09-03  0:55     ` Dmitry Gutov
2021-09-22  0:31 ` Dmitry Gutov
2021-09-22  7:15   ` Philip Kaludercic
2021-09-22 12:13     ` Dmitry Gutov [this message]
2021-09-22 16:00   ` Juri Linkov
2021-09-22 16:44     ` Philip Kaludercic
2021-09-22 17:34       ` Dmitry Gutov
2021-09-22 18:06         ` Philip Kaludercic
2021-09-22 18:25           ` Dmitry Gutov
2021-09-22 18:53             ` Philip Kaludercic
2021-09-22 18:55   ` Philip Kaludercic
2021-09-23  2:44     ` Dmitry Gutov
2021-09-23 10:46       ` Philip Kaludercic
2021-09-23 11:56         ` Dmitry Gutov
2021-09-23 12:08           ` Philip Kaludercic

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

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

  git send-email \
    --in-reply-to=c4081391-618b-5764-9e82-4fef3dbe9abe@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=50297@debbugs.gnu.org \
    --cc=philipk@posteo.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.