GNU bug report logs -
#78715
save-some-buffers cannot deal %-sequences in filenames
Previous Next
Full log
Message #11 received at 78715 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Sat, 07 Jun 2025 14:56:13 +0200
>> From: Jonas Bernoulli via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>> Hello
>>
>> `save-some-buffers' errors when it encounters a filename that
>> contains a %-sequence:
>>
>> Debugger entered--Lisp error: (error "Not enough arguments for format string")
>> (message #("Save file /tmp/%i;%I? (y, n, !, ., q, M-~, C-r, C-f, d or C-h) " ...))
>> (map-y-or-n-p #f(lambda (buffer) [(queried t) (arg nil)] ...))
>> ...
>> (save-some-buffers nil)
>
> Thanks, should be fixed now on the master branch.
I can confirm that this is fixed.
(And by using % in the subject of a mail, I discovered that I had to fix
the same defect in one of own packages and also in my personal value for
frame-title-format. ;P )
This bug report was last modified 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.