From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan =?UTF-8?Q?Bockg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#20241: 25.0.50; `setq' with only one argument Date: Thu, 26 Nov 2015 01:21:30 +0100 Message-ID: <87610pwqyd.fsf@gnu.org> References: <20151124180452.GB1840@acm.fritz.box> <20151124210956.GC1840@acm.fritz.box> <20151125094155.GB2007@acm.fritz.box> <20151125110755.GC2007@acm.fritz.box> <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 X-Trace: ger.gmane.org 1448498246 16168 80.91.229.3 (26 Nov 2015 00:37:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2015 00:37:26 +0000 (UTC) Cc: Alan Mackenzie , 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 01:37:12 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 1a1kYd-0007Ad-UO for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Nov 2015 01:37:08 +0100 Original-Received: from localhost ([::1]:48536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1kYf-0004qG-Lp for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Nov 2015 19:37:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1kPt-0007SM-SZ for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 19:28:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1kPq-00073p-ND for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 19:28:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1kPq-00073l-LA for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 19:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a1kPq-0007LN-9A for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2015 19:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Johan =?UTF-8?Q?Bockg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Nov 2015 00:28:02 +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.144849762628156 (code B ref 20241); Thu, 26 Nov 2015 00:28:02 +0000 Original-Received: (at 20241) by debbugs.gnu.org; 26 Nov 2015 00:27:06 +0000 Original-Received: from localhost ([127.0.0.1]:53275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1kOv-0007K4-OL for submit@debbugs.gnu.org; Wed, 25 Nov 2015 19:27:06 -0500 Original-Received: from smtprelay-b32.telenor.se ([213.150.131.21]:49366) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1kOa-0007JF-N9 for 20241@debbugs.gnu.org; Wed, 25 Nov 2015 19:27:03 -0500 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b32.telenor.se (Postfix) with ESMTP id 50C4F87F6C for <20241@debbugs.gnu.org>; Thu, 26 Nov 2015 01:21:32 +0100 (CET) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.228.198.110] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CIBACUTlZWPG7G5FVeGQEBAg8BAQEBgwuBQoJfg363WwENgWSGDwKBOjkUAQEBAQEBAQYBAQEBQT+ENQEBBFYjEAsOEyUPAQQNCwEMChoTiBkDFgG5dw2EYwEBAQEBAQQBAQEBH4tSglOGZgWWV4s/ln6HVh8BAYRHPTSFYAEBAQ X-IPAS-Result: A2CIBACUTlZWPG7G5FVeGQEBAg8BAQEBgwuBQoJfg363WwENgWSGDwKBOjkUAQEBAQEBAQYBAQEBQT+ENQEBBFYjEAsOEyUPAQQNCwEMChoTiBkDFgG5dw2EYwEBAQEBAQQBAQEBH4tSglOGZgWWV4s/ln6HVh8BAYRHPTSFYAEBAQ X-IronPort-AV: E=Sophos;i="5.20,344,1444687200"; d="scan'208";a="1024933376" Original-Received: from c-6ec6e455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.198.110]) by ipb3.telenor.se with ESMTP; 26 Nov 2015 01:21:32 +0100 Original-Received: by muon.localdomain (Postfix, from userid 1000) id E1EF8484187; Thu, 26 Nov 2015 01:21:30 +0100 (CET) In-Reply-To: (John Wiegley's message of "Wed, 25 Nov 2015 11:06:30 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:109269 Archived-At: John Wiegley writes: >>>>>> Drew Adams writes: > >> My preference for the compiler is to (a) let you know there are syntax >> problems, and where they are, and (b) generate code that acts the same as >> the interpreted code: in this case, raise a runtime error. > > Let's take a different case as a behavorial example: > > The code: (funcall) > > Interpreted: Raises an error: eval: Wrong number of arguments: funcall, 0 > > Byte-compilation: No warnings or errors printed. > > Loading of .elc: Raises an error: load: Wrong number of arguments: funcall, 0 (funcall) (print t) Compile. Load .elc => This consistently gives me one of two results: A segfault, or "Invalid function: 183795961" where the actual number depends on the timestamp of the .elc file.