From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: me--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65928: [PATCH] Introduce 'project-save-buffers' Date: Thu, 14 Sep 2023 15:18:31 +0100 Message-ID: <9ba8de252cfea9303b302ff9d122410a@elken.dev> References: <86zg1ptf5x.fsf@mail.linkov.net> Reply-To: me@elken.dev Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38311"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65928@debbugs.gnu.org, Juri Linkov To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 14 16:19:16 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qgnBb-0009hc-VY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Sep 2023 16:19:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgnBK-0007nZ-Ip; Thu, 14 Sep 2023 10:18:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgnBI-0007mY-68 for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2023 10:18:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgnBH-0004x3-UZ for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2023 10:18:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgnBN-0007h0-Oc for bug-gnu-emacs@gnu.org; Thu, 14 Sep 2023 10:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: me@elken.dev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Sep 2023 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65928 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65928-submit@debbugs.gnu.org id=B65928.169470112529534 (code B ref 65928); Thu, 14 Sep 2023 14:19:01 +0000 Original-Received: (at 65928) by debbugs.gnu.org; 14 Sep 2023 14:18:45 +0000 Original-Received: from localhost ([127.0.0.1]:40734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgnB7-0007gI-F3 for submit@debbugs.gnu.org; Thu, 14 Sep 2023 10:18:45 -0400 Original-Received: from mail.elken.dev ([165.22.120.78]:45597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgnB5-0007g4-7O for 65928@debbugs.gnu.org; Thu, 14 Sep 2023 10:18:43 -0400 Original-Received: from authenticated-user (mail.elken.dev [165.22.120.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.elken.dev (Postfix) with ESMTPSA id D6E9E414E6; Thu, 14 Sep 2023 16:18:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elken.dev; s=mail; t=1694701111; bh=Pum9tnBpMBGdYj4rWqt+UAVjWVcpgQMQy73zP8KyOpM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=wyV2XTsQrLcAFlnDssyj5v6CBBWIaI0ns/NFQg0XbZkm+lHlBDUrMPHGMqrCBIngY ElLGuJcfGcU25gItbitmJZzSWYpkyVPDvKePeYeV/2dQOp6llkvC1W5e7lSgn1ZrCE ZYHBmI7UgRuJGx0FgZUqvtK4d8oQURLGpn7KjMqLuj0kXZidzfIs3AX/kYP7oiyp6m 1fYnS1brmYg/VmYQXv/l7sMY17Qh8YIDnmSZPQfBv3kp6Qa+I7kz4GeZ3gejBNz+Oj TAc1/ozT1T5A82Du7q4zsxGP5Qid2C1Ky2uSoGKoQzzgd8s7VT7l+Dnda9OUTPbt2C HPoQrCXAljs+Q== In-Reply-To: X-Sender: me@elken.dev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:270435 Archived-At: On 2023-09-14 15:09, Stefan Kangas wrote: > Elken via "Bug reports for GNU Emacs, the Swiss army knife of text > editors" writes: > >> Implemented somewhat yeah, but I think it's sensible and more >> discoverable having one here as you say. :) > > Would something like > > (defalias 'project-save-buffers #'save-some-buffers-root) > > do the job? It's a predicate to pass to `save-some-buffers`, so you'd still need an interactive command to call it and handle the universal argument