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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Sun, 24 Dec 2017 17:59:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 29842 <at> debbugs.gnu.org:


Received: (at 29842) by debbugs.gnu.org; 28 Dec 2017 13:14:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 28 08:14:33 2017
Received: from localhost ([127.0.0.1]:54603 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eUY13-0003xK-3v
	for submit <at> debbugs.gnu.org; Thu, 28 Dec 2017 08:14:33 -0500
Received: from mail-wm0-f52.google.com ([74.125.82.52]:33667)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tino.calancha@HIDDEN>) id 1eUY10-0003x7-8j
 for 29842 <at> debbugs.gnu.org; Thu, 28 Dec 2017 08:14:31 -0500
Received: by mail-wm0-f52.google.com with SMTP id g130so1862469wme.0
 for <29842 <at> debbugs.gnu.org>; Thu, 28 Dec 2017 05:14:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=yULPeV/+IMKFoZFEP5qYIYYN1zngyUtr0ewWPyxo3SQ=;
 b=KOzt62wwNoQXiwmYho5icXNLRRhFtaXdMrjdxUMvGwQDXwbizmq8hlLyP8Wn19cz5Q
 ucdICId9cU5yvbfo9Wj0vbvvU/8lMXTk9egHScfoib6UC+wEe7jjTaHcGNDl96rmyp/s
 q7DzJEP4y7/GtU2obo4oPQFueJY7wEaXXMeZca6blAb16HA0GaK17FBpyi8wzCxMg+SS
 h/6LqbMdi5blNaVQScg9gABaqoaO89ago4koC34+p5JqXpVLLdRTsaBv+JQFDMc0PU+x
 oGvcN2J4T+cKTMbXyMG+35XdIWiDFb24VeE2ukFCUoqStFZT3POaWVsfb2eYnJf9KYjL
 73UA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=yULPeV/+IMKFoZFEP5qYIYYN1zngyUtr0ewWPyxo3SQ=;
 b=hRd7PaaFLB57u12ZaMYy4LU68SkChjLJj8oP+9HQhnW73PjBInALUDXrEBJxlY49pl
 rw9d5d3ph0fniTcJm5pcCiVi0qhsaeTHAAWHQXHrMbjBMOCFUxFs/UGXPcgcliaj4oC4
 o+g226BY6KxUsB9mtB9MVskWKIMa7vUouR5JEtBQheDrjB4/iyEIumvWoAiSCFWTsYaw
 b0nLK3gnk4dKdovgA9OaEb+uv9ObypdRdst2Amfw5+v/dvuyUYfKjA/o46idlnbTJ+iz
 lS9a7VC038R9wv8pdQPdT6bbW80+wplyyoPFNvIR4mC27SmYybkMPmeFUWpBqQSmrR0j
 P4Sg==
X-Gm-Message-State: AKGB3mITGSaqwbRd7zFjfWTQZotlgUlmZPzU7EVIgYsiOqcJ0MgsL3DO
 pYYZRtaJWN1jCHMObQdK4Altjw==
X-Google-Smtp-Source: ACJfBouV38eRAcNukwtkTn/hkftk9LhHLzKDoeJwPG2ZKmHwrv8F/2K336bnG1frZbCCxu1mpbGMgg==
X-Received: by 10.28.137.5 with SMTP id l5mr27982092wmd.123.1514466864256;
 Thu, 28 Dec 2017 05:14:24 -0800 (PST)
Received: from calancha-pc (228.red-83-40-68.dynamicip.rima-tde.net.
 [83.40.68.228])
 by smtp.gmail.com with ESMTPSA id n74sm2478255wmi.1.2017.12.28.05.14.23
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 28 Dec 2017 05:14:23 -0800 (PST)
From: Tino Calancha <tino.calancha@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#29842: 27.0; `dired-change-marks': args should not be optional
References: <b6b4e366-2b7d-4032-8ad0-546372181bd5@default>
Date: Thu, 28 Dec 2017 22:14:22 +0900
In-Reply-To: <b6b4e366-2b7d-4032-8ad0-546372181bd5@default> (Drew Adams's
 message of "Sun, 24 Dec 2017 09:58:02 -0800 (PST)")
