From unknown Tue Jun 24 05:06:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#73254 <73254@debbugs.gnu.org> To: bug#73254 <73254@debbugs.gnu.org> Subject: Status: 30.0.91; ert-font-lock-deftest-file requires ert-x but does not load it Reply-To: bug#73254 <73254@debbugs.gnu.org> Date: Tue, 24 Jun 2025 12:06:13 +0000 retitle 73254 30.0.91; ert-font-lock-deftest-file requires ert-x but does n= ot load it reassign 73254 emacs submitter 73254 Morgan Willcock severity 73254 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 14 11:17:29 2024 Received: (at submit) by debbugs.gnu.org; 14 Sep 2024 15:17:29 +0000 Received: from localhost ([127.0.0.1]:47628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spUWe-0004nR-GX for submit@debbugs.gnu.org; Sat, 14 Sep 2024 11:17:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:41644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spUWa-0004nG-TJ for submit@debbugs.gnu.org; Sat, 14 Sep 2024 11:17:27 -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 1spUWP-0006lF-6x for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 11:17:13 -0400 Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spUWH-0001bZ-KP for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 11:17:11 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 02B59240002 for ; Sat, 14 Sep 2024 15:17:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1726327021; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=FYhbfk9AnfjXx7AvdJzBbFcsNm6OM5QpdFRw5HxWvC4=; b=RS8E6dEFWXMHsefxRjyCbF9/MbPU/1P+vBWn4a1w1/s+3OuTJB0bRgmmAhc2sXpYYYRvTB /7UTb673zMO+i0D7sSDs4FsM1u72A7qqowZEUMvJkOwczC1yJ/X/OWltO/Viv5t6FZnT4M cPFX9pu+NQRU+tf9RICqotb2DDOjSaNvU5J5PwO+zmRdkrpsIYWOO8EMfVPxKk3K7Kcxik 26348t9FAzUoKfA4+aEP84WSCUeDJJHU1fx7JPYnBM7jmxDtkuB/SWs4PmOO1uZyH1W1hM lMdPm6PbqAIMkGp0UCtm4h89BXwApppuJU1ivrzWl7cHlAvC8SahicMd9EE0sg== From: Morgan Willcock To: bug-gnu-emacs@gnu.org Subject: 30.0.91; ert-font-lock-deftest-file requires ert-x but does not load it X-Debbugs-Cc: Date: Sat, 14 Sep 2024 16:16:59 +0100 Message-ID: <87wmje8duc.fsf@ice9.digital> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: morgan@ice9.digital Received-SPF: pass client-ip=2001:4b98:dc4:8::221; envelope-from=morgan@ice9.digital; helo=relay1-d.mail.gandi.net 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) 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: -2.7 (--) When testing some features of ert-font-lock I found that the ert-font-lock-deftest-file macro expects ert-x to have been loaded. Here is an example for `emacs -Q`: (require 'ert) (require 'ert-font-lock) ;; This is the example from the documentation. (ert-font-lock-deftest-file test-macro-test--file "Test reading correct assertions from a file" javascript-mode "correct.js") (ert t) This gives the result: F test-macro-test--file Test reading correct assertions from a file (void-function ert-resource-file) I cannot see anything in the documentation that says to load ert-x and it seems strange that the macro would be defined to use it without loading it. In GNU Emacs 30.0.91 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2024-09-12 built on inspiron Windowing system distributor 'The X.Org Foundation', version 11.0.12101007 System Description: Debian GNU/Linux 12 (bookworm) Configured using: 'configure --with-native-compilation=aot --with-xml2 --with-x-toolkit=lucid' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: server-mode: t global-corfu-mode: t corfu-mode: t jabber-activity-mode: t etags-regen-mode: t which-key-mode: t global-devil-mode: t devil-mode: t erc-ring-mode: t erc-netsplit-mode: t erc-menu-mode: t erc-list-mode: t erc-irccontrols-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t erc-imenu-mode: t erc-pcomplete-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-spelling-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-autojoin-mode: t erc-networks-mode: t savehist-mode: t minibuffer-electric-default-mode: t minibuffer-depth-indicate-mode: t ido-everywhere: t recentf-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-hl-line-mode: t display-time-mode: t flyspell-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t view-mode: t Load-path shadows: /home/mwillcock/.emacs.d/custom/powershell.el/powershell hides /home/mwillcock/.emacs.d/custom/powershell /home/mwillcock/.emacs.d/elpa/which-key-3.6.1/which-key hides /usr/local/share/emacs/30.0.91/lisp/which-key /home/mwillcock/.emacs.d/elpa/modus-themes-4.5.0/theme-loaddefs hides /usr/local/share/emacs/30.0.91/lisp/theme-loaddefs Features: (shadow ecomplete emacsbug texinfo texinfo-loaddefs dired-aux pulse shortdoc ert-x help-fns radix-tree bug-reference view smerge-mode ert-font-lock make-mode wgrep find-dired ffap grep misearch multi-isearch vc-annotate checkdoc sort mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg qp gnus-ml disp-table mm-archive mule-util package-vc vc lisp-mnt url-cache url-http url-auth url-gw display-line-numbers finder-inf gnus-topic nndraft nnmh utf-7 cursor-sensor epa-file network-stream nsm nnfolder nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache server cal-iso autorevert face-remap init corfu sly sly-completion sly-buttons sly-messages sly-common apropos etags fileloop arc-mode archive-mode hyperspec powershell php-mode mode-local consult-imenu consult php-face php php-project jabber jabber-ourversion hippie-exp hexrgb fsm sgml-mode facemenu srv dns starttls tls goto-addr yaml-mode markdown-mode lua-mode advice edmacro kmacro etags-regen kixtart-docstrings cape kixtart-mode tempo org-msg let-alist color ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-attach htmlize gnus-msg gnus-icalendar icalendar gnus-dired gnus-cite which-key devil delight comp comp-cstr ags-mode speedbar ezimage dframe shadowfile eglot jsonrpc xref flymake diff ert ewoc debug backtrace warnings python project cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs erc-ring erc-netsplit erc-menu erc-list erc-goodies erc-imenu imenu erc-pcomplete erc-button erc-fill erc-stamp erc-sasl erc-sasl-ecdsa-nist256p-challenge erc-sasl-scram-sha-512 erc-sasl-scram-sha-256 erc-sasl-scram-sha-1 erc-sasl-external erc-sasl-plain sasl-scram-sha256 sasl-scram-rfc sasl-scram-sha-1 rfc2104 hex-util sasl sasl-anonymous sasl-login sasl-plain erc-spelling erc-track erc-match erc-join erc erc-backend erc-networks erc-common erc-compat compat erc-loaddefs ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util vc-git diff-mode track-changes vc-dispatcher org-indent oc-basic cl-extra ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 gnus-sum ol-docview doc-view filenotify jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi appt diary-lib diary-loaddefs org-capture ob-shell ob-plantuml ob-dot org-goto org-clock comp-run comp-common org-duration org-agenda org-element org-persist org-id org-element-ast inline avl-tree generator org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-version org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs thingatpt org-compat org-macs autoinsert compile bookmark savehist crm minibuf-eldef mb-depth ido tramp-cache time-stamp tramp-sh tramp rx trampver tramp-integration files-x tramp-message tramp-compat xdg format-spec tramp-loaddefs recentf tree-widget shell pcomplete comint ansi-osc ansi-color ring easy-mmode display-fill-column-indicator hl-line time gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader range cus-edit pp cus-load wid-edit dictionary external-completion dictionary-connection flyspell ispell shr pixel-fill kinsoku url-file svg xml dom modus-vivendi-theme modus-themes mm-view mml-smime smime gnutls dig smtpmail message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader epg-config help-mode dabbrev find-func cal-menu calendar cal-loaddefs desktop frameset pcase cape-autoloads consult-autoloads corfu-autoloads delight-autoloads do-at-point-autoloads fsm-autoloads htmlize-autoloads lua-mode-autoloads markdown-mode-autoloads modus-themes-autoloads package-lint-autoloads php-mode-autoloads rainbow-mode-autoloads renpy-mode-autoloads sly-autoloads totp-auth-autoloads base32-autoloads info vertico-autoloads wgrep-autoloads which-key-autoloads yaml-mode-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib 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 touch-screen 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-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic 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 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 2169516 335334) (symbols 48 55401 4) (strings 32 328878 16586) (string-bytes 1 8915868) (vectors 16 185749) (vector-slots 8 3018895 229298) (floats 8 942 4044) (intervals 56 161356 10553) (buffers 984 57)) From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 24 15:25:47 2024 Received: (at 73254) by debbugs.gnu.org; 24 Sep 2024 19:25:47 +0000 Received: from localhost ([127.0.0.1]:38277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stBAQ-0001t4-N9 for submit@debbugs.gnu.org; Tue, 24 Sep 2024 15:25:46 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:36379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stBAO-0001sg-Bv for 73254@debbugs.gnu.org; Tue, 24 Sep 2024 15:25:45 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0AD65240004 for <73254@debbugs.gnu.org>; Tue, 24 Sep 2024 19:24:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1727205893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=QbdPgSPkjSY3b9CTUgRbnnqsueDPJjEMe1arX9xWIko=; b=TCijOm5hThaoXWjeNcVHtPQHBnM0IWzAJ2CBaV/z1EMXmVl2LptrtEgqinKBT2d6nLusGF /z8reVgNl3TUTY8GK8Oe8H5hoS1Kgwl9qCAM6a+RipWn/WxvIhPXhLVz+aSs4Pi9A+gJLo T+/tYCciNUDHct+yjNroXvegePNjGfeCms68yl4X48uqOCIY0aomsEt2L1h9axe6EFMxfK FaK3aZcjmfomuuxV26LFfef2v92P0JTK+2hOGSTmp2TS0aY63YtPlIp9PMHfgdEUzHEDqf iN2PDwg42XJynI9tlXV8Gn+l0Glm0ThKCltc1J4GyVzvUtDzJ3vs+ngOBElJZg== From: Morgan Willcock To: 73254@debbugs.gnu.org Subject: [PATCH] Require ert-x for use by ert-font-lock-deftest-file Date: Tue, 24 Sep 2024 20:24:51 +0100 Message-ID: <87v7ykn9bw.fsf@ice9.digital> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-GND-Sasl: morgan@ice9.digital X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 73254 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 (-) --=-=-= Content-Type: text/plain I have attached a patch which adds the missing require for ert-x. Thanks, Morgan -- Morgan Willcock --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Require-ert-x-for-use-by-ert-font-lock-deftest-file.patch >From 154c13d5e4b6bc574f66130fe0e92eb333f66ea4 Mon Sep 17 00:00:00 2001 From: Morgan Willcock Date: Tue, 24 Sep 2024 20:19:08 +0100 Subject: [PATCH] Require ert-x for use by ert-font-lock-deftest-file This fixes a void-function error when ert-font-lock-deftest-file is called where ert-x has not already been loaded. * lisp/emacs-lisp/ert-font-lock.el (ert): Require ert-x so that 'ert-resource-file' is available for use within 'ert-font-lock-deftest-file'. --- lisp/emacs-lisp/ert-font-lock.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/ert-font-lock.el b/lisp/emacs-lisp/ert-font-lock.el index c6fd65e1507..58c6c0311cd 100644 --- a/lisp/emacs-lisp/ert-font-lock.el +++ b/lisp/emacs-lisp/ert-font-lock.el @@ -36,6 +36,7 @@ ;;; Code: (require 'ert) +(require 'ert-x) (require 'newcomment) (require 'pcase) -- 2.39.5 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 28 07:12:10 2024 Received: (at 73254-done) by debbugs.gnu.org; 28 Sep 2024 11:12:10 +0000 Received: from localhost ([127.0.0.1]:51999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suVMw-0005Kv-Bx for submit@debbugs.gnu.org; Sat, 28 Sep 2024 07:12:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suVMu-0005KZ-K8 for 73254-done@debbugs.gnu.org; Sat, 28 Sep 2024 07:12:09 -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 1suVMG-0004OK-Ir; Sat, 28 Sep 2024 07:11:32 -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=cYemktjSKphcW1MNPpUVSY6fRrYL39PW1YGaXojw+Vc=; b=m1VBzfQmhIYV G2hl11zHdEslKZNlBGzH0UO1B2U6UeDONPlkOQ+5UPBATGJEfH+yGi0AiuKuLJ+d9b/trlpQ1nuJW 2iZjStkntkCyaQoJTpIcGEQA4yH70XijodAcya/clLreYspKt5bq+XWqCEedapPqex9R16RGIqp8j kcGvbjJnaAs+f8+32nRyBInfXqxHzTJD8Z4yx7KS3bkJRkLQCPjrcLvVRtmjrSIGtrbEF9F3TsZMo sU4BjRWJDG7asdciP91iMpYE7EePHlQzypwGmezzA2ZZykc+RsoYnEOc7o3h9F4tepcZyqg8xa4UD tkge2PCmXe3GUQplxvLbTA==; Date: Sat, 28 Sep 2024 14:11:24 +0300 Message-Id: <86zfns58yr.fsf@gnu.org> From: Eli Zaretskii To: Morgan Willcock In-Reply-To: <87v7ykn9bw.fsf@ice9.digital> (message from Morgan Willcock on Tue, 24 Sep 2024 20:24:51 +0100) Subject: Re: bug#73254: [PATCH] Require ert-x for use by ert-font-lock-deftest-file References: <87wmje8duc.fsf@ice9.digital> <87v7ykn9bw.fsf@ice9.digital> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73254-done Cc: 73254-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: -3.3 (---) > From: Morgan Willcock > Date: Tue, 24 Sep 2024 20:24:51 +0100 > > I have attached a patch which adds the missing require for ert-x. Thanks, installed on the emacs-30 branch, and closing the bug. From unknown Tue Jun 24 05:06:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 26 Oct 2024 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator