From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ikumi Keita Newsgroups: gmane.emacs.bugs Subject: bug#31718: 26.1; Strange behavior of `cond' Date: Wed, 06 Jun 2018 14:41:55 +0900 Message-ID: <46058.1528263715@localhost> References: <37954.1528179962@localhost> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: blaine.gmane.org 1528263612 12766 195.159.176.226 (6 Jun 2018 05:40:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2018 05:40:12 +0000 (UTC) Cc: 31718@debbugs.gnu.org, Vibhav Pant To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 06 07:40:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQRB1-0003Ce-UM for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jun 2018 07:40:08 +0200 Original-Received: from localhost ([::1]:50428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQRD7-0001Nx-9D for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jun 2018 01:42:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQRCw-0001Ns-2d for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 01:42:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQRCt-0004Sf-0O for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 01:42:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56137) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQRCs-0004SW-SD for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 01:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fQRCs-00071l-Ia for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2018 01:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ikumi Keita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jun 2018 05:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31718 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31718-submit@debbugs.gnu.org id=B31718.152826372227010 (code B ref 31718); Wed, 06 Jun 2018 05:42:02 +0000 Original-Received: (at 31718) by debbugs.gnu.org; 6 Jun 2018 05:42:02 +0000 Original-Received: from localhost ([127.0.0.1]:35801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQRCr-00071T-PX for submit@debbugs.gnu.org; Wed, 06 Jun 2018 01:42:01 -0400 Original-Received: from smtp1.inetd.co.jp ([210.129.88.11]:38906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQRCp-00071B-TC for 31718@debbugs.gnu.org; Wed, 06 Jun 2018 01:42:00 -0400 Original-Received: from localhost (210-20-196-135.rev.home.ne.jp [210.20.196.135]) by smtp1.inetd.co.jp (Postfix) with ESMTPA id 101B0B1; Wed, 6 Jun 2018 14:41:56 +0900 (JST) In-reply-to: Comments: In-reply-to Andreas Schwab message dated "Tue, 05 Jun 2018 10:07:49 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.1 Content-ID: <46055.1528263715.1@localhost> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:147075 Archived-At: Hi Andreas, thanks for your reply. >>>>> Andreas Schwab writes: > On Jun 05 2018, Ikumi Keita wrote: >> (defun xyz (arg) >> "dummy" >> ; (cond ((eq arg nil) ; OK >> ; (cond ((eq arg 'abc) ; OK >> ; (cond ((eq arg 'def) ; OK >> (cond ((eq arg 'default) ; NG > The byte-compiler uses 'default as a magic symbol, which breaks this > case. Does this mean that this behavior is a (new) designed feature of elisp and not a bug? If so, is it the respoisibility of the authors of the codes to rewrite not to use `default' or else to make sure to set `byte-compile-cond-use-jump-table' to nil at byte compile? Best regards, Ikumi Keita