Message-ID: <87y3ln6lld.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 29842
Cc: 29842 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Drew Adams <drew.adams@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29842; Package emacs. Full text available.

Message received at 29842 <at> debbugs.gnu.org:


Received: (at 29842) by debbugs.gnu.org; 24 Dec 2017 18:31:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 24 13:31:04 2017
Received: from localhost ([127.0.0.1]:50904 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eTB3A-00059K-EP
	for submit <at> debbugs.gnu.org; Sun, 24 Dec 2017 13:31:04 -0500
Received: from userp2120.oracle.com ([156.151.31.85]:39618)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1eTB38-00058p-KT
 for 29842 <at> debbugs.gnu.org; Sun, 24 Dec 2017 13:31:02 -0500
Received: from pps.filterd (userp2120.oracle.com [127.0.0.1])
 by userp2120.oracle.com (8.16.0.21/8.16.0.21) with SMTP id vBOIUZHl067648
 for <29842 <at> debbugs.gnu.org>; Sun, 24 Dec 2017 18:30:56 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26;
 bh=RNAG8FAC+T8dVjV8kE1f3ta4qKM3YLYXpixlmm7knxg=;
 b=swMJfby6raRQ9wqwqMI+McahgSBMEGnwzDdcuHteH0UxQpyHqsilmm6IcFwVF4uxJBQE
 Iua56hVIYzDeK7mTXiAGkU/LP1OGeeCDs3Hz7zg1m+1nWwjYeu7kBDSlv/uVuNOPR6B4
 oourrh7v7L/r2M04xPQy9Dm54Qr6av2Yw8W+Qv+iEJmbvGDIS5i1t6jk9EEquOGdHPZf
 On3YEUqzf0w7coPDu4duVBcaCM1D8V2UtYbF7RrW7BDyibL3SZ35RoOT++SJHdKDkpJD
 sQO9ALwIDVKxwjmX6+7XZMdvwKFs81cVdgj30SI7KdjEk2vQl8aeoCZm3+25gRj1/lJE BQ== 
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by userp2120.oracle.com with ESMTP id 2f2hju8019-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <29842 <at> debbugs.gnu.org>; Sun, 24 Dec 2017 18:30:56 +0000
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
 by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vBOIUu9J026168
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
 for <29842 <at> debbugs.gnu.org>; Sun, 24 Dec 2017 18:30:56 GMT
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vBOIUtOn026303
 for <29842 <at> debbugs.gnu.org>; Sun, 24 Dec 2017 18:30:56 GMT
MIME-Version: 1.0
Message-ID: <bafa3d47-2b75-422a-85d5-feaa9a97bfb7@default>
Date: Sun, 24 Dec 2017 10:30:54 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: 29842 <at> debbugs.gnu.org
Subject: RE: bug#29842: 27.0; `dired-change-marks': args should not be optional
References: <b6b4e366-2b7d-4032-8ad0-546372181bd5@default>
In-Reply-To: <b6b4e366-2b7d-4032-8ad0-546372181bd5@default>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4627.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8755
 signatures=668650
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=13
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=853
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1712240254
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 29842
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Furthermore, the code should perhaps not just call
`ding' if you hit RET.  Instead of this:

 (if (or (eq old ?\r) (eq new ?\r))
     (ding)
  ...)

it should perhaps do something like this:

 (unless (char-displayable-p old)
   (error "Not a displayable character: `%c'" old))
 (unless (char-displayable-p new)
   (error "Not a displayable character: `%c'" new))

The current code predates the existence of
`char-displayable-p'.

(Yes, that's a different bug, but perhaps it can be
taken care of in the context of this report.  If not,
don't worry about it.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#29842; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Dec 2017 17:58:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 24 12:58:22 2017
Received: from localhost ([127.0.0.1]:50859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eTAXV-0004Hx-RD
	for submit <at> debbugs.gnu.org; Sun, 24 Dec 2017 12:58:22 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57204)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1eTAXU-0004Hi-Fi
 for submit <at> debbugs.gnu.org; Sun, 24 Dec 2017 12:58:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1eTAXO-0001Kf-4Y
 for submit <at> debbugs.gnu.org; Sun, 24 Dec 2017 12:58:15 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51101)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1eTAXO-0001KC-03
 for submit <at> debbugs.gnu.org; Sun, 24 Dec 2017 12:58:14 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48151)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1eTAXM-0000r6-OX
 for bug-gnu-emacs@HIDDEN; Sun, 24 Dec 2017 12:58:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1eTAXJ-0001G9-D3
 for bug-gnu-emacs@HIDDEN; Sun, 24 Dec 2017 12:58:12 -0500
Received: from userp2130.oracle.com ([156.151.31.86]:50042)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <drew.adams@HIDDEN>)
 id 1eTAXJ-0001ED-4j
 for bug-gnu-emacs@HIDDEN; Sun, 24 Dec 2017 12:58:09 -0500
Received: from pps.filterd (userp2130.oracle.com [127.0.0.1])
 by userp2130.oracle.com (8.16.0.21/8.16.0.21) with SMTP id vBOHvK5G141297
 for <bug-gnu-emacs@HIDDEN>; Sun, 24 Dec 2017 17:58:07 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : content-type :
 content-transfer-encoding; s=corp-2017-10-26;
 bh=luZkq3zMOTJYiVWhBjQOWu6VncouGgpEe6oiZ1/oeIc=;
 b=in4m5b7VQG6WgODIu2kDWPMqoq/qieC60syv0fTQG3jkMhoH11tpR1o8K/8GN1BJttVn
 3Oelkv/hgdu46jy88CuVy5Kd29Udl5ZCRrVN+P9pDcGDWw3VMyKnNWONRFGEiklstFfT
 00ZHofHyf7jBkWKEioVKQ4YZ38w5sEL3BSE48gTWwbTUGOzDjSIgYRA/HuBahZPADRL/
 VzJJo6CL6pxUB6csCfSDjCzrcAv8QIKN+Dzi9e9e2uN8YaqgcK3/a8rKegZ2SX9MJNjM
 QI/kkfK/NH2pfSMoCQpgZIAS/COX/zs+jeip+vdBCUy0h2KtZZbQB9OmQA1qnBZystLP /A== 
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])
 by userp2130.oracle.com with ESMTP id 2f2gyu806q-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Sun, 24 Dec 2017 17:58:06 +0000
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])
 by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vBOHw5YG027553
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
 for <bug-gnu-emacs@HIDDEN>; Sun, 24 Dec 2017 17:58:06 GMT
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vBOHw313014208
 for <bug-gnu-emacs@HIDDEN>; Sun, 24 Dec 2017 17:58:05 GMT
MIME-Version: 1.0
Message-ID: <b6b4e366-2b7d-4032-8ad0-546372181bd5@default>
Date: Sun, 24 Dec 2017 09:58:02 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0; `dired-change-marks': args should not be optional
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4627.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8755
 signatures=668650
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=758
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1712240247
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

1. There is no use of this function in the Emacs Lisp sources that needs
   to have the args be optional.

2. If (dired-change-marks) is evaluated then you get an error:

   Debugger entered--Lisp error: (error "Format specifier doesn't match
                                         argument type")=20
    format("\n%c" "nil")
    dired-change-marks()
    eval((dired-change-marks))

This bug is apparently quite old - it is present in Emacs 20, for
example.

In GNU Emacs 27.0.50 (build 4, x86_64-w64-mingw32)
 of 2017-12-21
Repository revision: b1cf262a79463f28164ea1c2ffee3c657ce02ea4
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --without-dbus --host=3Dx86_64-w64-mingw32
 --without-compress-install -C 'CFLAGS=3D-O2 -static -g3'
 host_alias=3Dx86_64-w64-mingw32 PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig'




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#29842; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 28 Dec 2017 13:15:01 UTC

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