From unknown Sun Jun 22 22:48:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68782: 29.2; occur edit mode not updating font lock Resent-From: Pranshu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jan 2024 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 68782@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170645273225406 (code B ref -1); Sun, 28 Jan 2024 14:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2024 14:38:52 +0000 Received: from localhost ([127.0.0.1]:56905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU6J8-0006bf-CB for submit@debbugs.gnu.org; Sun, 28 Jan 2024 09:38:52 -0500 Received: from lists.gnu.org ([2001:470:142::17]:55348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU4OG-0003OP-8Z for submit@debbugs.gnu.org; Sun, 28 Jan 2024 07:36:01 -0500 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 1rU4O1-0003Xx-Ks for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2024 07:35:46 -0500 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rU4Ny-0000Q8-Kb for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2024 07:35:45 -0500 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-5ce9555d42eso1634998a12.2 for ; Sun, 28 Jan 2024 04:35:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706445339; x=1707050139; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=8rEWP0/4nkjwX9uiuYjvRX8Y0yyUVApLKUdVor97khs=; b=Vft0kXGjAUVo3eO9QGVrXlzFuJuqcMhTq6uCynjoVD42/o8BHBMGvP4yEj1ePSPh27 jmsfcsq+4Q4ItGiUdLKQCvQj/xF2oYFQPLWVTxgQMGMm3yWwE1Wt1wIHWs93IEk+K4ZM y88kPN64L3KPGMriUjbzFjjCBE7gnaxWWqK9TSOYeE2gi6Fq0g9EMKrYqbMqAoW4bB/u 8iXRt4nRXUpRSQmrpvkRZTd6gT8IcnxrYm5O/4XHa0h9FwK1oEcvkL0Vz3DLl0trqWHv /U3HlVRX3yFC2k+HopwT2XGRrcg7JKxSNqe40I/qeYFn8mA/kkjp6+W0nBLmiKBZqqeY Eb+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706445339; x=1707050139; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8rEWP0/4nkjwX9uiuYjvRX8Y0yyUVApLKUdVor97khs=; b=lBg2yrY/2/QplN7LAUAOiK9nO+E3cWB/Juzlzc6JCU+mMF4k7I0diwMDnKAHKETpSd ocnEGp1QUnL7Bhhe7FMtED49INv8nrYGuk1PD+Kzb0lNE79uTED/SDXqdHE7rjXlTO0L Tvj6EVkL6HmmhzpyYuUc/4LYK9rDpZgfP6x9nswlL0GiTPxS9HWt6An7yvn92NxcgmsJ h/OPdj2zKWqu8AFt92h1+2QaGOLwQlg1oijOv/gTo5dw21aXSn+kymAbEFuW2QNjOZGG shrspBFbbpUMow2mC/dtiPsAdgdcV8/ZLeY81k4MnSBAmIaK16kqWbpwr69/TtHxhvm8 3sjA== X-Gm-Message-State: AOJu0YxM8L6sQQbQdGLdbY0oN0PH8t54IOLhElxfTpqEt36IVw31ReYV 5pGQbYWpW4YQ8Lbe/uz4NMpMke6WneyQLWJW6BuVnTHxrkqfZRylHMe9KMfQ X-Google-Smtp-Source: AGHT+IEHORHU6H2okZcQ+9Xn5bnepzxnAU3lxlvrXHUMA9ucMNGbnqmNBrem2jchsPPK7+PAHuutAA== X-Received: by 2002:a05:6a20:cf11:b0:19a:66a4:7966 with SMTP id hy17-20020a056a20cf1100b0019a66a47966mr2593090pzb.55.1706445339379; Sun, 28 Jan 2024 04:35:39 -0800 (PST) Received: from localhost ([2001:8003:7816:8300:e519:bcd2:5faa:efaf]) by smtp.gmail.com with ESMTPSA id h8-20020aa79f48000000b006ddcadb1e2csm4073654pfr.29.2024.01.28.04.35.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 04:35:38 -0800 (PST) From: Pranshu Date: Sun, 28 Jan 2024 22:35:21 +1000 Message-ID: <878r49bppy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=pranshusharma366@gmail.com; helo=mail-pg1-x530.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Emacs is not updating the font colors when changes are made in occur edit-mode. Recpie from emacs -q: 1. go to scratch buffer 2. copy the following text -------- ;; test rest ;; test rest ------- 2. M [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (pranshusharma366[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pranshusharma366[at]gmail.com) -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Mailman-Approved-At: Sun, 28 Jan 2024 09:38:49 -0500 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: 0.2 (/) Emacs is not updating the font colors when changes are made in occur edit-mode. Recpie from emacs -q: 1. go to scratch buffer 2. copy the following text -------- ;; test rest ;; test rest ------- 2. M-s o test RET e to go to occur edit mode 3. M-% ;; RET RET ! to uncomment all Now, in the scratch buffer the colours have not been refreshed. I think adding a hook to the function that modifies the code in occur should fix it. In GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.40, cairo version 1.18.0) Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Parabola GNU/Linux-libre Configured using: 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --with-tree-sitter --localstatedir=/var --with-cairo --disable-build-details --with-harfbuzz --with-libsystemd --with-modules --with-x-toolkit=gtk3 '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 -g -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: winner-mode: t midnight-mode: t global-so-long-mode: t electric-pair-mode: t delete-selection-mode: t fido-vertical-mode: t icomplete-vertical-mode: t icomplete-mode: t fido-mode: t TeX-PDF-mode: t shell-dirtrack-mode: t hyperbole-mode: t pranshu-edit-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 file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t column-number-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. Features: (shadow mail-extr quail emacsbug help-fns radix-tree misearch multi-isearch hippie-exp cus-start kotl-autoloads hyperbole-autoloads auto-capitalize string-edit gnus-search eieio-opt cl-extra speedbar ezimage dframe gnus-icalendar org-capture icalendar diary-lib diary-loaddefs smtpmail gnus-dired wdired ls-lisp mandoura solar cal-dst holidays holiday-loaddefs proced time winner esh-mode eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util erc-goodies erc erc-backend erc-networks erc-common erc-compat erc-loaddefs ef-cyprus-theme standard-themes ef-themes midnight so-long elec-pair delsel icomplete savehist cc-styles cc-align cc-engine cc-vars cc-defs find-file calc-embed calc-ext calc calc-loaddefs rect calc-macs tex-font font-latex tex-bar toolbar-x context plain-tex preview latex edmacro kmacro latex-flymake flymake-proc flymake warnings thingatpt tex-ispell tex-style tex crm texmathp tex-site htmlfontify cus-edit cus-load hyperbole hinit hibtypes hib-doc-id klink hib-kbd hib-debbugs hib-social hsys-www hypb-ert ert ewoc debug backtrace hactypes bookmark pp hui-mini hui hui-mouse hmouse-key hargs hsys-org org-element org-persist xdg org-id org-refile avl-tree org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs hmouse-tag etags fileloop generator xref project find-func hmouse-info info hui-menu hyrolo-menu hyrolo sort hui-jmenu hpath tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat rx shell pcomplete format-spec noutline outline icons hmouse-sh hmouse-drv hui-window pulse color hycontrol hui-select hsettings hui-em-but hbut view hbdata hgnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig 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 parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit hsmail message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util 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 hmail htz cal-julian cal-menu calendar cal-loaddefs hbmap hmoccur help-mode browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core password-cache json map byte-opt bytecomp byte-compile url-vars mailcap hvar hypb locate hact hhist compile text-property-search comint ansi-osc ansi-color ring set hversion hload-path dired-preview dired dired-loaddefs lorem-ipsum vundo cl-seq cl-macs gv subr-x cl-loaddefs cl-lib pcase easy-mmode derived 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 move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 515284 58230) (symbols 48 39215 0) (strings 32 126851 4899) (string-bytes 1 3896990) (vectors 16 69956) (vector-slots 8 1504392 274921) (floats 8 823 531) (intervals 56 1984 478) (buffers 984 19)) From unknown Sun Jun 22 22:48:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#68782: 29.2; occur edit mode not updating font lock Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jan 2024 15:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pranshu Cc: 68782@debbugs.gnu.org Received: via spool by 68782-submit@debbugs.gnu.org id=B68782.170645428129469 (code B ref 68782); Sun, 28 Jan 2024 15:05:01 +0000 Received: (at 68782) by debbugs.gnu.org; 28 Jan 2024 15:04:41 +0000 Received: from localhost ([127.0.0.1]:58184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU6i9-0007fF-2k for submit@debbugs.gnu.org; Sun, 28 Jan 2024 10:04:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rU6i6-0007f1-Os for 68782@debbugs.gnu.org; Sun, 28 Jan 2024 10:04:39 -0500 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 1rU6ht-0003ns-NN; Sun, 28 Jan 2024 10:04:25 -0500 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=kOWBDIUZgz+Fdb23pCBNMvzTmfTSly9zFv3uin54lVw=; b=S52uuiIKEvJv +meRlD4IGFig8SNTc5ppvKXFzMtn80l6L8mCDBU+0bBAEocAOM3FClbYRmSSN7P301rO+SEIKizYG uCa/pfnrMpQpfmOw3J/ZXG/bRcoF0s7/pPHc5NEBqRtiXs4FG8s43IjiKBk2bioHo6eRo13AkDLh2 J6ZGC43iuSl7hh4sfjeFvhqL0oFF1QRl+9OHe5ThCfPsZmk6Prs1fkocXjD3jqAByM5Jf3bUfCmTD 4mnjgkqOCtSO0tIvKtrfxGMStDt2bT9DNEKjCyRMTYq6k07SvvKuC3JXussYPKhh983zNZ42bImJ+ zR4zW5frz4EjXjcNpS3xNw==; Date: Sun, 28 Jan 2024 17:04:21 +0200 Message-Id: <867cjt5wju.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <878r49bppy.fsf@gmail.com> (message from Pranshu on Sun, 28 Jan 2024 22:35:21 +1000) References: <878r49bppy.fsf@gmail.com> 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 (---) > From: Pranshu > Date: Sun, 28 Jan 2024 22:35:21 +1000 > > > Emacs is not updating the font colors when changes are made in occur > edit-mode. > Recpie from emacs -q: > 1. go to scratch buffer > 2. copy the following text > -------- > ;; test > rest > ;; test > rest > ------- > 2. M-s o test RET e to go to occur edit mode > 3. M-% ;; RET RET ! to uncomment all > > Now, in the scratch buffer the colours have not been refreshed. Something is wrong with the recipe, because in step 2 RET switches back to *scratch*, and 'e' in *scratch* doesn't invoke occur edit mode. Is the recipe missing some steps?