From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 14 10:59:28 2016 Received: (at submit) by debbugs.gnu.org; 14 Oct 2016 14:59:28 +0000 Received: from localhost ([127.0.0.1]:55411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv3xH-0003O5-S5 for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:59:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bv3xF-0003Nr-Ve for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv3x9-0004qR-GX for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:59:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3x9-0004py-Cp for submit@debbugs.gnu.org; Fri, 14 Oct 2016 10:59:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3x7-0001yh-OE for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:59:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv3x1-0004o6-Lv for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:59:16 -0400 Received: from aibo.runbox.com ([91.220.196.211]:48134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv3x1-0004nB-9o for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 10:59:11 -0400 Received: from [10.9.9.213] (helo=mailfront13.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bv3wy-00018t-GH for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 16:59:08 +0200 Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=rainbow.local) by mailfront13.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bv3wu-00075W-27 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2016 16:59:04 +0200 From: Gemini Lasswell To: bug-gnu-emacs@gnu.org Subject: 25.1.50; testcover-start error when instrumenting pcase pattern Date: Fri, 14 Oct 2016 07:58:46 -0700 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) --=-=-= Content-Type: text/plain testcover-start fails with the message "Wrong type argument: listp, \," when asked to instrument lisp/emacs-lisp/cconv.el from the Emacs source tree. I've simplified the problem down to this fragment of code: (pcase form (`(condition-case ,var ,protected-form . ,handlers) nil)) To reproduce, create a file called bug.el containing the code above and: 1. emacs -Q 2. M-x toggle-debug-on-error RET 3. C-x C-f bug.el RET 4. M-: (require 'testcover) RET 5. M-x testcover-start RET bug.el RET Here is the resulting backtrace: --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=backtrace.txt Content-Transfer-Encoding: 8bit Debugger entered--Lisp error: (wrong-type-argument listp \,) cdr(\,) mapcar(cdr (\, handlers)) testcover-reinstrument((condition-case (\, var) (\, protected-form) \, handlers)) testcover-reinstrument((\` (condition-case (\, var) (\, protected-form) \, handlers))) testcover-reinstrument(((\` (condition-case (\, var) (\, protected-form) \, handlers)) nil)) testcover-reinstrument-list((form ((\` (condition-case (\, var) (\, protected-form) \, handlers)) nil))) testcover-reinstrument((pcase form ((\` (condition-case (\, var) (\, protected-form) \, handlers)) nil))) testcover--read(#[128 "\300\301\302#\207" [apply edebug--read read nil] 5 nil] #) apply(testcover--read #[128 "\300\301\302#\207" [apply edebug--read read nil] 5 nil] #) #[128 "\300\301\302#\207" [apply testcover--read #[128 "\300\301\302#\207" [apply edebug--read read nil] 5 nil] nil] 5 nil](#) eval-buffer(#) ; Reading at buffer position 79 testcover-start("~/Projects/lisp/bug2.el") funcall-interactively(testcover-start "~/Projects/lisp/bug2.el") call-interactively(testcover-start record nil) command-execute(testcover-start record) execute-extended-command(nil "testcover-start" "testcover-start") funcall-interactively(execute-extended-command nil "testcover-start" "testcover-start") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In GNU Emacs 25.1.50.18 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Versi= on 10.11.6 (Build 15G1004)) of 2016-10-12 built on rainbow.local Windowing system distributor 'Apple', version 10.3.1404 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. testcover mapcar: Wrong type argument: listp, \, Debug on Error enabled globally You can run the command =E2=80=98toggle-debug-on-error=E2=80=99 with M-x t-= er RET Debug on Error enabled globally Entering debugger... Configured using: 'configure --with-ns' 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: Debugger Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode debug cus-start cus-load testcover edebug easymenu 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 216154 8450) (symbols 48 21704 0) (miscs 40 64 189) (strings 32 20892 6047) (string-bytes 1 644659) (vectors 16 35191) (vector-slots 8 672545 4247) (floats 8 184 26) (intervals 56 239 0) (buffers 976 13)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 19:46:51 2017 Received: (at 24688-done) by debbugs.gnu.org; 8 Oct 2017 23:46:51 +0000 Received: from localhost ([127.0.0.1]:56856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1LHX-00021W-Fq for submit@debbugs.gnu.org; Sun, 08 Oct 2017 19:46:51 -0400 Received: from aibo.runbox.com ([91.220.196.211]:51296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1LHW-00021N-1s for 24688-done@debbugs.gnu.org; Sun, 08 Oct 2017 19:46:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From; bh=8d+RVZnyvaAMEEva2rJZMA1F3VGVZyLXjuDCWJzEDZg=; b=kKEcpvnOZ68H+nkndpfnJWfS2g w1HL2CdTUvq9JxoWTMLXjzY2fTXUiFrpBV/TDstCm6OBtq7fM4ihoL4BvpVTufMiV/EIIR409iMVG hm2dtg4ov+a2ijhqfRh3SGazFwIq93DPs3f08CRIm6Tzo4OwIPw44HhV1r+HnQsyay1xscPrYOdMj ShDKAk8ofPMHEA75ezvGGulsttVvkTFdh/c6WrmfvscejBH7XkCD9hvUg0o3tXhRiclGdOx8BZR9p Q2nulrtYfoW81H5eIaiPwGdUlzYExWvuVr3KD5bQFdfqcdufuIEw94cey5Gkaz73cr40ON+ifu6xs mITCbiBw==; Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e1LHV-0005ae-9X for 24688-done@debbugs.gnu.org; Mon, 09 Oct 2017 01:46:49 +0200 Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=chinook) by mailfront10.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e1LHP-0006ZA-NY for 24688-done@debbugs.gnu.org; Mon, 09 Oct 2017 01:46:44 +0200 From: Gemini Lasswell To: 24688-done@debbugs.gnu.org Subject: Re: bug#24688: 25.1.50; testcover-start error when instrumenting pcase pattern References: Date: Sun, 08 Oct 2017 16:46:42 -0700 In-Reply-To: (Gemini Lasswell's message of "Fri, 14 Oct 2016 07:58:46 -0700") Message-ID: <87y3olyzh9.fsf@runbox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24688-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Fixed in master, by the patch applied for bug#25316. From unknown Fri Jun 20 07:28:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 06 Nov 2017 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator