From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philipp Newsgroups: gmane.emacs.bugs Subject: bug#41988: 28.0.50; Edebug unconditionally instruments definitions with &define specs Date: Sun, 21 Jun 2020 18:58:55 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="79713"; mail-complaints-to="usenet@ciao.gmane.io" To: 41988@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 21 19:00:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jn3KG-000Kes-Od for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Jun 2020 19:00:12 +0200 Original-Received: from localhost ([::1]:37666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jn3KF-0001Yq-Qi for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Jun 2020 13:00:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jn3K6-0001Yi-T6 for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2020 13:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jn3K6-0004PN-Im for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2020 13:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jn3K6-0001IT-IK for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2020 13:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jun 2020 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41988 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15927587454878 (code B ref -1); Sun, 21 Jun 2020 17:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jun 2020 16:59:05 +0000 Original-Received: from localhost ([127.0.0.1]:60855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jn3JA-0001Gc-LP for submit@debbugs.gnu.org; Sun, 21 Jun 2020 12:59:04 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jn3J7-0001GC-9P for submit@debbugs.gnu.org; Sun, 21 Jun 2020 12:59:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jn3J7-0000wX-0p for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2020 12:59:01 -0400 Original-Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:32829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jn3J5-0004K4-1m for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2020 12:59:00 -0400 Original-Received: by mail-wr1-x444.google.com with SMTP id l11so14368743wru.0 for ; Sun, 21 Jun 2020 09:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=6UP0dIreru0XNIFamP68DvxHFfz+TtGXjizrMDZMRpo=; b=g+hP5B+4oSC93UXAJvAXDG93DcsSti85Ox96rSYghKdDTpo5P4LB91gkTKrO/+dUjV N51+nnVdvGdE1AmaLlIcUJZpnHKCDHAi2bPt1i5ZUTBz5r1i9wtHTYui+mQPF/8hDB22 BBtPJ92PtVsfaIKPwLF4ZHkmyfOfI9qXbuldFwk7LCdedDY3tceUK2FRaFnomx3P4QOe /XB/LacVxkpK5ZSTqDP5Jg3+sRJ9Gg9dwQUIul2K5hVpHJ1h7NithIf++t1yW1MoV1LP sLAkSTskYdWWY3eFnBgiiLF1ztHCWeWMwLEMJVI6ZBQk5FvHdWhTdzBBnF8bulmDsTrt F3cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=6UP0dIreru0XNIFamP68DvxHFfz+TtGXjizrMDZMRpo=; b=beHfRNVyupuEIoVn/Z3COisQ+utJJMPt6zfHNOonfcq0V7xX10h2jAyWMERsZ43H8l WZ1crz2WzkT78EHLwYbgbQ6s6I+qokafm5imgc8MyaatgW402cBPB6jbMga7lQ7KOA06 3z3y9MuM1IKBD6s/2j1f60n2upUsshAV55fnOtPGyH40S3ncNwAHbkqHmrEDendbgB0r H/1msWZ24oo1voKvxadjZdJNOVGNS+zYi5bujGf5gEJPrwLSTszYL8O37uR7yuU07UCI Rb/690iAjVcl0Ga0wvvmLUPjJnCX/qR4tSTIMnoFFxLJbkxiRMCicfgepCn0E7ISVd6C /fYw== X-Gm-Message-State: AOAM531d4SG91IjuSQOk/C4EQiDIxrEEbhf5DJh5k9AsZak7gFLEw69+ 8NNqrc/XDsPEvunWFxP1wBi5XaDCItc= X-Google-Smtp-Source: ABdhPJyCaYfQf6YcCBiJLoF46QcRB3pfSrAs024h4324AWeaLyJ3JeQGFNA1LLYkEnadd7c0WqZofw== X-Received: by 2002:adf:8444:: with SMTP id 62mr14138875wrf.278.1592758736844; Sun, 21 Jun 2020 09:58:56 -0700 (PDT) Original-Received: from p ([2a02:2455:2a2:100:b098:928b:bb30:186]) by smtp.gmail.com with ESMTPSA id d63sm14269414wmc.22.2020.06.21.09.58.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2020 09:58:56 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=p.stephani2@gmail.com; helo=mail-wr1-x444.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182249 Archived-At: As an example, edebug-instrument (C-u C-M-x) the following definition: (defun bar () (cl-flet ((foo () 1)) (foo))) The *Messages* buffer now says Edebug: foo [2 times] Edebug: bar Note the '[2 times]'. I believe this is because `edebug-match-&define' calls `edebug-make-form-wrapper' unconditionally. The Edebug spec for `cl-flet' has two `&or' branches that both use `&define', so if the first one doesn't match it will still create a definition using `edebug-make-form-wrapper'. Probably `edebug-match-&define' should only invoke `edebug-make-form-wrapper' if the specification actually matches. In GNU Emacs 28.0.50 (build 55, x86_64-apple-darwin19.4.0, NS appkit-1894.50 Version 10.15.5 (Build 19F101)) of 2020-06-21 Repository revision: a4d3897d8f0caa54be1e1d081651ed6640b7f25e Repository branch: master Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.5 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. C-c C-c is undefined Configured using: 'configure --with-modules --without-xml2 --without-pop --with-mailutils --enable-gcc-warnings=warn-only --enable-checking=all --enable-check-lisp-object-type 'CFLAGS=-ggdb3 -O0'' Configured features: JPEG TIFF GIF PNG NOTIFY KQUEUE ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t 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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc dired dired-loaddefs rfc822 mml easymenu mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton derived edmacro kmacro pcase ffap thingatpt url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars mailcap subr-x rx gnutls puny seq byte-opt gv bytecomp byte-compile cconv dbus xml compile comint ansi-color ring cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 69651 5774) (symbols 48 8651 1) (strings 32 23551 1900) (string-bytes 1 768689) (vectors 16 14140) (vector-slots 8 172499 9631) (floats 8 25 30) (intervals 56 206 0) (buffers 992 10))