From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gemini Lasswell Newsgroups: gmane.emacs.bugs Subject: bug#24748: 26.0.50; Edebug fails to instrument subr-x-tests.el Date: Thu, 20 Oct 2016 11:32:39 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1476988478 27729 195.159.176.226 (20 Oct 2016 18:34:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2016 18:34:38 +0000 (UTC) To: 24748@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 20:34:33 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 1bxIAL-00043i-BY for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2016 20:34:09 +0200 Original-Received: from localhost ([::1]:56556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxIAN-00025b-MI for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2016 14:34:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxIAH-00025W-U7 for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 14:34:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxIAE-0006yq-ON for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 14:34:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxIAE-0006yl-Kj for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 14:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bxIAE-0001UG-Ei for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Oct 2016 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24748 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14769883945651 (code B ref -1); Thu, 20 Oct 2016 18:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Oct 2016 18:33:14 +0000 Original-Received: from localhost ([127.0.0.1]:40885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxI9R-0001T4-Qn for submit@debbugs.gnu.org; Thu, 20 Oct 2016 14:33:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxI9Q-0001Sm-15 for submit@debbugs.gnu.org; Thu, 20 Oct 2016 14:33:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxI9J-0006fz-Co for submit@debbugs.gnu.org; Thu, 20 Oct 2016 14:33:06 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54440) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxI9J-0006fs-9h for submit@debbugs.gnu.org; Thu, 20 Oct 2016 14:33:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxI9H-0001yT-LN for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 14:33:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxI9E-0006ey-Fe for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 14:33:03 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:36238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxI9E-0006eh-8m for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 14:33:00 -0400 Original-Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bxI9C-0003M7-Rl for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 20:32:58 +0200 Original-Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=rainbow.local) by mailfront10.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bxI8w-00033R-1Z for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2016 20:32:42 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:124740 Archived-At: To reproduce, from the head of the emacs source tree: 1. emacs -Q 2. C-x C-f test/lisp/emacs-lisp/subr-x-tests.el RET 3. M-x edebug-all-defs RET 4. M-x eval-buffer RET Result: Invalid read syntax error Edebug is complaining when it gets to this: (if-let (z (a 1) (b 2) (c 3)) (list a b c) "no") because it can't match it with if-let's Edebug specification. I think that the Edebug spec is correct and that this use of if-let is incorrect and that this form ought to be moved into subr-x-test-if-let-malformed-binding. In GNU Emacs 26.0.50.2 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Versio= n 10.11.6 (Build 15G1004)) of 2016-10-19 built on rainbow.local Repository revision: 911ade134058c633ab9bec75f664d44aa1faaac3 Windowing system distributor 'Apple', version 10.3.1404 Recent messages: Debug on Error disabled globally You can run the command =E2=80=98toggle-debug-on-error=E2=80=99 with M-x t-= er RET Debug on Error disabled globally Edebug: test@subr-x-test-if-let-single-binding-expansion Edebug: test@subr-x-test-if-let-single-symbol-expansion Edebug: test@subr-x-test-if-let-nil-related-expansion Edebug: test@subr-x-test-if-let-malformed-binding Edebug: test@subr-x-test-if-let-true edebug-syntax-error: Invalid read syntax: "Expected one of", (&rest (symbol= p form)), (symbolp form) Text is read-only Configured using: 'configure --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t global-undo-tree-mode: t undo-tree-mode: t diff-auto-refine-mode: t ivy-mode: t buffer-face-mode: t yas-global-mode: t yas-minor-mode: t pyvenv-mode: t shell-dirtrack-mode: t nameless-mode: t beacon-mode: t rainbow-mode: t column-enforce-mode: t volatile-highlights-mode: t region-state-mode: t ws-butler-global-mode: t ws-butler-mode: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-global-mode: t smartparens-global-strict-mode: t smartparens-strict-mode: t smartparens-mode: t which-key-mode: t modalka-mode: t recentf-mode: t global-auto-revert-mode: t auto-revert-mode: t winner-mode: t display-time-mode: t savehist-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow emacsbug highlight-symbol log-view vc vc-dispatcher windmove goto-chg shrink-whitespace eieio-opt speedbar sb-image ezimage dframe dash-at-point cc-engine cc-langs cc-vars cc-defs cc-bytecomp generator linum magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit log-edit pcvs-util with-editor async-bytecomp async server zoom-window ert find-func ewoc let-alist dabbrev expand-region text-mode-expansions python-el-fgallina-expansions er-basic-expansions expand-region-core expand-region-custom mailalias shr-color shr svg dom browse-url two-column iso-transl nnir nndraft nnmh nnfolder utf-7 epa-file sort smiley gnus-cite mail-extr qp gnus-async gnus-bcklg gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-ml gnus-msg disp-table nndoc gnus-cache gnus-dup gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader mm-archive message rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mailabbrev gmm-utils mailheader crm debbugs-gnu add-log comment-dwim-2 undo-tree diff ielm pp debug testcover edebug vc-git diff-mode colir flx dired dired-loaddefs counsel esh-util swiper ivy delsel ffap face-remap guess-style smtpmail sendmail mail-utils yasnippet highlight-indentation flymake company help-fns radix-tree elpy pyvenv elpy-refactor smartparens-python python tramp-sh tramp tramp-compat tramp-loaddefs trampver shell pcomplete format-spec json map grep compile files-x cus-edit virtualenvwrapper gud comint nameless lisp-mnt ace-window avy beacon smex ido deft debbugs soap-client mm-decode mm-bodies mm-encode warnings rng-xsd rng-dt rng-util xsd-regexp xml rainbow-mode ansi-color color s hydra lv column-enforce-mode etags xref project volatile-highlights region-state ws-butler smartparens-config smartparens thingatpt dash which-key modalka quail smart-mode-line-dark-theme smart-mode-line advice rich-minority whiteboard-theme classic-theme recentf tree-widget wid-edit autorevert filenotify winner ring time cus-start cus-load savehist cap-words superword subword use-package diminish bind-key easy-mmode finder-inf edmacro kmacro info network-stream starttls url-http tls gnutls mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm subr-x puny url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap cl package epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 1836058 236199) (symbols 48 55494 0) (miscs 40 8400 8347) (strings 32 192697 74616) (string-bytes 1 5495243) (vectors 16 84753) (vector-slots 8 1452509 94455) (floats 8 5271 2267) (intervals 56 174606 5755) (buffers 976 87))