GNU bug report logs - #65928
[PATCH] Introduce 'project-save-buffers'

Previous Next

Package: emacs;

Reported by: me <at> elken.dev

Date: Wed, 13 Sep 2023 21:28:02 UTC

Severity: wishlist

Tags: patch, wontfix

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Juri Linkov <juri <at> linkov.net>, Stefan Kangas <stefankangas <at> gmail.com>
Cc: 65928 <at> debbugs.gnu.org, me <at> elken.dev
Subject: bug#65928: [PATCH] Introduce 'project-save-buffers'
Date: Fri, 15 Sep 2023 19:39:21 +0300
On 15/09/2023 09:32, Juri Linkov wrote:
>> Would something like
>>      (defalias 'project-save-buffers #'save-some-buffers-root)
>> do the job?
> Rather something more like this will do the job:
> 
> ```
> (keymap-set project-prefix-map "S"
>              (lambda (&optional arg)
>                (interactive "P")
>                (let ((save-some-buffers-default-predicate 'save-some-buffers-root))
>                  (save-some-buffers arg))))
> ```

Would you say that the added capability to only save certain buffers but 
not others, is something you found useful in practice?

More than once a year or so.




This bug report was last modified 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.