GNU bug report logs - #78715
save-some-buffers cannot deal %-sequences in filenames

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Sat, 7 Jun 2025 12:57:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jonas Bernoulli <jonas <at> bernoul.li>
Subject: bug#78715: closed (Re: bug#78715: save-some-buffers cannot deal
 %-sequences in filenames)
Date: Sun, 08 Jun 2025 04:44:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78715: save-some-buffers cannot deal %-sequences in filenames

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78715 <at> debbugs.gnu.org.

-- 
78715: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78715
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 78715-done <at> debbugs.gnu.org
Subject: Re: bug#78715: save-some-buffers cannot deal %-sequences in filenames
Date: Sun, 08 Jun 2025 07:43:09 +0300
> From: Jonas Bernoulli <jonas <at> bernoul.li>
> Cc: 78715 <at> debbugs.gnu.org
> Date: Sun, 08 Jun 2025 01:20:36 +0200
> 
> 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.

Thanks, I'm therefore closing this bug.

> (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 )

;-)

[Message part 3 (message/rfc822, inline)]
From: Jonas Bernoulli <jonas <at> bernoul.li>
To: bug-gnu-emacs <at> gnu.org
Subject: save-some-buffers cannot deal %-sequences in filenames
Date: Sat, 07 Jun 2025 14:56:13 +0200
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)

     Cheers,
     Jonas



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.