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: Sat, 05 Sep 2020 21:06:12 +0200 Message-ID: <878sdof3h7.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="26078"; 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 Sat Sep 05 21:07:13 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 1kEdWq-0006he-Qe for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Sep 2020 21:07:12 +0200 Original-Received: from localhost ([::1]:54022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEdWp-0000FI-SI for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Sep 2020 15:07:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEdVz-00089u-Is for emacs-devel@gnu.org; Sat, 05 Sep 2020 15:06:19 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:39569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEdVx-0001tm-6U for emacs-devel@gnu.org; Sat, 05 Sep 2020 15:06:19 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E05C916005C for ; Sat, 5 Sep 2020 21:06:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599332773; bh=IIyG5KTqZGZRkPDB9+QEjzfqScldus0TlJ2PbLM8WHk=; h=From:To:Cc:Subject:Date:From; b=hGwfHf0sc+d7ywz9NXWqKWTumoQHk7IEp/SIYgH/4LHPqOBtAktXok3RbQFvMX+EO vXdAKIRYEa4jGFb/FW6yd1o9zacSiJRcVyyclDEsQvZGZ9zpJoMpcHQmqLwI+vhXH2 14UZ4LDSxkiGk9ZF4T1umwfknUjeQb0qFL6oeWvS2OcGXw3rNdFrf3Bzu/EmsYikMB lJLksjDu5nWPwusXS6ewcHv7AeC5Y0UOwC6Oo/JG3tt831x/8HtvyW3BBNsbAuQ2BY pn3wJIrVTKk2GIi+QCdkXHKMUSJu9uupx/9TJp0HMPS9BCULow7LDlT5b8aYlmrTzx COdiW7k4ST2Lg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkPCT1ShVz6tm6; Sat, 5 Sep 2020 21:06:13 +0200 (CEST) In-Reply-To: (message from Stefan Monnier on Sat, 05 Sep 2020 14:19:38 -0400) Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/05 14:18:51 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:254547 Archived-At: Stefan Monnier writes: >>> Why do we need to invent a small language for that? >> Check out the discussion in bug#42386. > > In that case, could someone try and make this "set of buffers" work not > just for project-kill-buffers but also for all those other places where > we want a similar specification, such as `font-lock-global-modes`, > `desktop-buffers-not-to-save`, ... ? 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? -- Philip K.