GNU bug report logs -
#49980
28.0.50; [PATCH] Should we have project-save-buffers?
Previous Next
Reported by: Giap Tran <txgvnn <at> gmail.com>
Date: Tue, 10 Aug 2021 14:49:02 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 49980 <at> debbugs.gnu.org (full text, mbox):
On 11.08.2021 16:40, Giap Tran wrote:
> Dmitry Gutov <dgutov <at> yandex.ru> writes:
>
>> Is there any reason not to just use 'save-some-buffers' (C-x s)?
>>
>> Do you often want to leave some buffers unsaved?
>
> Oh, so funny, I used Emacs for over 4 years and I don't know this
> function. Looks like I just need this to solve my problem
Excellent.
>> Then project-save-buffers could be on 'C-x p s'.
>
> Is `project-save-buffers necessary anymore? If anyone opens many projects
> with unsaved buffers. Maybe they need that because they don't want to
> save buffers not in this project. I think we don't need
> keybinding for that. We can use M-x, up to you :D
I don't know if it's necessary indeed (and as Juri notes, there will be
another approach available).
We might consider it problematic, though, that for
'project-query-replace-regexp' to operate properly the user needs to
save all the buffers manually (they both need to know that they need to
do that, and how to do that). Maybe xref-query-replace-in-results should
have an option to save all touched buffers in the end. Or maybe
perform-replace should have one.
Hopefully we can also resolve this difficulty another way, providing an
inline editing mechanism for Xref buffers.
This bug report was last modified 3 years and 338 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.