From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: nealsid@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#64823: 30.0.50; define-error in font-lock mode should be fontified Date: Sun, 23 Jul 2023 19:22:47 -0400 Message-ID: <878rb6gqm0.fsf@archlinux.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25447"; mail-complaints-to="usenet@ciao.gmane.io" To: 64823@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 24 09:32:04 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qNq31-0006Pa-Rm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jul 2023 09:32:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNq27-0001Hl-Dh; Mon, 24 Jul 2023 03:31:07 -0400 Original-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 1qNq23-0001Fr-OM for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 03:31:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNq23-00070B-FP for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 03:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNq23-00072B-5X for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 03:31:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nealsid@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2023 07:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64823 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169018381426909 (code B ref -1); Mon, 24 Jul 2023 07:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jul 2023 07:30:14 +0000 Original-Received: from localhost ([127.0.0.1]:41620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNq1E-0006zq-KM for submit@debbugs.gnu.org; Mon, 24 Jul 2023 03:30:13 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:57082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNiPi-0002Vz-9m for submit@debbugs.gnu.org; Sun, 23 Jul 2023 19:23:00 -0400 Original-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 1qNiPd-0001So-3I for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2023 19:22:53 -0400 Original-Received: from mail-oa1-x31.google.com ([2001:4860:4864:20::31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNiPb-0005X7-2H for bug-gnu-emacs@gnu.org; Sun, 23 Jul 2023 19:22:52 -0400 Original-Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-1bb7297c505so110903fac.1 for ; Sun, 23 Jul 2023 16:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690154568; x=1690759368; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=0Sc6GAaF0qA0ANDHkWqc4goQawECRiREkwZCcd/qxQY=; b=bGiMccpCJsITAAZxRQWE3hIG2Q5HOswdLYG3SvlxeSaYVUlk99C4zezkr4knN+iAxT sB9H3wg8o9eEkQmlQPfp8n9HW86E99+d5f8zJazBHGoWdSEyX/smXhkSh+jo7X0P8D54 roxcPvwBv+jDGmeU7ATWDQ4Q1dOHuig2lvgIdNtxOE9TyXBUXH1EpzHaKGmiBnMVG6PN ZLJ1BlH9BQKvg2Ovmy2k9PKW2j4rmIfSI3iK5QzmUPAILsr/S+WvYLg6UNQKOkboh4ot LWfUzPe/BHL0feZcNo6H4tO1wllCH8+jCNmbOu3QiemyKSKkmxC3g8H70xj+qYT/zLVY bP9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690154568; x=1690759368; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0Sc6GAaF0qA0ANDHkWqc4goQawECRiREkwZCcd/qxQY=; b=AjQzLNfl5pJBlLSq3q/YAWeXxDyNJku7FebzNrkh/go9LRtwUKCEC3L1KconY/aVY0 LkvWoY1wJGTiX/jBeaRqp5G1YTTHCWi3lMUqZgH8F1bxbJXaSU5BdjdPqkdZhQfOeKnl Sh2ZV94evheLRtnobUxduAuTOz92cyVB/AgaSToVeRJx1RYUkpLgylK9KJhgf2/sCRmA c6XRAYkmTplHupaLmtL5qprifu4mjy1ZRzCxvuNbj+vqjw1xonIZwNAWyWFwi7HwhgUH cmycwZWPjpyOICgalWnQLv6bIJsSAXWXX2gDjQr6mCZukfbS+iT4qq0/d+kHWBG+M1PQ yuDg== X-Gm-Message-State: ABy/qLZ8v5EysQr8UXTKhz1jy9CoGvqoZog63xI1WX92fhQAr9qWYqWR oMTi2EtLcYGmye0qiRJeMoqMa9XjRlg= X-Google-Smtp-Source: APBJJlGR0DIGbQ6kLTSbxSi6IMxi1BClL4p7iurWGkBpX6vM8eQmU6QZJ71pjKCySgb0vJH3v91KDA== X-Received: by 2002:a05:6871:89f:b0:1ba:caf2:acc3 with SMTP id r31-20020a056871089f00b001bacaf2acc3mr8418265oaq.5.1690154568293; Sun, 23 Jul 2023 16:22:48 -0700 (PDT) Original-Received: from archlinux (107-218-116-63.lightspeed.jcvlfl.sbcglobal.net. [107.218.116.63]) by smtp.gmail.com with ESMTPSA id u4-20020a056870304400b001b10207f1edsm3739530oau.48.2023.07.23.16.22.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jul 2023 16:22:47 -0700 (PDT) Received-SPF: pass client-ip=2001:4860:4864:20::31; envelope-from=nealsid@gmail.com; helo=mail-oa1-x31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 24 Jul 2023 03:30:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265936 Archived-At: In a buffer with emacs-lisp-mode active, 'define-error' is not fontified by font-lock mode. The keyword should be listed somewhere around line 360 in emacs-lisp/lisp-mode.el. Recipe: - Start emacs - Visit a file ending in .el - Type: (define-error 'new-error "this is a new error") - Wait for fontification to complete and notice it is not highlighted In lisp-mode.el, there is a comment about constructs being updated automatically from obarray, but I was not able to understand how this happens, and thought maybe the comment is referring to symbols created with those commands? In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-07-15 built on archlinux Repository revision: c5fa58cbc4a33a0a65494b9ab2e35d4f30ab849b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --with-native-compilation=yes --with-xinput2 --with-x-toolkit=gtk3 --without-xaw3d --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: C.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t which-function-mode: t shell-dirtrack-mode: t comint-fontify-input-mode: t server-mode: t global-auto-revert-mode: t windmove-mode: t tooltip-mode: t global-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 column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/nealsid/.emacs.d/elpa/transient-20230501.1034/transient hides /usr/share/emacs/30.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug make-mode descr-text dabbrev erts-mode jka-compr apropos cc-langs grep mode-local re-builder mule-util display-line-numbers ffap cus-edit cus-start wid-edit cl-print shortdoc cl-indent inf-lisp help-fns radix-tree paredit magit-gitignore pcmpl-git misearch multi-isearch vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view vc bug-reference pcmpl-unix sh-script smie treesit executable ert pp ewoc debug backtrace sqlite flymake-proc flymake project cl compile noutline outline lisp-mnt thingatpt find-func vc-git vc-dispatcher magit-extras face-remap magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff diff-mode easy-mmode git-commit log-edit pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient edmacro kmacro magit-git magit-base magit-section format-spec cursor-sensor crm dash compat compat-29 dired-aux mm-archive message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util text-property-search time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils which-func imenu files-x shell pcomplete comint ansi-osc ansi-color ring deeper-blue-theme server clarity-theme autorevert filenotify cus-load cc-mode cc-fonts cc-guess cc-menus cc-cmds windmove cc-styles cc-align cc-engine cc-vars cc-defs gnutls network-stream url-cache url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny comp comp-cstr warnings icons rx cl-extra help-mode epg rfc6068 epg-config finder-inf ido color-theme-modern-autoloads dirtree-autoloads elisp-autofmt-autoloads flycheck-autoloads ggtags-autoloads pcase paredit-autoloads pkg-info-autoloads epl-autoloads tree-mode-autoloads windata-autoloads info 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 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 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 lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 2271743 440768) (symbols 48 42781 4) (strings 32 376192 15152) (string-bytes 1 13822104) (vectors 16 96038) (vector-slots 8 2449209 293184) (floats 8 233 9406) (intervals 56 236229 855) (buffers 984 70))