From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Philip K." Newsgroups: gmane.emacs.devel Subject: Re: master 2ab66c9: Replace project-kill-buffers-ignores with project-kill-buffer-conditions Date: Sun, 06 Sep 2020 23:42:55 +0200 Message-ID: <87ft7ueg4g.fsf@posteo.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6798"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, dgutov@yandex.ru To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 06 23:43:40 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kF2Rn-0001fv-Kt for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Sep 2020 23:43:39 +0200 Original-Received: from localhost ([::1]:48244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kF2Rm-0002no-Kv for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Sep 2020 17:43:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF2RD-0002MF-OG for emacs-devel@gnu.org; Sun, 06 Sep 2020 17:43:04 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:60745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF2RA-0006XT-Vy for emacs-devel@gnu.org; Sun, 06 Sep 2020 17:43:03 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 86DBD2400FD for ; Sun, 6 Sep 2020 23:42:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599428576; bh=1MRUDdCSWAXClxYo5P1yEC8C8ehob9g+mu5yuQCr0DU=; h=From:To:Cc:Subject:Date:From; b=oqqruS6tbLBunPY4jgONXJlN+Xi/8vUoBWBcnwY/yYk9z/Rop4CxZhbiRYA5qGtE4 ICiuYjkxyN3TKKMeCHeGGgXKuNm8Aw+p69u1xQtDmC7kKnpJADR/R+A7KWXufy3L/P cOYITm8VLcYegrpMdaV8rT2R/Ac2CPl2NNoiSIGFgqPr9+8gObV/uVuoKhSyGmnGh3 AXXtMZLkAqKxpJ6Ls3oGrPornRxNQdXqvFgJjXvW5Btu/QduugWlLCuFNY5N8dAL2x rPAD5qLvBfMTj69w5WZhJ9BZZYcV5ziMJmmJ5uOKrnwt5spEl2A/BJPUpC4THqsuK4 Fn6NV33YEZQBA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bl4dq5P29z9rxD; Sun, 6 Sep 2020 23:42:55 +0200 (CEST) In-Reply-To: (message from Stefan Monnier on Sat, 05 Sep 2020 15:39:52 -0400) Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/06 17:13:35 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254590 Archived-At: Stefan Monnier writes: >> Sure, but wouldn't that mean that this functionality would have to be >> published in it's own ELPA package or project.el would have to depend on >> something like Emacs 27.2? > > That'd be a very secondary problem, to which we can easily imagine > various solutions, so that shouldn't stop us from doing the right thing. Of course, but the main problem seems to be to decide which solution to pick. The code (project--kill-buffer-check and project--buffers-to-kill) is already close-to generic enough to be easily moved around. -- Philip K.