From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.bugs Subject: bug#66555: 29.1; ChangeLog font-lock wrong when it comes to sub-part / conditional components Date: Sun, 15 Oct 2023 06:19:58 -0400 Message-ID: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39221"; mail-complaints-to="usenet@ciao.gmane.io" To: 66555@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 15 12:20:57 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 1qryEz-0009xM-3e for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Oct 2023 12:20:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qryEi-0003XQ-Vb; Sun, 15 Oct 2023 06:20:40 -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 1qryEh-0003Wv-0h for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 06:20:39 -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 1qryEg-0000E5-Ls for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 06:20:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qryF4-0005z0-Gr for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 06:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Alfred M. Szmidt" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 10:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66555 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.169736523222945 (code B ref -1); Sun, 15 Oct 2023 10:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Oct 2023 10:20:32 +0000 Original-Received: from localhost ([127.0.0.1]:51261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qryEZ-0005y0-TH for submit@debbugs.gnu.org; Sun, 15 Oct 2023 06:20:32 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:49806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qryEX-0005xg-FD for submit@debbugs.gnu.org; Sun, 15 Oct 2023 06:20:30 -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 1qryE3-0003V6-Gt for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 06:19:59 -0400 Original-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 1qryE3-0008L7-50 for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 06:19:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:Subject:To:From:mime-version:in-reply-to: references; bh=OnnQLE5ZTp3iTBBaQvA3WfoswhOqB3rQtZ4PTKDhSL0=; b=HTLtJAQ5ClmBWV xWAU0RHyGnpxInnhANFeI0fTMqfJ5YgED5dxAn1Bt7tDgpzJE+/z6Gdbf9oQpIrJO7f7AscoX8wP2 URmQlzbhwS3Y1njR2J3SkbVPcfYMR+zYaEPeGieqsh7iVauP5ukrpCbX18K13rS7aYiEVvRhk8yn5 ALe5Z4ySEv7BLzEaCI3P61ljEAH/VW9o7BKgCDDMHYDyW6Yr5HmuwVpXd1Acc6NrqUk3OwQvCIaYa N6p8cKK7t/0MgkgsYbLln4kyzU9lnvP6v2RhSMBR3xXxkk5+SF5ENSZ4Ij4yFNUo51AOaq7g4oMXt KK73isGp9F5nFsfMG5vg==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qryE2-0004Lv-VZ for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 06:19:58 -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:272498 Archived-At: ChangeLog mode does the wrong thing when it comes to font-lock when you have sub-part components or conditionals: * file.text (zork) (bork) : Some change. * file.text (zork) [foo] (bork) [bar]: Some change. nor [foo] is not font-locked properly, the ChangeLog format specifies the following: | Break long lists of function names by closing continued lines with | ')', rather than ',', and opening the continuation with '('. This makes | highlighting in Emacs work better. Here is an example: | | * src/keyboard.c (menu_bar_items, tool_bar_items) | (Fexecute_extended_command): Deal with 'keymap' property. Moving the sub-part / conditional to before the function name also does the wrong thing, * file.text (zork) (bork) : Some change. * file.text [foo] (zork) (bork) [bar]: Some change. Now the function name is not font-locked. In GNU Emacs 29.1 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2023-08-17 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2487 System Description: macOS 14.0 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB Important settings: locale-coding-system: utf-8-unix Major mode: Change Log Minor modes in effect: shell-dirtrack-mode: t rcirc-track-minor-mode: t global-company-mode: t company-mode: t tooltip-mode: t global-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 indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: ~/loaddefs hides /Applications/Emacs.app/Contents/Resources/lisp/loaddefs /Users/ams/.emacs.d/elpa/transient-0.4.1/transient hides /Applications/Emacs.app/Contents/Resources/lisp/transient Features: (shadow emacsbug bug-reference cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays holiday-loaddefs ibuf-ext ibuffer ibuffer-loaddefs tar-mode locate pcmpl-gnu image-mode exif macros rect warnings python compat tabify imenu man nroff-mode shortdoc novice jka-compr ispell cus-start cus-load quail gnus-topic texinfo texinfo-loaddefs mailalias tramp-cache time-stamp tramp-sh tramp tramp-loaddefs trampver tramp-integration tramp-compat format-spec display-line-numbers reveal log-edit add-log todo-mode diary-lib diary-loaddefs face-remap dabbrev markdown-mode pcmpl-unix sh-script rx treesit executable smerge-mode vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-cvs vc-rcs vc-dir ewoc conf-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs octave smie vc-svn rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc xmltok rmailsum rmailout shr-color color rmailmm rmail em-unix em-term term shell ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-extpipe em-cmpl em-dirs esh-var pcomplete em-basic em-banner em-alias esh-mode eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util files-x flow-fill qp mm-archive sort smiley gnus-cite mail-extr textsec uni-scripts idna-mapping uni-confusable textsec-check gnus-async gnus-bcklg gnus-ml cursor-sensor nndraft nnmh nnfolder vc-backup log-view pcvs-util diff gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message yank-media rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util range wid-edit disp-table network-stream puny nsm rcirc parse-time iso8601 time-date mail-queue sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils wdired misearch multi-isearch dired-aux dired dired-loaddefs help-fns cl-print debug backtrace find-func vc-fossil vc vc-dispatcher slime-asdf grep slime-quicklisp slime-fancy slime-indentation slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations advice bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl elp slime-parse slime derived cl-extra help-mode gud easy-mmode apropos compile text-property-search arc-mode archive-mode noutline outline icons pp comint ansi-osc ansi-color hyperspec thingatpt slime-autoloads company-oddmuse company-keywords company-etags etags fileloop generator xref project ring company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company edmacro kmacro pcase cal-menu calendar cal-loaddefs autoload loaddefs-gen radix-tree lisp-mnt finder-inf company-autoloads git-commit-autoloads magit-section-autoloads dash-autoloads markdown-mode-autoloads transient-autoloads with-editor-autoloads info compat-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 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/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 1689816 1290001) (symbols 48 75704 20) (strings 32 212457 56530) (string-bytes 1 7143931) (vectors 16 77270) (vector-slots 8 1863751 427751) (floats 8 1119 789) (intervals 56 112004 220835) (buffers 984 129))