GNU bug report logs -
#65928
[PATCH] Introduce 'project-save-buffers'
Previous Next
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
>>> 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.
I don't know why might anyone want to save only project's buffer,
but not all. I use 'C-x s' only when 'C-c C-a' from diff-mode modifies
different buffers (hopefully a new diff command will save them at once),
but I don't mind when 'C-x s' saves non-project buffers as well.
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.