all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: "Philip K." <philip@warpmail.net>, 41868@debbugs.gnu.org
Subject: bug#41868: [PATCH] Add project-clean-up command
Date: Mon, 15 Jun 2020 15:28:20 +0300	[thread overview]
Message-ID: <74f8cf68-211f-8dea-532c-842bd4a70cc1@yandex.ru> (raw)
In-Reply-To: <87k108wsvb.fsf@warpmail.net>

On 15.06.2020 13:00, Philip K. wrote:
> I wanted to propose a command for project.el to kill all opened buffers
> in a project, called when one finishes working on some specific
> code-base. I gave it the name "project-clean-up", but maybe it should be
> renamed?

I've just looked it up, and Projectile has a command called 
project-kill-buffers. Perhaps follow its example?

https://github.com/bbatsov/projectile/blob/33bc91e7518fb8cecd89580f16e0ac21799de2c2/projectile.el#L3642

I somewhat prefer the explicit naming. Looking at it, you won't mistake 
it for a command that removes build artefacts, or "tidies up" the code, 
for instance.

> I have been using it in my local emacs branch for about a week,
> and have found it to be useful.

Sounds useful indeed!





  parent reply	other threads:[~2020-06-15 12:28 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15 10:00 bug#41868: [PATCH] Add project-clean-up command Philip K.
2020-06-15 11:04 ` Basil L. Contovounesios
2020-06-15 11:32   ` Philip K.
2020-06-15 11:38     ` Basil L. Contovounesios
2020-06-15 12:28 ` Dmitry Gutov [this message]
2020-06-15 18:18   ` Philip K.
2020-06-15 20:50     ` Dmitry Gutov
2020-06-15 21:50       ` Philip K.
2020-06-16 10:19         ` Dmitry Gutov
2020-06-16 10:52         ` Basil L. Contovounesios
2020-06-16 14:31           ` Eli Zaretskii
2020-06-16 17:12             ` Philip K.
2020-06-18  1:05               ` Dmitry Gutov
2020-06-18  6:46                 ` Philip K.
2020-06-18 13:04                   ` Dmitry Gutov
2020-06-18 14:11                     ` Philip K.
2020-06-18 15:36                       ` Dmitry Gutov
2020-06-18 22:06                 ` Juri Linkov
2020-06-18 22:57                   ` Dmitry Gutov
2020-06-18 23:02                     ` Juri Linkov
2020-06-18 23:10                       ` Dmitry Gutov
2020-06-18 23:18                         ` Juri Linkov
2020-06-18 23:29                           ` Dmitry Gutov
2020-06-26  0:49                             ` Dmitry Gutov
2020-06-19  6:28                       ` Philip K.
2020-08-14 17:05                         ` Lars Ingebrigtsen
2020-08-14 20:36                           ` Dmitry Gutov
2020-06-19  6:20                   ` Eli Zaretskii
2020-06-15 22:49       ` Juri Linkov
2020-06-16  0:23         ` Dmitry Gutov
2020-06-16 21:47           ` Juri Linkov

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=74f8cf68-211f-8dea-532c-842bd4a70cc1@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=41868@debbugs.gnu.org \
    --cc=philip@warpmail.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.