From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: "Jens Schmidt" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Sep 2023 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 66136@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169530186716905 (code B ref -1); Thu, 21 Sep 2023 13:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Sep 2023 13:11:07 +0000 Received: from localhost ([127.0.0.1]:32997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJSU-0004Oa-MG for submit@debbugs.gnu.org; Thu, 21 Sep 2023 09:11:07 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJSP-0004NY-Ix for submit@debbugs.gnu.org; Thu, 21 Sep 2023 09:11:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjJRz-0004zX-J6 for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 09:10:37 -0400 Received: from mr6.vodafonemail.de ([145.253.228.166]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjJRv-0006kD-3f for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 09:10:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1695293043; bh=y/Mb+NJ9D1lEJAcz+w2EsVxO595TIordycrrsH5xhKM=; h=From:To:Message-ID:Date:Subject:Content-type:From; b=jsMZCLMalxwV7lDPJCv7/70BCCrsLc+QekKNoD/RsxEV9YqumqUbFcAJDAJueWr+D mVwfYeYVLf0dVYqXDd2XFLGUyfD8aBhK5coJH44dJH9JbMsMJS7rUBr+lduJFnEij7 aEmvwVQ6nMlPwwjpFJJqG83CV1p54LT5jRdj+Eqk= Received: from mp103.fra-mediabeam.com (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4RrsTH5z8Bz1y2R for ; Thu, 21 Sep 2023 10:44:03 +0000 (UTC) Received: from mailbackend01 (unknown [10.0.0.2]) by mp103.fra-mediabeam.com (Postfix) with ESMTP id 4RrsTH5FWmz8t5m for ; Thu, 21 Sep 2023 10:44:03 +0000 (UTC) Received: from [193.16.224.36] by www.vodafonemail.de via HTTP; Thu, 21 Sep 2023 12:44:01 +0200 From: "Jens Schmidt" Message-ID: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> Date: Thu, 21 Sep 2023 12:44:01 +0200 X-Priority: 3 MIME-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 5995 X-purgate-ID: 155817::1695293043-924991CD-0A21657B/0/0 Received-SPF: pass client-ip=145.253.228.166; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr6.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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 (-) Write the following to a file foo=2Eel: -------------------- foo=2Eel -------------------- ;;; -*- lexical-binding: t -*- (defun delete-process@emacs-fix (&rest patch-args) "Allows interactive calls=2E" (interactive (list (completing-read "Delete process: " (mapcar (lambda (process) (list (process-name process))) (process-list)))))) -------------------- foo=2Eel -------------------- (This is used to advise function `delete-process' in my =2Eemacs=2E) Then start Emacs as "emacs -Q" and M-x byte-compile-file ~/foo=2Eel RET For me this results in two warnings: -------------------- *Compile-Log* -------------------- Compiling file /home/jschmidt/foo=2Eel at Thu Sep 21 12:34:05 2023 Entering directory =E2=80=98/home/jschmidt/=E2=80=99 In delete-process@emacs-fix: foo=2Eel:5:4: Warning: misplaced interactive spec: =E2=80=98(interactiv= e (list (completing-read Delete process: (mapcar #'(lambda (process) (list (process-name process))) (process-list)))))=E2=80=99 foo=2Eel:3:40: Warning: Unused lexical argument `patch-args' -------------------- *Compile-Log* -------------------- I'm OK with the latter, but I think the former is incorrect=2E The former warning goes away if any of the following is done: - the "lexical-binding: t" is removed from the file - `patch-args' is renamed to `_patch-args' - an explicit nil body is added to the function In GNU Emacs 29=2E1 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1=2E16=2E0, Xaw3d scroll bars) of 2023-08-30, modified by Debi= an built on x86-csail-01 Windowing system distributor 'The X=2EOrg Foundation', version 11=2E0=2E= 12101008 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29=2E1/site= -lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29=2E1/site-lis= p:/usr/share/emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29=2E1/site= -lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29=2E1/site-lis= p:/usr/share/emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --with-x=3Dyes --with-x-toolkit=3Dlucid --with-toolkit-scroll-bars --without-gsettings 'CFLAGS=3D-g -O2 -ffile-prefix-map=3D/build/reproducible-path/emacs-29=2E1+1=3D=2E -fst= ack-protector-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS= 2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIF= Y INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_COLLATE: POSIX value of $LC_TIME: POSIX value of $LANG: en_US=2EUTF-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 show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found=2E Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc606= 8 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddef= s comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshado= w isearch easymenu timer select scroll-bar mouse jit-lock font-lock synta= x font-core term/tty-colors frame minibuffer nadvice seq simple cl-generi= c indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 76983 14037) (symbols 48 7141 0) (strings 32 20219 2411) (string-bytes 1 594205) (vectors 16 15313) (vector-slots 8 322958 19812) (floats 8 40 46) (intervals 56 304 0) (buffers 984 11)) From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Sep 2023 20:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169532766531115 (code B ref 66136); Thu, 21 Sep 2023 20:22:02 +0000 Received: (at 66136) by debbugs.gnu.org; 21 Sep 2023 20:21:05 +0000 Received: from localhost ([127.0.0.1]:34861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjQAa-00085m-DQ for submit@debbugs.gnu.org; Thu, 21 Sep 2023 16:21:04 -0400 Received: from mr4.vodafonemail.de ([145.253.228.164]:35388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjQAU-000856-4r for 66136@debbugs.gnu.org; Thu, 21 Sep 2023 16:21:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1695327641; bh=4FWx+pise2/ZJSRXYhFf6IZWk9OntDhn3Lc/oMvWpFI=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=Vpbveg7FWhVSyr4ORApk9REZymrmxl8EZOo6Bv8coY5fQhud5vOsZlxzKcPJ65HtG 4h3moQfXH4eF65XHi9IjQ0YR2YNvH9iWeqKh140326efbhiWGZaRqjSteLRzYDv/nl DsyJygog0t1SFcsYEUg7QMAXhJFO/3Q8/NisP+Cc= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4Rs6Gd4jGkz1xyr for <66136@debbugs.gnu.org>; Thu, 21 Sep 2023 20:20:41 +0000 (UTC) Received: from sappc2 (port-92-194-222-253.dynamic.as20676.net [92.194.222.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4Rs6GY0yQQzKm4S for <66136@debbugs.gnu.org>; Thu, 21 Sep 2023 20:20:33 +0000 (UTC) From: Jens Schmidt References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> Date: Thu, 21 Sep 2023 22:20:32 +0200 In-Reply-To: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> (Jens Schmidt's message of "Thu, 21 Sep 2023 12:44:01 +0200") Message-ID: <87o7hvs2gf.fsf@sappc2.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 1873 X-purgate-ID: 155817::1695327637-2DFE558E-7C511C8B/0/0 X-Spam-Score: 0.0 (/) 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.7 (-) Smaller test case is -------------------- foo.el -------------------- ;;; -*- lexical-binding: t -*- (defun delete-process@emacs-fix (arg) "Allows interactive calls." (interactive "^P")) -------------------- foo.el -------------------- And even smaller might be (but I cannot interpret the results for sure) that -------------------- bad case -------------------- (byte-compile-preprocess '(defun delete-process@emacs-fix (arg) "Allows interactive calls." (interactive "^P"))) =3D> (defalias 'delete-process@emacs-fix #'(lambda (arg) "Allows interactive calls." (macroexp--funcall-if-compiled '#[0 "\300:\203 \0\303\304\300\"\202\0\304\300!\205\0\305\302\306\30= 1#\207" [lexical "Unused lexical argument =E2=80=98arg=E2=80=99" arg apply byte-compile-warning-enabled-p byte-compile-warn-x "%s"] 4...]) ;; this dangling interactive form ultimately seems to ;; trigger the warning (interactive "^P"))) -------------------- bad case -------------------- while -------------------- good case -------------------- (byte-compile-preprocess '(defun delete-process@emacs-fix (arg) "Allows interactive calls." (interactive "^P") nil)) =3D> (defalias 'delete-process@emacs-fix #'(lambda (arg) "Allows interactive calls." (interactive "^P") (macroexp--funcall-if-compiled '#[0 "\300:\203 \0\303\304\300\"\202\0\304\300!\205\0\305\302\306\30= 1#\207" [lexical "Unused lexical argument =E2=80=98arg=E2=80=99" arg apply byte-compile-warning-enabled-p byte-compile-warn-x "%s"] 4]) nil)) -------------------- good case -------------------- so `byte-compile-preprocess' could be the culprit here, inserting the warning wrapped into the `macroexp--funcall-if-compiled' in the wrong place. From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Sep 2023 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.16953324167554 (code B ref 66136); Thu, 21 Sep 2023 21:41:02 +0000 Received: (at 66136) by debbugs.gnu.org; 21 Sep 2023 21:40:16 +0000 Received: from localhost ([127.0.0.1]:34930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjRPD-0001xm-Nf for submit@debbugs.gnu.org; Thu, 21 Sep 2023 17:40:16 -0400 Received: from mr6.vodafonemail.de ([145.253.228.166]:46152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjRPB-0001xT-0x for 66136@debbugs.gnu.org; Thu, 21 Sep 2023 17:40:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1695332395; bh=4k9TvKxC3jiHTEOeMzDnn/3mi+bzdqYfSV3UNUXnTvU=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=hEASCzyraR2zhRTUedEqqHYrU8+lJjBisbDj2zJoh4+uv/dxBhNj58VjOliveW/XX V6eQbnjNL9DWn1ut4+6oTXtYOwK4p5JOZwJEKtQuurBe2ZesvvNh8rBSjBAcx6dZon K8MK5CE8ehxqUiMOfDUlz7Pbpp48w4M0+0cuV4W0= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4Rs8236zd8z1y4C for <66136@debbugs.gnu.org>; Thu, 21 Sep 2023 21:39:55 +0000 (UTC) Received: from sappc2 (port-92-194-222-253.dynamic.as20676.net [92.194.222.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4Rs81z54SGz9s2J for <66136@debbugs.gnu.org>; Thu, 21 Sep 2023 21:39:48 +0000 (UTC) From: Jens Schmidt References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> Date: Thu, 21 Sep 2023 23:39:47 +0200 In-Reply-To: <87o7hvs2gf.fsf@sappc2.fritz.box> (Jens Schmidt's message of "Thu, 21 Sep 2023 22:20:32 +0200") Message-ID: <87leczrysc.fsf@sappc2.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate: clean X-purgate-size: 902 X-purgate-ID: 155817::1695332391-837F9816-857AC35D/0/0 X-Spam-Score: -0.7 (/) 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.7 (-) Found the issue I think: -------------------- bad case -------------------- (macroexp-parse-body '("Allows interactive calls." (interactive "^P"))) => (("Allows interactive calls.") (interactive "^P")) -------------------- bad case -------------------- -------------------- good case -------------------- (macroexp-parse-body '("Allows interactive calls." (interactive "^P") nil)) => (("Allows interactive calls." (interactive "^P")) nil) -------------------- good case -------------------- That is, macroexp-parse-body does not consider the case that a body can consist of declarations only and, if this is the case, puts the last declaration into the body forms. Could provide a patch if somebody confirms that this is really the root cause of this issue. Yet on the other hand this is pretty deep elisp, so if somebody else steps forward, I'll be glad as well. From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 05:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jens Schmidt , Stefan Monnier Cc: 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169536233825600 (code B ref 66136); Fri, 22 Sep 2023 05:59:01 +0000 Received: (at 66136) by debbugs.gnu.org; 22 Sep 2023 05:58:58 +0000 Received: from localhost ([127.0.0.1]:35146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjZBq-0006eq-8a for submit@debbugs.gnu.org; Fri, 22 Sep 2023 01:58:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjZBn-0006eZ-L5 for 66136@debbugs.gnu.org; Fri, 22 Sep 2023 01:58:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjZBX-0001tc-9R; Fri, 22 Sep 2023 01:58:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=z0C1/yvhbgOF3gfNfLSCaYQeczQqe+uSKtZWJuK9Zjw=; b=INmoleydDmpk +NYi4DV0aJZNwQRQ9rpQ4V9OWTOUS4bU3/9Q9NnBUIaEcdguoSzQZMBRkW/vAB+WiXPw+Kvlok/Gz johrZ2PxvWCZ4o+aC4NgPxCvb9qZZCbsLXxQ8oNEQvOXsxA4EYqg4NgTkUUusnkl/ni0ImVpQIcui LR9mkd1lgclcnLhUaoHjcWOI6T7btA8A7TfcKXW+2hB6ATw80j13GDGRdr2RJsj89aaxeUgASPIpo qP11nQg7DXA5kMi4pwzstADWSSxsHvOtAjkUl04V9lGrmZMD/LrPIFsSANFAqhXkv/wSDLVawnICG j898KjGqAwXp9PoOitGL6g==; Date: Fri, 22 Sep 2023 08:58:47 +0300 Message-Id: <838r8y92aw.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87leczrysc.fsf@sappc2.fritz.box> (bug-gnu-emacs@gnu.org) References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > Date: Thu, 21 Sep 2023 23:39:47 +0200 > From: Jens Schmidt via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Found the issue I think: > > -------------------- bad case -------------------- > (macroexp-parse-body '("Allows interactive calls." (interactive "^P"))) > > => > > (("Allows interactive calls.") > (interactive "^P")) > -------------------- bad case -------------------- > > -------------------- good case -------------------- > (macroexp-parse-body '("Allows interactive calls." (interactive "^P") nil)) > > => > > (("Allows interactive calls." (interactive "^P")) > nil) > -------------------- good case -------------------- > > That is, macroexp-parse-body does not consider the case that a body can > consist of declarations only and, if this is the case, puts the last > declaration into the body forms. > > Could provide a patch if somebody confirms that this is really the root > cause of this issue. Yet on the other hand this is pretty deep elisp, > so if somebody else steps forward, I'll be glad as well. Adding Stefan, in case he has comments/suggestions. From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Jens Schmidt , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169539486313588 (code B ref 66136); Fri, 22 Sep 2023 15:02:02 +0000 Received: (at 66136) by debbugs.gnu.org; 22 Sep 2023 15:01:03 +0000 Received: from localhost ([127.0.0.1]:37084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjheQ-0003X6-Pc for submit@debbugs.gnu.org; Fri, 22 Sep 2023 11:01:03 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:19576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjheO-0003WB-Ni for 66136@debbugs.gnu.org; Fri, 22 Sep 2023 11:01:02 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5F82F440968; Fri, 22 Sep 2023 11:00:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695394842; bh=4QMHK7C9XL9cFk9b/2zcRV3IqfSCCOLdKoWnb5XegPE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=krgSaTHw5eeLTvesxiPgz5Ncz4d1Tia5utoOo+IKg4QpeQerZozfOy42sCNSGCUNC G87zsuBkBDdA0u8ejMkAf7HlDmDX05FQYN2sxTEr8GzouBexbfo23+jIinDdrfHKQR bYqr5/EvVh7txoWK7Pa2/MXhIWMQHeW2WtUUnQKedDKUHWA5cFyfGXSsziUGtNqeXC gymM48Jc9AeMAGwQWZYX2+fjkyftDxi8xwLCXfuA3ons6bpoBWXhfoB+LvMDF1UxFg VI6AgVncnBrcY27GHXn5m1m5oxYxSDu2VVuY+rMNRdVfg+YgZntM0FYv7f/XGFxSwa 7rwO+oCc8zBoA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C5DF6440922; Fri, 22 Sep 2023 11:00:42 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B630A120223; Fri, 22 Sep 2023 11:00:42 -0400 (EDT) From: Stefan Monnier In-Reply-To: <838r8y92aw.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Sep 2023 08:58:47 +0300") Message-ID: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Fri, 22 Sep 2023 10:59:21 -0400 MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.296 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain KAM_ASCII_DIVIDERS 0.8 Email that uses ascii formatting dividers and possible spam tricks X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) 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: -3.3 (---) >> Date: Thu, 21 Sep 2023 23:39:47 +0200 >> From: Jens Schmidt via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> Found the issue I think: >> >> -------------------- bad case -------------------- >> (macroexp-parse-body '("Allows interactive calls." (interactive "^P"))) >> >> => >> >> (("Allows interactive calls.") >> (interactive "^P")) >> -------------------- bad case -------------------- >> >> -------------------- good case -------------------- >> (macroexp-parse-body '("Allows interactive calls." (interactive "^P") nil)) >> >> => >> >> (("Allows interactive calls." (interactive "^P")) >> nil) >> -------------------- good case -------------------- >> >> That is, macroexp-parse-body does not consider the case that a body can >> consist of declarations only and, if this is the case, puts the last >> declaration into the body forms. >> >> Could provide a patch if somebody confirms that this is really the root >> cause of this issue. Yet on the other hand this is pretty deep elisp, >> so if somebody else steps forward, I'll be glad as well. > > Adding Stefan, in case he has comments/suggestions. I'm in favor of requiring *something* after the declarations. So yes, the first case above is a bug and should be fixed, but rather than return (("Allows interactive calls." (interactive "^P")) nil) I think it should return something like (("Allows interactive calls." (interactive "^P")) ,(macroexp-warn-and-return "Missing body" ...)) -- Stefan From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 21:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Eli Zaretskii , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169541800119761 (code B ref 66136); Fri, 22 Sep 2023 21:27:01 +0000 Received: (at 66136) by debbugs.gnu.org; 22 Sep 2023 21:26:41 +0000 Received: from localhost ([127.0.0.1]:37351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjnfd-00058f-8z for submit@debbugs.gnu.org; Fri, 22 Sep 2023 17:26:41 -0400 Received: from mr6.vodafonemail.de ([145.253.228.166]:50542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjnfY-00058M-MM for 66136@debbugs.gnu.org; Fri, 22 Sep 2023 17:26:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1695417979; bh=D/Otki1O9I0OKNEo7I+o7Hqi7Llh55TCt+CJoUrwIoI=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=LAN4apcdVqbZ81XCuYv79WQH8vGkz2t71+rLJx0DKsXeKxf0n4AC+ZQizMecDpQOb 0zgTAAUIOXWHGVJMyH2wYJJzGpnHFNg1GNhB4EJT9kIx6+lwzH7R4mOCf5HQF1SW+A 1fNPedfBItXEHw7jumYvoyJhe3eK6Ckln0sJpFqY= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4Rslgv712pz1y0k; Fri, 22 Sep 2023 21:26:19 +0000 (UTC) Received: from sappc2 (port-92-194-71-92.dynamic.as20676.net [92.194.71.92]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4Rslgj1pdhz9s3s; Fri, 22 Sep 2023 21:26:06 +0000 (UTC) From: Jens Schmidt References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> Date: Fri, 22 Sep 2023 23:26:05 +0200 In-Reply-To: (Stefan Monnier's message of "Fri, 22 Sep 2023 10:59:21 -0400") Message-ID: <87y1gx528i.fsf@sappc2.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate: clean X-purgate-size: 809 X-purgate-ID: 155817::1695417975-41FFC816-2E3659CC/0/0 X-Spam-Score: -0.7 (/) 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.7 (-) Stefan Monnier writes: > I'm in favor of requiring *something* after the declarations. > So yes, the first case above is a bug and should be fixed, but rather > than return > > (("Allows interactive calls." (interactive "^P")) > nil) > > I think it should return something like > > (("Allows interactive calls." (interactive "^P")) > ,(macroexp-warn-and-return "Missing body" ...)) > > > -- Stefan I managed to cobble up something like that, but are you really sure you want to warn about an empty/missing body? I have a number of arguments against that, the main being that `cl-defgeneric' is processed through `macroexp-parse-body' exactly like `defun' - and for `cl-defgeneric' an empty body seems to be the rule and not the exception. From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 21:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jens Schmidt Cc: Eli Zaretskii , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169541879821106 (code B ref 66136); Fri, 22 Sep 2023 21:40:01 +0000 Received: (at 66136) by debbugs.gnu.org; 22 Sep 2023 21:39:58 +0000 Received: from localhost ([127.0.0.1]:37364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjnsU-0005UM-2v for submit@debbugs.gnu.org; Fri, 22 Sep 2023 17:39:58 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:35702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjnsR-0005U7-4n for 66136@debbugs.gnu.org; Fri, 22 Sep 2023 17:39:56 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6EBC3442B44; Fri, 22 Sep 2023 17:39:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695418776; bh=CVA6sHSQyhwIklvmFbY3UyGrfyRZy/Eh0IR6Ca0s1P4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=dkiXIVftDSnAcd4quWk7laVNbgfLZgYuHiXhj81dopMmgInsyFbN+ZZEOyW+9j6Sr 1wJf0Q3Ryg5zVLkjUbvV/3y0unCPpe6IPGlsw3SN9xdledFyWMALELpshykj2thzwH 21NMBpXs9H47OBaEb0jt2Ju8Uz37cdaCVpPFf5bP8/CrcugPIaKyC1GxMab1lHjy+u nlXs4Bg7t2WXzytKQDY+/cWK7RuQ/y7V63zXgiqTOces4TGvSHE5xrLXm90EMz16Ny srUrhqN/fyG3fLClUyERxsI/J6HgwYsEVfSJybj+8MJq6Hb4INOIsVtsCVNCITIcot 26d+CqmGg3E+A== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C5D29442B43; Fri, 22 Sep 2023 17:39:36 -0400 (EDT) Received: from pastel (69-165-140-3.dsl.teksavvy.com [69.165.140.3]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 928FB1202E2; Fri, 22 Sep 2023 17:39:36 -0400 (EDT) From: Stefan Monnier In-Reply-To: <87y1gx528i.fsf@sappc2.fritz.box> (Jens Schmidt's message of "Fri, 22 Sep 2023 23:26:05 +0200") Message-ID: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> Date: Fri, 22 Sep 2023 17:39:35 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.097 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) 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: -3.3 (---) > I managed to cobble up something like that, but are you really sure you > want to warn about an empty/missing body? I have a number of arguments > against that, the main being that `cl-defgeneric' is processed through > `macroexp-parse-body' exactly like `defun' - and for `cl-defgeneric' an > empty body seems to be the rule and not the exception. Hmm... for `cl-defgeneric`, indeed, an empty body is normal (it doesn't mean "return nil" but it means the absence of a default method). Very good point. I know Mattias played with this part of the code (mostly to try and figure what to do about the ordering of the various possible kinds of declarations, which is a related yet different issue). Maybe he has a more informed opinion. Stefan From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169542251427264 (code B ref 66136); Fri, 22 Sep 2023 22:42:02 +0000 Received: (at 66136) by debbugs.gnu.org; 22 Sep 2023 22:41:54 +0000 Received: from localhost ([127.0.0.1]:37465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjoqP-00075f-Tn for submit@debbugs.gnu.org; Fri, 22 Sep 2023 18:41:54 -0400 Received: from mr4.vodafonemail.de ([145.253.228.164]:57876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjoqK-00075L-MN for 66136@debbugs.gnu.org; Fri, 22 Sep 2023 18:41:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1695422492; bh=TN9sTQSoa3pTeGxBgVw0RNc06cgDeokpKM0nauBMto8=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=eglHRQmL8yj46PX2YyfcnkLVMRJnHIZVmLoyt0B532acK1ns8tdiQ163rT2qnFyJ1 Da7HQFMzGx7gH1Q5QLJIHiuOdOJxGSVjZbqwvt/u0ZtzYMDYSEXkCLNzVtLbrPrkfm KYXpv3Nt28tAvhqoX7KZjHbcunxWCZJYHIEbFgTo= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4RsnLg6vBJz1xwt; Fri, 22 Sep 2023 22:41:31 +0000 (UTC) Received: from sappc2 (port-92-194-71-92.dynamic.as20676.net [92.194.71.92]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4RsnLQ1rqqz9s4j; Fri, 22 Sep 2023 22:41:15 +0000 (UTC) From: Jens Schmidt References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> Date: Sat, 23 Sep 2023 00:41:14 +0200 In-Reply-To: (Stefan Monnier's message of "Fri, 22 Sep 2023 17:39:35 -0400") Message-ID: <87v8c14yr9.fsf@sappc2.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate: clean X-purgate-size: 1121 X-purgate-ID: 155817::1695422487-367F9E22-41C55D07/0/0 X-Spam-Score: -0.7 (/) 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.7 (-) Stefan Monnier writes: > I know Mattias played with this part of the code (mostly to try and > figure what to do about the ordering of the various possible kinds of > declarations, which is a related yet different issue). Maybe he has > a more informed opinion. One more data point for opinion building: When byte-compiling a completely empty function (no declarations, no body forms): ------------------------- snip ------------------------- (let ((lexical-binding t)) (byte-compile '(defun foo (arg)))) ------------------------- snip ------------------------- some upper layer already seems to replace the empty body by a sole nil, which is then kept by function `macroexp-parse-body': -------------------- *trace-output -------------------- 1 -> (macroexp-parse-body (nil)) 1 <- macroexp-parse-body: (nil nil) -------------------- *trace-output -------------------- So probably we should mimic that in `macroexp-parse-body' if there are declarations, but no body forms? Or change that upper layer to also add a sole nil in the declarations-only case? From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 10:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Eli Zaretskii , Jens Schmidt , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169546603326643 (code B ref 66136); Sat, 23 Sep 2023 10:48:02 +0000 Received: (at 66136) by debbugs.gnu.org; 23 Sep 2023 10:47:13 +0000 Received: from localhost ([127.0.0.1]:37848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk0AL-0006vf-Di for submit@debbugs.gnu.org; Sat, 23 Sep 2023 06:47:13 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:61706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk0AH-0006vR-7C for 66136@debbugs.gnu.org; Sat, 23 Sep 2023 06:47:12 -0400 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-5031426b626so5403368e87.3 for <66136@debbugs.gnu.org>; Sat, 23 Sep 2023 03:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695466012; x=1696070812; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:sender:from:to:cc:subject:date:message-id:reply-to; bh=YYTzlA+atGMGH0QRbg9lBiW+vgfkv3/wVfYnau8M62I=; b=fDcIs2JufQlmcOa1K+mPIFESjvdlW9TMJAqb82/4CU2KyJdGZs3vinkqf0X2LNHB/+ 2dIZf2Y3Ft+PU1QYvxkDImci1TiEx8FvduTBrHMGFilaOzmxtJf+w1BEWM8lOzy+Hvgj cXcbZbXGhc75dzlpuvl9pmWaOJG0XiVY9YhciopLOliYOD+1AtnHzHJZNJ+3UolepJ9Y +ia6+q/daks9Q6S3k/hUH71mU6MfCrWJbjkY8hyZQG/wje5JfUi/WzN8l91NP23z1YDs Dvg+gK0msAyWHDfQDn+5MHxGc5fkxAxVnE+C34icGQ4vU1rJirBKnwp/q8Y+EIYANYVn xahQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695466012; x=1696070812; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YYTzlA+atGMGH0QRbg9lBiW+vgfkv3/wVfYnau8M62I=; b=Z2ZTwe1BD2ROKptjD2Xnm5XJe5yI0PBtA/nc2M4HoGdofARvYuTNBZKKB90XZWPwmn o9g4PQQS4rzWScPQpXYRLJJCjG8Z2M+rzO9N+znsUYAuwKgcvl2Djjcv2kvsnTWvdgxy a1gLSy1dGUItrT+PBiTmWEFpdynaABwFSF7lllTCrGfRIaY967122+tYU2bf/t/V57+P /WSZ/ozHaLb6Zc6OQ6YqdHu2bKleOWYNxqKqRybXvh+DzpZmkhnKxeQJpYrAUN6MqWfF PsMwizIcYMiiJTGBuOhrAkEcvb0F+ous2pa7NdZutaV9phwFuIXjsu+wkvMdoHE4cmk1 dOYw== X-Gm-Message-State: AOJu0YywPovU4nNdx2rg8RGSXlm/3U+/WJCRtjAh6MMV6ejAWPOTZzFA ZOXeVFia5VJdRkU2ZxDmNyc= X-Google-Smtp-Source: AGHT+IFsOtDLJjgWVM3EIiWu/AblDmmiv4mrjxGxcsF24Vl27bLNNlEPZJC9w6qaX8+HBayGdpdcUg== X-Received: by 2002:a05:6512:12cb:b0:503:3644:4a99 with SMTP id p11-20020a05651212cb00b0050336444a99mr2044602lfg.51.1695466011640; Sat, 23 Sep 2023 03:46:51 -0700 (PDT) Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id u14-20020ac2518e000000b004fe0fead9e2sm1053396lfi.165.2023.09.23.03.46.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Sep 2023 03:46:51 -0700 (PDT) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Message-Id: <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> Content-Type: multipart/mixed; boundary="Apple-Mail=_C4FA516E-71ED-4564-B7E5-528FDC3707C1" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Date: Sat, 23 Sep 2023 12:46:50 +0200 In-Reply-To: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) 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 (-) --Apple-Mail=_C4FA516E-71ED-4564-B7E5-528FDC3707C1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 22 sep. 2023 kl. 23.39 skrev Stefan Monnier : > I know Mattias played with this part of the code (mostly to try and > figure what to do about the ordering of the various possible kinds of > declarations, which is a related yet different issue). Maybe he has > a more informed opinion. Can't lay much claim to that I'm afraid. In this case I'd just have = macroexp-parse-body return an empty body and be done with it. Suggested = patch attached. Our triptych of meta-forms in function bodies (documentation, declare, = interactive) is still not handled in a very principled or robust way. We = keep parsing and re-parsing them in several places. I'm tempted to = replace lambda with an intermediate form where these things are already = parsed, early in the front-end (maybe even macroexpand-all). There are all sorts of little annoyances, such as: - if nothing comes after a (literal) doc string, the doc string also = becomes the function body - `declare` is only allowed in named definitions because it is = macro-expanded very early, so we have no way of annotating lambda = expressions - not sure :documentation is handled correctly everywhere since it's a = late addition - that 'misplaced interactive spec' warning shouldn't be emitted from = the Lisp optimiser at all but fully handled in the front-end like all = syntax errors --Apple-Mail=_C4FA516E-71ED-4564-B7E5-528FDC3707C1 Content-Disposition: attachment; filename=macroexp-parse-body.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="macroexp-parse-body.diff" Content-Transfer-Encoding: 7bit diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el index f96e0d74026..3bf0222c40d 100644 --- a/lisp/emacs-lisp/macroexp.el +++ b/lisp/emacs-lisp/macroexp.el @@ -525,12 +525,15 @@ macroexpand--all-toplevel (defun macroexp-parse-body (body) "Parse a function BODY into (DECLARATIONS . EXPS)." (let ((decls ())) - (while (and (cdr body) + (while (and body (let ((e (car body))) (or (stringp e) (memq (car-safe e) '(:documentation declare interactive cl-declare))))) (push (pop body) decls)) + (when (and (null body) (stringp (car decls))) + ;; No body but a literal doc string: move it back to the body. + (push (pop decls) body)) (cons (nreverse decls) body))) (defun macroexp-progn (exps) --Apple-Mail=_C4FA516E-71ED-4564-B7E5-528FDC3707C1-- From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 16:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , Jens Schmidt , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169548530220716 (code B ref 66136); Sat, 23 Sep 2023 16:09:01 +0000 Received: (at 66136) by debbugs.gnu.org; 23 Sep 2023 16:08:22 +0000 Received: from localhost ([127.0.0.1]:40509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk5B8-0005O3-Bg for submit@debbugs.gnu.org; Sat, 23 Sep 2023 12:08:22 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:11149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk5B6-0005Nk-Nc for 66136@debbugs.gnu.org; Sat, 23 Sep 2023 12:08:21 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 157E3100084; Sat, 23 Sep 2023 12:08:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695485283; bh=U3z91kYQFLMzRMX33rGmcHtdDrwns9e9IztudhsOBrM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SZ8IeT7fUYCKGdTwMsZhEaEY3Ii6atEt81+0GrDQM/sqUnquOfb6RBeP0RzghECgK 0u3aZqOl8RE+a2Z1pM4li2sXM6zZs/0i1k2Ayju8Q+HFDri3ciEBbXp+SGGNOS2CeQ FL7vc3Ngv40HkXeqiArp79//t71Mh3BA2YFIiOS0DOXmEeresMEY+oWQqz6ND+dEne ZhXqphU6jgyMsjsDmJGGZgeShJq4mQuXHBE8US5wu237b81458GsM7ocsN8aPKujAD 5N3nef/TlIONggFWplE6Wg/2XiUm+JrDaRVn8HV/LPioZa+z/XM8QZHuPuFj44Pf29 Yp90DN+UbCxXA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0DD57100046; Sat, 23 Sep 2023 12:08:03 -0400 (EDT) Received: from pastel (69-165-140-3.dsl.teksavvy.com [69.165.140.3]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D056112040D; Sat, 23 Sep 2023 12:08:02 -0400 (EDT) From: Stefan Monnier In-Reply-To: <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Sat, 23 Sep 2023 12:46:50 +0200") Message-ID: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> Date: Sat, 23 Sep 2023 12:08:02 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.100 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) 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: -3.3 (---) > - `declare` is only allowed in named definitions because it is > macro-expanded very early, so we have no way of annotating lambda > expressions It's not because of timing, it's because these `declare` all store their info on the symbol (and some of them even fundamentally really apply to the name and wouldn't make sense when applied to an anonymous function, e.g. obsolescence). Stefan From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 16:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Eli Zaretskii , Jens Schmidt , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169548742924024 (code B ref 66136); Sat, 23 Sep 2023 16:44:01 +0000 Received: (at 66136) by debbugs.gnu.org; 23 Sep 2023 16:43:49 +0000 Received: from localhost ([127.0.0.1]:40545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk5jR-0006FQ-1f for submit@debbugs.gnu.org; Sat, 23 Sep 2023 12:43:49 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:62777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk5jL-0006F8-Fe for 66136@debbugs.gnu.org; Sat, 23 Sep 2023 12:43:47 -0400 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-504427aae4fso2290895e87.1 for <66136@debbugs.gnu.org>; Sat, 23 Sep 2023 09:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695487406; x=1696092206; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=ZfLoc1eHHZ/t+58kOg2RKSbTPrJhqMnhnCSDWiGt9Kw=; b=XBjr285Ye4NQvHOvyTGNY5w2NMRmaaDBh+tlODSvvEaurzkMMCpkjws0yORhCEO4qc 51XKD1O5V2/sXjOeArZtPIgD3hIvM/uipUOwHDJAQNzaHbr5EX4sUPDpcc7Wm7PWB2b/ gS7V8S4mtcpyQKaJmv27y1BuswgCSWz4cjxUWId1D2zJAixH6ZPfpJd/4cC+T17WLAqn Lgryd96ZZHCrTCIRkacBPOK3/O7doBetOmpOfFiCvcRUx5mBlQ5P506Hgju84KnlAEgd b3PIagNNMcLmkUieDnPYJ+uMlK0ZOkzt7AF7k99ErmOjFBr0NN3jcIZm+eLi9vc8SnsN yT9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695487406; x=1696092206; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZfLoc1eHHZ/t+58kOg2RKSbTPrJhqMnhnCSDWiGt9Kw=; b=MHrjjs2csbgiKqptazPyQIjAt9euTNvcVqVFuzKxBURGGXTQwDZbVbXpcCQdBzV/VQ uQx8A5J2M2x6XaPWT6T4hAIJxN3NC1zSL7ibcq7b1awp0IkdNc1wltKd4Sc4iEyv2ER7 cZJ7EC1WreuVL/UqF8mvstAyeIdsmpc0rftz9S+1c077QeDM8cZaV59dDpuMesBhwbF/ odBqjl4rpUpLlBOIzWpVIW6vUmfGkVVoDydShteNSEhesW8+jaITbeUIRCKNwGRZn4JI z6HDhwKuW61ADve21fbjHSIH+nTjrYjEU4z3cA/BJFN6iCGdqDEIkXX3zXmdpR8BBozI uMUQ== X-Gm-Message-State: AOJu0Yy78t/9HqHa/aq2CUdi1CFAVxBjOd4H8WIOhGhNH+qnOEM9NqQc 9cOqVSXb1Jt7jmCiUGgm4SQ= X-Google-Smtp-Source: AGHT+IHRgTkmSXGChl8bGbOsyUjisqZZPMpFql/BsMAsnOoUaBxzqY+rdTLDx89pgKOKWAUcKl/RAw== X-Received: by 2002:a05:6512:3e10:b0:503:962:b6cf with SMTP id i16-20020a0565123e1000b005030962b6cfmr1308880lfv.9.1695487405794; Sat, 23 Sep 2023 09:43:25 -0700 (PDT) Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id s6-20020a19ad46000000b004fe15a2f0f6sm1132750lfd.62.2023.09.23.09.43.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Sep 2023 09:43:25 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: Date: Sat, 23 Sep 2023 18:43:24 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <1CFB5416-3304-4990-944E-8A514F665592@gmail.com> References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) 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 (-) 23 sep. 2023 kl. 18.08 skrev Stefan Monnier : >=20 >> - `declare` is only allowed in named definitions because it is >> macro-expanded very early, so we have no way of annotating lambda >> expressions >=20 > It's not because of timing, it's because these `declare` all store = their > info on the symbol (and some of them even fundamentally really apply = to > the name and wouldn't make sense when applied to an anonymous = function, > e.g. obsolescence). That is true, but some of the declarations might be useful for lambda = expressions as well, and more to the point, we don't have any other way = to annotate functions in general, only function symbols. Arguably we = should invent new syntax for whatever we need, but it would be one more = thing to parse. From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 19:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , Jens Schmidt , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.16954957287182 (code B ref 66136); Sat, 23 Sep 2023 19:03:02 +0000 Received: (at 66136) by debbugs.gnu.org; 23 Sep 2023 19:02:08 +0000 Received: from localhost ([127.0.0.1]:40628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk7tI-0001rm-GM for submit@debbugs.gnu.org; Sat, 23 Sep 2023 15:02:08 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:8470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk7tE-0001r8-JW for 66136@debbugs.gnu.org; Sat, 23 Sep 2023 15:02:06 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 90B1F804AD; Sat, 23 Sep 2023 15:01:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695495706; bh=nWAistE76vs8OOhiznKrmWMroX+8nn80g3G0dCC7mX4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=nabreWH22R0JKsPvKOcxvU+FpwcWZjcjyjCYkb8LqyMvgbFuaZRFL9I3IDkJpKEPC Fx8Rrul5mQE6R8p1guaRxFceb0bX5Nu4IBTGcs/zi4rxBvAhLYm0XnsEVkWhizqxIk JVEWkFPQNl6Z0mtE5uKkIcxtL4d7ch4BtwfLcdoZTM5mMTb0f9ioxHnnqxRdfY/J/5 KGXnN/QaDj0zAKRdCrj2DcdWXkEb416A2lZO/D2HOFY0KtU0a4XL/e+DleLbWJZtt2 jQkbmrq5RBoug/sir5job9QhheTf++ZrXekdgGmxhFu2FGLMwejaffFXWEdFsNIpOv p5AmgPEWdIpbQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5C512804F5; Sat, 23 Sep 2023 15:01:46 -0400 (EDT) Received: from pastel (69-165-140-3.dsl.teksavvy.com [69.165.140.3]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2A0121201AF; Sat, 23 Sep 2023 15:01:46 -0400 (EDT) From: Stefan Monnier In-Reply-To: <1CFB5416-3304-4990-944E-8A514F665592@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Sat, 23 Sep 2023 18:43:24 +0200") Message-ID: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> <1CFB5416-3304-4990-944E-8A514F665592@gmail.com> Date: Sat, 23 Sep 2023 15:01:44 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.027 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) 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: -3.3 (---) > That is true, but some of the declarations might be useful for lambda > expressions as well, and more to the point, we don't have any other way to > annotate functions in general, only function symbols. FWIW, `set-advertised-calling-convention` stores the info with the actual function (in an `eq` has-table) rather than as symbol property. > Arguably we should invent new syntax for whatever we need, but it > would be one more thing to parse. I seem to remember trying to share `declare` for both (i.e. leave the entries not handled by `defmacro/defun` in the `lambda`), but I think I didn't spend very much time on this for lack of a good use-case. Stefan From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 19:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , Stefan Monnier , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.16954968259032 (code B ref 66136); Sat, 23 Sep 2023 19:21:01 +0000 Received: (at 66136) by debbugs.gnu.org; 23 Sep 2023 19:20:25 +0000 Received: from localhost ([127.0.0.1]:40656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk8Az-0002Lc-HH for submit@debbugs.gnu.org; Sat, 23 Sep 2023 15:20:25 -0400 Received: from mr6.vodafonemail.de ([145.253.228.166]:34624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qk8Ax-0002LK-4B for 66136@debbugs.gnu.org; Sat, 23 Sep 2023 15:20:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1695496805; bh=6Xena973146mMHDsJC4nU6rR49twvrs3Oekx3AkC3Ew=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=gefHwQGBXH2EVdv4b28/RU0fJ/lBtsnt5RxppBgi6JCIkS3E2xGWzDBGvZwu1457c iL0ZldCHpHAKx7LqD8ZB9q9uB1brw2iUL7tuZNY0xBiJfDvrQMy1IvVAGhBUbU8RsA VR1Vy5isjdhDiJreyq+4ONb0FGuEziekYwORaRnY= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4RtJqn5vw0z1xxl; Sat, 23 Sep 2023 19:20:05 +0000 (UTC) Received: from sappc2 (p54a6dd87.dip0.t-ipconnect.de [84.166.221.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4RtJqX1LNQzHnHf; Sat, 23 Sep 2023 19:19:49 +0000 (UTC) From: Jens Schmidt References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> Date: Sat, 23 Sep 2023 21:19:48 +0200 In-Reply-To: <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Sat, 23 Sep 2023 12:46:50 +0200") Message-ID: <87pm28pui3.fsf@sappc2.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 1033 X-purgate-ID: 155817::1695496801-5F7FB94E-CA8060D8/0/0 X-Spam-Score: -0.7 (/) 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.7 (-) Mattias Engdeg=C3=A5rd writes: > Our triptych of meta-forms in function bodies (documentation, > declare, interactive) is still not handled in a very principled > or robust way. Just curious since `macroexp-parse-body' also takes care about it: Where is `cl-declare' in this picture? Is it relevant at all? I'm asking since ------------------------- snip ------------------------- (byte-compile '(defun foo () (cl-declare) (interactive))) ------------------------- snip ------------------------- gives the same "misplaced interactive spec" warning, but for a different reason: The `cl-declare' gets replaced by nil somewhere before `m-p-b' gets called, so `m-p-b' sees and returns: -------------------- *trace-output* -------------------- 1 -> (macroexp-parse-body (nil (interactive))) 1 <- macroexp-parse-body: (nil nil (interactive)) -------------------- *trace-output* -------------------- > [...] Suggested patch attached. Thanks, will give it a try. From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 22:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jens Schmidt Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169550833630444 (code B ref 66136); Sat, 23 Sep 2023 22:33:01 +0000 Received: (at 66136) by debbugs.gnu.org; 23 Sep 2023 22:32:16 +0000 Received: from localhost ([127.0.0.1]:40724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkBAd-0007ux-Oe for submit@debbugs.gnu.org; Sat, 23 Sep 2023 18:32:16 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkBAb-0007uk-PG for 66136@debbugs.gnu.org; Sat, 23 Sep 2023 18:32:14 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EE5D1100084; Sat, 23 Sep 2023 18:31:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695508311; bh=TLNqjYZ1I3LIfcMIvsW3cfF5BecPFTcOIgHCW3gBG/8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=G21x1214Q11WvUErJwAemxEMHxOUYwY8jC5TSil9dWv+EYoJEvVQwBUrJcwEh+cj/ 3KfxvANSYmEKYEvqlsCjd/X78a/j4JIoL8artuPJKzogKuaHFkM2SsGbq5LPGY19Mp MlGX3bJUB5rwiJ3rWWfbOiES/TciDIskZ2DMYeHowX5qZXghqzjtlryjej5K6ejPi3 XM/BZ4L82wyf9v64/KACtD2EiS+qNgzC28tBmCg8gVMDcdna0L3JQcXVQXrYeWp0lz D6fzB50T7EpzAceLlXxEO7ozgFukEtu/fvJCX+3lo8CB/6+J6+STt2ZpR4XF8yVAIh iobxngu6LY2bg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A0AE1100046; Sat, 23 Sep 2023 18:31:51 -0400 (EDT) Received: from pastel (65-110-213-207.cpe.pppoe.ca [65.110.213.207]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6C1C8120384; Sat, 23 Sep 2023 18:31:51 -0400 (EDT) From: Stefan Monnier In-Reply-To: <87pm28pui3.fsf@sappc2.fritz.box> (Jens Schmidt's message of "Sat, 23 Sep 2023 21:19:48 +0200") Message-ID: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> <87pm28pui3.fsf@sappc2.fritz.box> Date: Sat, 23 Sep 2023 18:31:50 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.431 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain KAM_ASCII_DIVIDERS 0.8 Email that uses ascii formatting dividers and possible spam tricks X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) 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: -3.3 (---) >> Our triptych of meta-forms in function bodies (documentation, >> declare, interactive) is still not handled in a very principled >> or robust way. > Just curious since `macroexp-parse-body' also takes care about it: Where > is `cl-declare' in this picture? I don't think anybody treats it with much respect and it comes with a fair share of caveats. Personally I keep a safe distance from it :-) > ------------------------- snip ------------------------- > (byte-compile > '(defun foo () > (cl-declare) > (interactive))) > ------------------------- snip ------------------------- I think you *have* to place it after the `interactive` if you want it to work. Stefan From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2023 10:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Eli Zaretskii , Jens Schmidt , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169555216910794 (code B ref 66136); Sun, 24 Sep 2023 10:43:02 +0000 Received: (at 66136) by debbugs.gnu.org; 24 Sep 2023 10:42:49 +0000 Received: from localhost ([127.0.0.1]:41145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkMZc-0002o2-Qw for submit@debbugs.gnu.org; Sun, 24 Sep 2023 06:42:49 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:47553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkMZZ-0002nm-C1 for 66136@debbugs.gnu.org; Sun, 24 Sep 2023 06:42:47 -0400 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50308217223so7186675e87.3 for <66136@debbugs.gnu.org>; Sun, 24 Sep 2023 03:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695552148; x=1696156948; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=BJFoGQVxvz63og4jaLUcKbPVkKkZU01i9vcrQMuCRj4=; b=dclAdsTw7sQ8nDNEzKwNsquwIbf3WPiWAHJ3us47iraae4P6dUQaoEtXVlBzz2IjFM kre2YBhIUrhPHqqCB7Jk/c20qWzVUJcBHJ8fCdKm45tAkIl3TovDKancWxaqWY54ooo0 vrvSkAYrgwOp/JluPjUAcFHtYXYqM1jwY2Z3OvMGmd+EokS1rUucTGjMr2Nhzzaxt77k 3eBKA4Fs9V9sEXIXkmFP0lviwcyXXPE0nXOCR6z2gm7v0rQLGAFQP0ZBl205jVAUSmU9 kFInODNvp4BIOGnKHUTjcldgoqT5gM+qVyNCiX90D9e/0dIN6dliIBk4bzM/veuLyucU olbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695552148; x=1696156948; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BJFoGQVxvz63og4jaLUcKbPVkKkZU01i9vcrQMuCRj4=; b=ZHHt0aeUv0Egr4lJdPzZYtt39R5/0+qqLWL1NaW/CPMyubPDZkDLAXKGjBs2r+teo9 qYdA/iy35rwdm34KezzFxNZOy9fa8nrrdw93brypzR7QDy9SIE4MaiEjsy6THSirFVyl ymdC/Rdpj+BHQbHn4gu6TUMUcqA60CpiYi0WRsqpUx5+kPpHfOZgguglxYa+flQ2TNFT i6oK6gOa5p8zvDwHaBLmEX7yuJXrt3EO7B2VLia2g8ZJ62IagP/kkdOAdvy6oNXmnO// 6ijmGydEBNoZTDBZiPKDNF8e3nWdYazndSAQmUZo6glPcfWj6t8PQZRfkxSi0iPWyYlI syiw== X-Gm-Message-State: AOJu0YzFXW84EExdrscoooimoDpijVVSPhw35fmyBnDiwcqIPZKv/P/c VH1eWbvUyGkNANC4QBk6pGY= X-Google-Smtp-Source: AGHT+IEdjwrjVRqPiFgLoYpKj6Ny+7NpA6iMibsyPLcEq6ESkO1jnyew7mYavAW/sA8OqD0y5EK47A== X-Received: by 2002:a05:6512:b9a:b0:500:b53f:fbc2 with SMTP id b26-20020a0565120b9a00b00500b53ffbc2mr4249879lfv.26.1695552147488; Sun, 24 Sep 2023 03:42:27 -0700 (PDT) Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id o28-20020a056512051c00b00502d7365e8fsm1403842lfb.137.2023.09.24.03.42.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Sep 2023 03:42:27 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: Date: Sun, 24 Sep 2023 12:42:26 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> <1CFB5416-3304-4990-944E-8A514F665592@gmail.com> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) 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 (-) 23 sep. 2023 kl. 21.01 skrev Stefan Monnier : > `set-advertised-calling-convention` stores the info with the > actual function (in an `eq` has-table) rather than as symbol property. Ah yes. You wouldn't remember the reason for it, would you? From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2023 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , Jens Schmidt , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169557016619507 (code B ref 66136); Sun, 24 Sep 2023 15:43:02 +0000 Received: (at 66136) by debbugs.gnu.org; 24 Sep 2023 15:42:46 +0000 Received: from localhost ([127.0.0.1]:43466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkRFt-00054Z-Me for submit@debbugs.gnu.org; Sun, 24 Sep 2023 11:42:45 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:41393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkRFq-00054L-Ga for 66136@debbugs.gnu.org; Sun, 24 Sep 2023 11:42:45 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C5F0A440C73; Sun, 24 Sep 2023 11:42:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1695570143; bh=12YNwRG6E/lnbI2mHulkIllgl3obsQvMBJt3jUKZpGQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=o79is4aNZBgwoPU/leBEl82xW6giTp+9JZwctTUNgU5Lyqe4nfGj9oEzyWJ5zb/sg 6AQERpBi9jolexsrW1jb8FbyQV0lz78QFLRZ4pmGYGZvz2U9tRnRYkbHFyqlrumFeU I97hSfA3ErojjsOo5vcmIJYyMdh0HwzEjZa13BGFI/10JaGb6mh68HmIqx9TJIluwh a/UVIlxdYBagTxlMjRcWEuLE1gKv8a4lgYEYHldguBYtT/6uLzu7M61NEd/x1ppBUk FQJ15IWllenF60ulPiM9L7oiDilJSn6+aLGWD5r+3FR6Ddpj+LM4ibhKdu8eaC+s9N pBTBRt4Zre5vg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 7D4EE440B9B; Sun, 24 Sep 2023 11:42:23 -0400 (EDT) Received: from pastel (unknown [108.175.235.15]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4BE081201E3; Sun, 24 Sep 2023 11:42:23 -0400 (EDT) From: Stefan Monnier In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Sun, 24 Sep 2023 12:42:26 +0200") Message-ID: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> <1CFB5416-3304-4990-944E-8A514F665592@gmail.com> Date: Sun, 24 Sep 2023 11:42:22 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.074 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) 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: -3.3 (---) >> `set-advertised-calling-convention` stores the info with the >> actual function (in an `eq` has-table) rather than as symbol property. > Ah yes. You wouldn't remember the reason for it, would you? I do: it was a kind of experiment with the intention to move further in this direction for all those kinds of properties which fundamentally apply to the lambda rather than to the name to which it happens to be bound. What I don't know is why I didn't follow that same idea for other properties. Stefan From unknown Tue Aug 19 02:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Sep 2023 10:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , Stefan Monnier , 66136@debbugs.gnu.org Received: via spool by 66136-submit@debbugs.gnu.org id=B66136.169563749926749 (code B ref 66136); Mon, 25 Sep 2023 10:25:01 +0000 Received: (at 66136) by debbugs.gnu.org; 25 Sep 2023 10:24:59 +0000 Received: from localhost ([127.0.0.1]:44284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkilv-0006xN-KB for submit@debbugs.gnu.org; Mon, 25 Sep 2023 06:24:59 -0400 Received: from mr5.vodafonemail.de ([145.253.228.165]:37486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkilr-0006x6-PV for 66136@debbugs.gnu.org; Mon, 25 Sep 2023 06:24:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1695637477; bh=LAilbALB2N8vktV3ma/24fGnwENGxKF1s78s6fYUydc=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=VJLvVlaf7Ch8jDGtvQ7oUY+2joJ/8SlBYAAwNOBEcT7uHeUCYVW79cFN4GmuBQbfM KCyS1VujnnkVgueupyExSmiT2Sml2cmPkAXmpkubbF2C6MvcvbE/xrmv7PhuSyaeJo rHlKDGKuSiI3/uuyhlGVqw4IqfC6SzKuUSlD29KI= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4RvJs10dP0z1y8g; Mon, 25 Sep 2023 10:24:37 +0000 (UTC) Received: from sappc2 (port-92-194-72-119.dynamic.as20676.net [92.194.72.119]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4RvJrq0c0DzMm7Q; Mon, 25 Sep 2023 10:24:24 +0000 (UTC) From: Jens Schmidt References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> <87pm28pui3.fsf@sappc2.fritz.box> Date: Mon, 25 Sep 2023 12:24:23 +0200 In-Reply-To: <87pm28pui3.fsf@sappc2.fritz.box> (Jens Schmidt's message of "Sat, 23 Sep 2023 21:19:48 +0200") Message-ID: <87lecu3608.fsf@sappc2.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 247 X-purgate-ID: 155817::1695637476-93FFF228-D5F752FD/0/0 X-Spam-Score: -0.7 (/) 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.7 (-) Jens Schmidt writes: > Mattias Engdeg=C3=A5rd writes: >> [...] Suggested patch attached. > > Thanks, will give it a try. As expected, your patch fixes this issue. Thanks. From unknown Tue Aug 19 02:57:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Jens Schmidt" Subject: bug#66136: closed (Re: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment) Message-ID: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> X-Gnu-PR-Message: they-closed 66136 X-Gnu-PR-Package: emacs Reply-To: 66136@debbugs.gnu.org Date: Mon, 25 Sep 2023 13:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1695648242-3056-1" This is a multi-part message in MIME format... ------------=_1695648242-3056-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty= fct in lexical environment which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 66136@debbugs.gnu.org. --=20 66136: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66136 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1695648242-3056-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 66136-done) by debbugs.gnu.org; 25 Sep 2023 13:23:25 +0000 Received: from localhost ([127.0.0.1]:44568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qklYY-0000mM-MF for submit@debbugs.gnu.org; Mon, 25 Sep 2023 09:23:25 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:57680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qklYS-0000lo-OW for 66136-done@debbugs.gnu.org; Mon, 25 Sep 2023 09:23:21 -0400 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-50437f39c9dso7955713e87.3 for <66136-done@debbugs.gnu.org>; Mon, 25 Sep 2023 06:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695648178; x=1696252978; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=JRxhBe/oC0mhjfEpPXxMsDgYvTs9HWkjngUDpAVezFo=; b=GDQ1BFXRqmU33DoyTPztqSCJbXuS1zmvvyJWfgvbLB57791vXAlm6CpQyv56HUKgIC evntjibk0rgDYRUNfR40bPRGoshl1mijLgYjcjnUrX5nvBAhV4pNlujABuEnc9vuoRI+ hXxxTc2svMinIUSn+L5x5OEp3ohbz/HzY3p1lwAovXGAvo2sFg+mIauNlgtTl1ZUft9T HUTDgcSEtdIlksREku5hYDXVWxsjcw83bkGqoxn7GlG8C/ALig/6+pmdMoW3OE7g0fdu kE79LZJqlAO3KyKv1GGbmXB1LE7Z6zbw2C8OTShOqQJza2wRgBKVeAu1YcmZUV0IeDP5 LOUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695648178; x=1696252978; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JRxhBe/oC0mhjfEpPXxMsDgYvTs9HWkjngUDpAVezFo=; b=NzRD7VRlbEdv7ERQ5Ah+Y6aYk+XRKavoo9FFAbNCMCt1qh6NDo5U3AyTjQwfHKlNvi ncjxpS493qM98nYRDT33SgACjVKfVZhWdHwyxzQniapaF+o3mjSESKIWLX8pjiS6Pp/8 9uVUHUJX9OUHMc+rDdPgM879BTyEUV5f5zVI8294l/UAWSCzUCKh6QTuDvVFRPhp6sgj Btxc3fpgGsfRP73BZOEAWIw0nbcu6GF0AhQ+rfOGHbKPpqX0BCQ2X/+q+ThGBkybRcig BbKwQjZ151VLmKg7uW4zWUAy3S8KCf10hNZOndCgJ9tG4vA6L3hriBeSWQA0Px6/3Fzq E7Hg== X-Gm-Message-State: AOJu0YwMoCe4FkCMrkthNsUBWVkPMyAXY5mjIz4uujQmO3JMVVzoDl6a w6r0xbQ7cKcGnye1DqdsszI= X-Google-Smtp-Source: AGHT+IEsZsLPkqQJ1sVPHsAYvLQH0511usLMY7YTaMdaEFueENgnF8SZJ3Y89q3P99E/pmAc3ek4vw== X-Received: by 2002:a05:6512:104f:b0:500:b7dc:6c90 with SMTP id c15-20020a056512104f00b00500b7dc6c90mr6298240lfb.36.1695648177899; Mon, 25 Sep 2023 06:22:57 -0700 (PDT) Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id t6-20020a19ad06000000b0050304419b13sm1827405lfc.207.2023.09.25.06.22.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Sep 2023 06:22:57 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: bug#66136: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <87lecu3608.fsf@sappc2.fritz.box> Date: Mon, 25 Sep 2023 15:22:56 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> <87o7hvs2gf.fsf@sappc2.fritz.box> <87leczrysc.fsf@sappc2.fritz.box> <838r8y92aw.fsf@gnu.org> <87y1gx528i.fsf@sappc2.fritz.box> <56BBBAB8-6DBA-45F8-A319-C5EDE5B15CC2@gmail.com> <87pm28pui3.fsf@sappc2.fritz.box> <87lecu3608.fsf@sappc2.fritz.box> To: Jens Schmidt X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66136-done Cc: Eli Zaretskii , Stefan Monnier , 66136-done@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 (-) 25 sep. 2023 kl. 12.24 skrev Jens Schmidt : > As expected, your patch fixes this issue. Thank you, a slightly improved version is now on master. Closing. ------------=_1695648242-3056-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Sep 2023 13:11:07 +0000 Received: from localhost ([127.0.0.1]:32997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJSU-0004Oa-MG for submit@debbugs.gnu.org; Thu, 21 Sep 2023 09:11:07 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjJSP-0004NY-Ix for submit@debbugs.gnu.org; Thu, 21 Sep 2023 09:11:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjJRz-0004zX-J6 for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 09:10:37 -0400 Received: from mr6.vodafonemail.de ([145.253.228.166]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjJRv-0006kD-3f for bug-gnu-emacs@gnu.org; Thu, 21 Sep 2023 09:10:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1695293043; bh=y/Mb+NJ9D1lEJAcz+w2EsVxO595TIordycrrsH5xhKM=; h=From:To:Message-ID:Date:Subject:Content-type:From; b=jsMZCLMalxwV7lDPJCv7/70BCCrsLc+QekKNoD/RsxEV9YqumqUbFcAJDAJueWr+D mVwfYeYVLf0dVYqXDd2XFLGUyfD8aBhK5coJH44dJH9JbMsMJS7rUBr+lduJFnEij7 aEmvwVQ6nMlPwwjpFJJqG83CV1p54LT5jRdj+Eqk= Received: from mp103.fra-mediabeam.com (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4RrsTH5z8Bz1y2R for ; Thu, 21 Sep 2023 10:44:03 +0000 (UTC) Received: from mailbackend01 (unknown [10.0.0.2]) by mp103.fra-mediabeam.com (Postfix) with ESMTP id 4RrsTH5FWmz8t5m for ; Thu, 21 Sep 2023 10:44:03 +0000 (UTC) Received: from [193.16.224.36] by www.vodafonemail.de via HTTP; Thu, 21 Sep 2023 12:44:01 +0200 From: "Jens Schmidt" To: bug-gnu-emacs@gnu.org Message-ID: <58a3814205a241729c60ed277fa871b9@vodafonemail.de> Date: Thu, 21 Sep 2023 12:44:01 +0200 X-Priority: 3 Subject: 29.1; byte-compiler reports "misplaced interactive spec" with empty fct in lexical environment MIME-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 5995 X-purgate-ID: 155817::1695293043-924991CD-0A21657B/0/0 Received-SPF: pass client-ip=145.253.228.166; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr6.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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: -1.0 (-) Write the following to a file foo=2Eel: -------------------- foo=2Eel -------------------- ;;; -*- lexical-binding: t -*- (defun delete-process@emacs-fix (&rest patch-args) "Allows interactive calls=2E" (interactive (list (completing-read "Delete process: " (mapcar (lambda (process) (list (process-name process))) (process-list)))))) -------------------- foo=2Eel -------------------- (This is used to advise function `delete-process' in my =2Eemacs=2E) Then start Emacs as "emacs -Q" and M-x byte-compile-file ~/foo=2Eel RET For me this results in two warnings: -------------------- *Compile-Log* -------------------- Compiling file /home/jschmidt/foo=2Eel at Thu Sep 21 12:34:05 2023 Entering directory =E2=80=98/home/jschmidt/=E2=80=99 In delete-process@emacs-fix: foo=2Eel:5:4: Warning: misplaced interactive spec: =E2=80=98(interactiv= e (list (completing-read Delete process: (mapcar #'(lambda (process) (list (process-name process))) (process-list)))))=E2=80=99 foo=2Eel:3:40: Warning: Unused lexical argument `patch-args' -------------------- *Compile-Log* -------------------- I'm OK with the latter, but I think the former is incorrect=2E The former warning goes away if any of the following is done: - the "lexical-binding: t" is removed from the file - `patch-args' is renamed to `_patch-args' - an explicit nil body is added to the function In GNU Emacs 29=2E1 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1=2E16=2E0, Xaw3d scroll bars) of 2023-08-30, modified by Debi= an built on x86-csail-01 Windowing system distributor 'The X=2EOrg Foundation', version 11=2E0=2E= 12101008 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29=2E1/site= -lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29=2E1/site-lis= p:/usr/share/emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29=2E1/site= -lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29=2E1/site-lis= p:/usr/share/emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --with-x=3Dyes --with-x-toolkit=3Dlucid --with-toolkit-scroll-bars --without-gsettings 'CFLAGS=3D-g -O2 -ffile-prefix-map=3D/build/reproducible-path/emacs-29=2E1+1=3D=2E -fst= ack-protector-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS= 2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIF= Y INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_COLLATE: POSIX value of $LC_TIME: POSIX value of $LANG: en_US=2EUTF-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 show-paren-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found=2E Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc606= 8 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddef= s comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshado= w isearch easymenu timer select scroll-bar mouse jit-lock font-lock synta= x font-core term/tty-colors frame minibuffer nadvice seq simple cl-generi= c indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 76983 14037) (symbols 48 7141 0) (strings 32 20219 2411) (string-bytes 1 594205) (vectors 16 15313) (vector-slots 8 322958 19812) (floats 8 40 46) (intervals 56 304 0) (buffers 984 11)) ------------=_1695648242-3056-1--