From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#20241: 25.0.50; `setq' with only one argument Date: Thu, 26 Nov 2015 11:07:00 +0000 Message-ID: <20151126110700.GA1738@acm.fritz.box> References: <20151125154030.GF2007@acm.fritz.box> <20151125172211.GH2007@acm.fritz.box> <5c5c14de-444e-4847-b91a-e7dff29b3f58@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1448535986 29012 80.91.229.3 (26 Nov 2015 11:06:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2015 11:06:26 +0000 (UTC) Cc: 20241@debbugs.gnu.org, Artur Malabarba To: John Wiegley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 26 12:06:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a1uNO-00063k-1Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Nov 2015 12:06:10 +0100 Original-Received: from localhost ([::1]:50467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1uNQ-0005fV-9E for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Nov 2015 06:06:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1uNL-0005dH-8o for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 06:06:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1uNG-0001Tx-7A for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 06:06:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1uNG-0001Tt-4M for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 06:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a1uNF-0006Of-RQ for bug-gnu-emacs@gnu.org; Thu, 26 Nov 2015 06:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 11:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20241 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20241-submit@debbugs.gnu.org id=B20241.144853591724532 (code B ref 20241); Thu, 26 Nov 2015 11:06:01 +0000 Original-Received: (at 20241) by debbugs.gnu.org; 26 Nov 2015 11:05:17 +0000 Original-Received: from localhost ([127.0.0.1]:53454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1uMW-0006Nb-VD for submit@debbugs.gnu.org; Thu, 26 Nov 2015 06:05:17 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:24449) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1uMC-0006Mq-EF for 20241@debbugs.gnu.org; Thu, 26 Nov 2015 06:05:15 -0500 Original-Received: (qmail 78728 invoked by uid 3782); 26 Nov 2015 11:04:55 -0000 Original-Received: from acm.muc.de (p5B146E70.dip0.t-ipconnect.de [91.20.110.112]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 26 Nov 2015 12:04:53 +0100 Original-Received: (qmail 18277 invoked by uid 1000); 26 Nov 2015 11:07:00 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109282 Archived-At: Hello, John. On Wed, Nov 25, 2015 at 12:37:20PM -0800, John Wiegley wrote: > >>>>> Artur Malabarba writes: > > On 25 Nov 2015 7:40 pm, "John Wiegley" wrote: > >> Ok, let's go with this then: > >> Evaluation: Run-time error > >> Compilation: Compile-time warning > >> Execution: Run-time error (same as Evaluation) > >> I think that's the convergence point for the three of us, amirite? I've committed a fix for the above. The compiler outputs the same message it previously did. The generated code DOESN'T do the first n assignements when there are 2n+1 arguments; it just signals an error like Fsetq does. > > Yes, that's the final behaviour we should have. > > (Though, like I said, I'd prefer it if the errors were postponed to the next > > release. And Alan was having second thoughts about being so quick with the > > errors too (IIUC, he's investigating Gelpa code now).) > I'd accept a deprecation warning that notifies it will become an error in > 25.2, then. I've committed the entire change. If there's going to be pain, let's just get it over with immediately. > John -- Alan Mackenzie (Nuremberg, Germany).