From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 03 14:47:52 2018 Received: (at submit) by debbugs.gnu.org; 3 Apr 2018 18:47:52 +0000 Received: from localhost ([127.0.0.1]:37350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3QyG-0005Fs-FH for submit@debbugs.gnu.org; Tue, 03 Apr 2018 14:47:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3QyE-0005Ff-Lt for submit@debbugs.gnu.org; Tue, 03 Apr 2018 14:47:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3Qy8-0001El-53 for submit@debbugs.gnu.org; Tue, 03 Apr 2018 14:47:45 -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, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f3Qy7-0001Dw-Qt for submit@debbugs.gnu.org; Tue, 03 Apr 2018 14:47:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3Qy6-00066A-61 for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 14:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3Qy3-00017E-14 for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 14:47:42 -0400 Received: from aibo.runbox.com ([91.220.196.211]:49564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3Qy2-00013S-J0 for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 14:47:38 -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:Date:Subject:To:From; bh=j1l76R8wENekstefWQRJV+NG6TQIqZ0+aWHTssr+uD8=; b=j95GoQrbTbk2iLkrveS86B2kH Ii4YZuaIWy8An86dJdZIZ6SbR1aKS3P0pdUt7skaJKZrXD90k7le+nxrRlXhS+sVk3/If7u99HZ+O 6g4mtaIYLm8ZS2c/s3uLQJ9FTPOrN6g4j5Xp13lx+BP9gnEGVdGYFgxOuRTEJLDUF8HRZwGQUyhL/ R/+pfM97n3ennd3/dd9FL0pg9VbaGiX1BSgHwuP74slKAk+uDoK0Wn7R2kR3JcOn8oCPs3cFxmw8b C2c4gnFILQkOccyRg9CZ0PT0P+ZIL5ESqJHd8UCeftwQbjh+DVuWGTxrSkSdqP9fjIX6EHJJs16ww nchxA5kyQ==; Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1f3Qxz-0000D9-KD for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 20:47:35 +0200 Received: from c-24-22-244-161.hsd1.wa.comcast.net ([24.22.244.161] helo=chinook) by mailfront12.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1f3Qxr-0003Np-PQ for bug-gnu-emacs@gnu.org; Tue, 03 Apr 2018 20:47:28 +0200 From: Gemini Lasswell To: bug-gnu-emacs@gnu.org Subject: 26.0.91; Error in Edebug when debugging inline-letevals Date: Tue, 03 Apr 2018 11:47:18 -0700 Message-ID: <87efjwi0uh.fsf@runbox.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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 (----) Using Edebug on code containing inline-letevals produces an error. To reproduce, enter the following code into *scratch*: ;;; -*- lexical-binding: t -*- (defvar my-count 0) (defun my-number () (setq my-count (1+ my-count)) (message "my-count is %s" my-count) my-count) (define-inline my-divisible-p (n) (inline-letevals (n) (inline-quote (or (eq 0 (% ,n 2)) (eq 0 (% ,n 3)))))) (defun my-func () (message "the result is %s" (my-divisible-p (my-number)))) (my-func) Then: M-x edebug-all-defs RET M-x eval-buffer RET g g Result: Args out of range: [20 48 59 70 71 72], 7 Instrumenting lisp/net/shr.el with Edebug produces a "Wrong type argument consp, nil" error at the use of shr-char-kinsoku-bol-p which also uses inline-letevals. In GNU Emacs 26.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2018-03-31 built on localhost Windowing system distributor 'The X.Org Foundation', version 11.0.11905000 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Edebugging all definitions is on. Edebug: my-number Edebug: my-even-p Edebug: my-func Go... [2 times] my-count is 1 edebug--display: Args out of range: [20 48 59 70 71 72], 7 Configured using: 'configure --prefix=/nix/store/1rz40hmih51ycy295bn8lz7xpgw0yb97-emacs-26.0 --with-modules --with-x-toolkit=gtk3 --with-xft' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS Important settings: value of $EMACSLOADPATH: /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp 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: /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/elpy-1.16.0/elpy hides /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/elpy-1.9.0/elpy /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/elpy-1.16.0/elpy-refactor hides /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/elpy-1.9.0/elpy-refactor /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/elpy-1.16.0/elpy-pkg hides /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/elpy-1.9.0/elpy-pkg /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/elpy-1.16.0/elpy-autoloads hides /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/elpy-1.9.0/elpy-autoloads /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/soap-client-3.1.3/soap-inspect hides /nix/store/1rz40hmih51ycy295bn8lz7xpgw0yb97-emacs-26.0/share/emacs/26.0.91/lisp/net/soap-inspect /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/soap-client-3.1.3/soap-client hides /nix/store/1rz40hmih51ycy295bn8lz7xpgw0yb97-emacs-26.0/share/emacs/26.0.91/lisp/net/soap-client /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/seq-2.20/seq hides /nix/store/1rz40hmih51ycy295bn8lz7xpgw0yb97-emacs-26.0/share/emacs/26.0.91/lisp/emacs-lisp/seq /nix/store/aqxp1w2vlcjna2xicxz8l2if5ip4ds51-emacs-packages-deps/share/emacs/site-lisp/elpa/let-alist-1.0.5/let-alist hides /nix/store/1rz40hmih51ycy295bn8lz7xpgw0yb97-emacs-26.0/share/emacs/26.0.91/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug message rmc puny 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 inline edebug easymenu map seq seq-25 byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch 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 composite charscript charprop 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 100258 7427) (symbols 48 20862 1) (miscs 40 53 140) (strings 32 29621 1038) (string-bytes 1 840285) (vectors 16 15487) (vector-slots 8 508929 5686) (floats 8 49 166) (intervals 56 257 0) (buffers 992 12)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 12:06:32 2019 Received: (at control) by debbugs.gnu.org; 13 Jul 2019 16:06:32 +0000 Received: from localhost ([127.0.0.1]:43240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmKXg-0007bz-Kh for submit@debbugs.gnu.org; Sat, 13 Jul 2019 12:06:32 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmKXd-0007bp-0i for control@debbugs.gnu.org; Sat, 13 Jul 2019 12:06:29 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmKXZ-00025o-Lf for control@debbugs.gnu.org; Sat, 13 Jul 2019 18:06:27 +0200 Date: Sat, 13 Jul 2019 18:06:25 +0200 Message-Id: <87k1cludfi.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31051 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 31051 + confirmed quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) tags 31051 + confirmed quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 12:08:15 2019 Received: (at 31051) by debbugs.gnu.org; 13 Jul 2019 16:08:15 +0000 Received: from localhost ([127.0.0.1]:43245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmKZL-0007fL-1N for submit@debbugs.gnu.org; Sat, 13 Jul 2019 12:08:15 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmKZJ-0007fB-3d for 31051@debbugs.gnu.org; Sat, 13 Jul 2019 12:08:13 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmKZG-00026D-AZ; Sat, 13 Jul 2019 18:08:12 +0200 From: Lars Ingebrigtsen To: Gemini Lasswell Subject: Re: bug#31051: 26.0.91; Error in Edebug when debugging inline-letevals References: <87efjwi0uh.fsf@runbox.com> Date: Sat, 13 Jul 2019 18:08:09 +0200 In-Reply-To: <87efjwi0uh.fsf@runbox.com> (Gemini Lasswell's message of "Tue, 03 Apr 2018 11:47:18 -0700") Message-ID: <87h87pudcm.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Gemini Lasswell writes: > M-x edebug-all-defs RET > M-x eval-buffer RET > g g > > Result: Args out of range: [20 48 59 70 71 72], 7 Yup; I've now added edebug specs to the inline-letevals macros you had in the example and it now works for me. So this should be fixed on the Emacs trunk. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31051 Cc: 31051@debbugs.gnu.org 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: -1.0 (-) Gemini Lasswell writes: > M-x edebug-all-defs RET > M-x eval-buffer RET > g g > > Result: Args out of range: [20 48 59 70 71 72], 7 Yup; I've now added edebug specs to the inline-letevals macros you had in the example and it now works for me. So this should be fixed on the Emacs trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 12:08:19 2019 Received: (at control) by debbugs.gnu.org; 13 Jul 2019 16:08:19 +0000 Received: from localhost ([127.0.0.1]:43248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmKZP-0007fg-BJ for submit@debbugs.gnu.org; Sat, 13 Jul 2019 12:08:19 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmKZO-0007fW-AT for control@debbugs.gnu.org; Sat, 13 Jul 2019 12:08:18 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmKZL-00026K-Ra for control@debbugs.gnu.org; Sat, 13 Jul 2019 18:08:17 +0200 Date: Sat, 13 Jul 2019 18:08:15 +0200 Message-Id: <87ftn9udcg.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31051 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 31051 fixed close 31051 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) tags 31051 fixed close 31051 27.1 quit From unknown Sat Jun 14 19:17:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug No longer marked as fixed in versions 27.1 and reopened. Date: Mon, 15 Jul 2019 14:49:01 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug No longer marked as fixed in versions 27.1 and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 15 10:48:50 2019 Received: (at control) by debbugs.gnu.org; 15 Jul 2019 14:48:50 +0000 Received: from localhost ([127.0.0.1]:48714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn2Ha-0001Aq-K8 for submit@debbugs.gnu.org; Mon, 15 Jul 2019 10:48:50 -0400 Received: from quimby.gnus.org ([80.91.231.51]:44010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn2HZ-0001Aj-M2 for control@debbugs.gnu.org; Mon, 15 Jul 2019 10:48:50 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hn2HT-0000Fm-6X for control@debbugs.gnu.org; Mon, 15 Jul 2019 16:48:49 +0200 Date: Mon, 15 Jul 2019 16:48:42 +0200 Message-Id: <877e8je4l1.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31051 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: reopen 31051 tags 31051 - fixed patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) reopen 31051 tags 31051 - fixed patch quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 20 17:33:26 2019 Received: (at 31051) by debbugs.gnu.org; 20 Jul 2019 21:33:26 +0000 Received: from localhost ([127.0.0.1]:57954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1howys-0005vz-3H for submit@debbugs.gnu.org; Sat, 20 Jul 2019 17:33:26 -0400 Received: from aibo.runbox.com ([91.220.196.211]:48214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1howyq-0005vp-7R for 31051@debbugs.gnu.org; Sat, 20 Jul 2019 17:33:25 -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=UTMrY7m2jkIvuXFDl2xQSN4AuizQFJ+U5msuMg3cDPA=; b=nCuEHXmM3wzpHEMlZ6Kprdtw8G Z3Hb+hKPyR2mvjJWH4uxKOwsIOdOnAWdtgTrAL5p6gvH1eaRr0iv8nRF94Vj+RcwB2m4lTgntGYDQ VspF544fvzGJstv5mp4qTcD3aEtBAMaVvOVCL5fKW2cTQcI/gUM40Yk00m7hkA5OCrixaa1Y6eob0 LLiUg7wYerQ7LdwqziAHF/7SG1kDfNfzry2md+TQOt2zz1XpHpvN1iMlYGYYIH6Mbj4d342fnKLeJ 4s1WUWEwYM0JYAXrM8S8N/gOuNJdwkstbnE2b73gONQ/QcUFjJuKx5dbBqguVUnhnpXAdk+ijWivP PlTp6H7Q==; Received: from [10.9.9.203] (helo=mailfront21.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1howyo-0000os-MN; Sat, 20 Jul 2019 23:33:22 +0200 Received: by mailfront21.runbox with esmtpsa (uid:179284 ) (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1howyV-0007vx-EX; Sat, 20 Jul 2019 23:33:03 +0200 From: Gemini Lasswell To: Lars Ingebrigtsen Subject: Re: bug#31051: 26.0.91; Error in Edebug when debugging inline-letevals References: <87efjwi0uh.fsf@runbox.com> <87h87pudcm.fsf@mouse.gnus.org> Date: Sat, 20 Jul 2019 14:33:00 -0700 In-Reply-To: <87h87pudcm.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sat, 13 Jul 2019 18:08:09 +0200") Message-ID: <87v9vw8k8j.fsf@runbox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31051 Cc: 31051@debbugs.gnu.org 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: -1.0 (-) --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > Yup; I've now added edebug specs to the inline-letevals macros you had > in the example and it now works for me. So this should be fixed on the > Emacs trunk. I got around to taking a look at this and noticed you had reverted the patch with some confusion around (def-edebug-spec ...) vs (declare (debug ...)). They are just two different ways to do the same thing, which is to set the edebug-form-spec property of the symbol. Setting the Edebug spec of inline-quote to backquote-form does fix the bug so you were on the right track. In Edebug specs '&rest form' and 'body' are synonyms so your added spec for inline-letevals wasn't accomplishing anything. Here's a revised patch, which for me fixes both the short example and instrumenting lisp/net/shr.el: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=0001-lisp-emacs-lisp-inline.el-inline-quote-Fix-Edebug-sp.patch >From 01644bd95a8971f0a19c5241533d5d51fc7b8b14 Mon Sep 17 00:00:00 2001 From: Gemini Lasswell Date: Sat, 20 Jul 2019 06:52:44 -0700 Subject: [PATCH] * lisp/emacs-lisp/inline.el (inline-quote): Fix Edebug spec (bug#31051). --- lisp/emacs-lisp/inline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/inline.el b/lisp/emacs-lisp/inline.el index 70dbff2147..39f8e9b594 100644 --- a/lisp/emacs-lisp/inline.el +++ b/lisp/emacs-lisp/inline.el @@ -71,7 +71,7 @@ (defmacro inline-quote (_exp) "Similar to backquote, but quotes code and only accepts , and not ,@." - (declare (debug t)) + (declare (debug backquote-form)) (error "inline-quote can only be used within define-inline")) (defmacro inline-const-p (_exp) -- 2.19.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 21 09:41:10 2019 Received: (at 31051) by debbugs.gnu.org; 21 Jul 2019 13:41:10 +0000 Received: from localhost ([127.0.0.1]:58231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpC5O-0003os-8h for submit@debbugs.gnu.org; Sun, 21 Jul 2019 09:41:10 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpC5L-0003oh-UF for 31051@debbugs.gnu.org; Sun, 21 Jul 2019 09:41:08 -0400 Received: from [80.169.244.84] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpC5H-0004I1-9R; Sun, 21 Jul 2019 15:41:05 +0200 From: Lars Ingebrigtsen To: Gemini Lasswell Subject: Re: bug#31051: 26.0.91; Error in Edebug when debugging inline-letevals References: <87efjwi0uh.fsf@runbox.com> <87h87pudcm.fsf@mouse.gnus.org> <87v9vw8k8j.fsf@runbox.com> Date: Sun, 21 Jul 2019 15:41:02 +0200 In-Reply-To: <87v9vw8k8j.fsf@runbox.com> (Gemini Lasswell's message of "Sat, 20 Jul 2019 14:33:00 -0700") Message-ID: <878ssr7bf5.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Gemini Lasswell writes: > Here's a revised patch, which for me fixes both the short example and > instrumenting lisp/net/shr.el: Thanks; applied. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31051 Cc: 31051@debbugs.gnu.org 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: -1.0 (-) Gemini Lasswell writes: > Here's a revised patch, which for me fixes both the short example and > instrumenting lisp/net/shr.el: Thanks; applied. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 21 09:41:16 2019 Received: (at control) by debbugs.gnu.org; 21 Jul 2019 13:41:16 +0000 Received: from localhost ([127.0.0.1]:58234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpC5U-0003pE-Hr for submit@debbugs.gnu.org; Sun, 21 Jul 2019 09:41:16 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpC5S-0003p5-94 for control@debbugs.gnu.org; Sun, 21 Jul 2019 09:41:14 -0400 Received: from [80.169.244.84] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpC5P-0004II-Fr for control@debbugs.gnu.org; Sun, 21 Jul 2019 15:41:13 +0200 Date: Sun, 21 Jul 2019 15:41:10 +0200 Message-Id: <877e8b7bex.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31051 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 31051 fixed close 31051 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) tags 31051 fixed close 31051 27.1 quit From unknown Sat Jun 14 19:17:11 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, 19 Aug 2019 11: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