GNU bug report logs - #29842
27.0; `dired-change-marks': args should not be optional

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 24 Dec 2017 17:59:01 UTC

Severity: minor

Found in version 27.0

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 29842 <at> debbugs.gnu.org (full text, mbox):

From: Tino Calancha <tino.calancha <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 29842 <at> debbugs.gnu.org
Subject: Re: bug#29842: 27.0; `dired-change-marks': args should not be optional
Date: Thu, 28 Dec 2017 22:14:22 +0900
Drew Adams <drew.adams <at> oracle.com> writes:

> 1. There is no use of this function in the Emacs Lisp sources that needs
>    to have the args be optional.
Yes, it has sense that the arguments be mandatory.

> 2. If (dired-change-marks) is evaluated then you get an error:
>
>    Debugger entered--Lisp error: (error "Format specifier doesn't match
>                                          argument type") 
>     format("\n%c" "nil")
>     dired-change-marks()
>     eval((dired-change-marks))
Then the programmer would get the more intuitive
'Wrong number of arguments' error.




This bug report was last modified 5 years and 128 days ago.

Previous Next


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