From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#24875: 26.0.50; In Dotted Pair Notation, the read function returns CDR if CAR is absent Date: Fri, 04 Nov 2016 17:00:27 +0100 Message-ID: <87ins3ck10.fsf@linux-m68k.org> References: <87fun7v02h.fsf@xuchunyang.me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1478275469 13970 195.159.176.226 (4 Nov 2016 16:04:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2016 16:04:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24875@debbugs.gnu.org To: Chunyang Xu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 04 17:04:17 2016 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 1c2gyJ-0000ZC-DB for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Nov 2016 17:04:03 +0100 Original-Received: from localhost ([::1]:39639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2gyJ-0002Fh-Tl for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Nov 2016 12:04:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2gvU-0007sO-TC for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 12:01:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2gvP-0000XE-Fm for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 12:01:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2gvP-0000X2-D5 for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 12:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c2gvP-0006ZR-5r for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 12:01:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Nov 2016 16:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24875 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24875-submit@debbugs.gnu.org id=B24875.147827523825175 (code B ref 24875); Fri, 04 Nov 2016 16:01:03 +0000 Original-Received: (at 24875) by debbugs.gnu.org; 4 Nov 2016 16:00:38 +0000 Original-Received: from localhost ([127.0.0.1]:44750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2guz-0006Xz-Qc for submit@debbugs.gnu.org; Fri, 04 Nov 2016 12:00:38 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:41771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2gux-0006Xp-Hm for 24875@debbugs.gnu.org; Fri, 04 Nov 2016 12:00:36 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3t9RPt2WZ2z3hjNh; Fri, 4 Nov 2016 17:00:34 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3t9RPt1Klgzvp7p; Fri, 4 Nov 2016 17:00:34 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id nzSiCFmfmS6z; Fri, 4 Nov 2016 17:00:28 +0100 (CET) X-Auth-Info: USoaFm4h2tRL5on14nrusceqVgEx8LBoOXwo79IClTY+cWtqVGrk11cUmL3+hhjx Original-Received: from igel.home (ppp-88-217-21-71.dynamic.mnet-online.de [88.217.21.71]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 4 Nov 2016 17:00:28 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id CFE172C2E5B; Fri, 4 Nov 2016 17:00:27 +0100 (CET) X-Yow: RHAPSODY in Glue! In-Reply-To: <87fun7v02h.fsf@xuchunyang.me> (Chunyang Xu's message of "Fri, 04 Nov 2016 21:36:38 +0800") 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:125343 Archived-At: On Nov 04 2016, Chunyang Xu wrote: > For example, I eval this in the *scratch* buffer: > > (read "( . 123)") > ⇒ 123 > > (read "(1 . ( . (3 . nil)))") > ⇒ (1 3) > > I can't find explanation about this behavior in elisp manual. Is it > expected? The Emacs Lisp reader has always worked that way. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."