From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 04 01:29:57 2022 Received: (at submit) by debbugs.gnu.org; 4 Feb 2022 06:29:57 +0000 Received: from localhost ([127.0.0.1]:58667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFs6W-0000vb-Sd for submit@debbugs.gnu.org; Fri, 04 Feb 2022 01:29:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:50758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFs6V-0000vT-Ai for submit@debbugs.gnu.org; Fri, 04 Feb 2022 01:29:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFs6U-0002Yi-Uj for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2022 01:29:55 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:54313) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFs6S-0000OB-JW for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2022 01:29:54 -0500 Received: from localhost ([::ffff:41.75.189.214]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000067F57.0000000061FCC7BD.00006C42; Thu, 03 Feb 2022 23:29:17 -0700 From: Jean Louis To: bug-gnu-emacs@gnu.org Subject: 29.0.50; highlight-regexp not working after tabulated-list-col-sort Date: Fri, 04 Feb 2022 09:29:10 +0300 Message-ID: <86wnibdu15.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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.1 (--) highlight-regexp not working after tabulated-list-col-sort Here is how: 1) M-x package-list-packages 2) M-x highlight-regexp RET parens RET and word "parens" will get highlighted 3) Click on "Archive" title and sort the list by Archive column 4) M-x highlight-regexp RET parens RET and the word "parens" is not highlighted. I would like to understand why. hi-lock mode remains turned on. In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2022-01-29 built on protected.rcdrun.com Repository revision: 7e17749ada101fbfb772a79deda5f7087ba9e96d Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Parabola GNU/Linux-libre Configured using: 'configure --with-x-toolkit=lucid' 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 WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim 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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr shortdoc help-fns radix-tree help-mode emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date seq gv subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip 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 cl-generic 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 simple abbrev obarray cl-preloaded nadvice button 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 x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 52925 5041) (symbols 48 6456 3) (strings 32 18917 1698) (string-bytes 1 572784) (vectors 16 12130) (vector-slots 8 167847 41359) (floats 8 64 36) (intervals 56 270 0) (buffers 992 13)) -- Thanks, Jean Louis Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 04 01:36:40 2022 Received: (at 53771) by debbugs.gnu.org; 4 Feb 2022 06:36:41 +0000 Received: from localhost ([127.0.0.1]:58672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFsD2-0001CB-O6 for submit@debbugs.gnu.org; Fri, 04 Feb 2022 01:36:40 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:57173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFsD1-0001Bu-98 for 53771@debbugs.gnu.org; Fri, 04 Feb 2022 01:36:39 -0500 Received: from localhost ([::ffff:41.75.189.214]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000067F57.0000000061FCC970.00006CEC; Thu, 03 Feb 2022 23:36:31 -0700 Date: Fri, 4 Feb 2022 09:33:54 +0300 From: Jean Louis To: Jean Louis Subject: Re: bug#53771: 29.0.50; highlight-regexp not working after tabulated-list-col-sort Message-ID: References: <86wnibdu15.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <86wnibdu15.fsf@protected.rcdrun.com> User-Agent: Mutt/2.1.5+104 (cd3a5c8) (2022-01-09) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53771 Cc: 53771@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 (-) I can observe that M-x highlight-regexp does not work for second time in Dired mode as well. Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 01:49:14 2022 Received: (at 53771) by debbugs.gnu.org; 5 Feb 2022 06:49:14 +0000 Received: from localhost ([127.0.0.1]:33552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGEsk-0008N5-Bt for submit@debbugs.gnu.org; Sat, 05 Feb 2022 01:49:14 -0500 Received: from quimby.gnus.org ([95.216.78.240]:42258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGEsi-0008Mp-6X for 53771@debbugs.gnu.org; Sat, 05 Feb 2022 01:49:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=IOZ0IIwdkvdsAb4CiXQGQv4GuM9WFgNWdX4fPf/Iw1U=; b=ilcBshVI/AFzgXMG9nAuCxXZxK bnjPgOuKBfO1Zs5LZ8ZcWgzscI7ZTJgi4KbrPYHLN2MC5uNEZ3ybehyHpMMzQcVOp0vS1M1mxsu9O tfWD8iyK+ugSADMDv/cute9kFswsMaezqNFdvexGO2PYLhJGIugatRlOO6IUzkIVAKQQ=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGEsZ-0005Fn-9c; Sat, 05 Feb 2022 07:49:05 +0100 From: Lars Ingebrigtsen To: Jean Louis Subject: Re: bug#53771: 29.0.50; highlight-regexp not working after tabulated-list-col-sort References: <86wnibdu15.fsf@protected.rcdrun.com> X-Now-Playing: David Bowie's _Aladdin Sane_: "The Prettiest Star" Date: Sat, 05 Feb 2022 07:48:58 +0100 In-Reply-To: <86wnibdu15.fsf@protected.rcdrun.com> (Jean Louis's message of "Fri, 04 Feb 2022 09:29:10 +0300") Message-ID: <877da9erl1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Jean Louis writes: > 1) M-x package-list-packages > > 2) M-x highlight-regexp RET parens RET and word "parens" will get > highlighted > > 3) Click on "Archive" title and sort the list by Archive column > > 4) M-x highli [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53771 Cc: 53771@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 (---) Jean Louis writes: > 1) M-x package-list-packages > > 2) M-x highlight-regexp RET parens RET and word "parens" will get > highlighted > > 3) Click on "Archive" title and sort the list by Archive column > > 4) M-x highlight-regexp RET parens RET and the word "parens" is not > highlighted. I would like to understand why. hi-lock mode remains > turned on. As the doc string says: --- Use Font lock mode, if enabled, to highlight REGEXP. Otherwise, use overlays for highlighting. If overlays are used, the highlighting will not update as you type. The Font Lock mode is considered "enabled" in a buffer if its =E2=80=98major-mode=E2=80=99 causes =E2=80=98font-lock-specified-p=E2=80=99 to return non-nil, which mea= ns the major mode specifies support for Font Lock. --- So in these modes, changing the text won't update the overlays, and re-sorting them will remove the overlays altogether. So I don't think there's any bug here, and I'm therefore closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 01:49:17 2022 Received: (at control) by debbugs.gnu.org; 5 Feb 2022 06:49:17 +0000 Received: from localhost ([127.0.0.1]:33555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGEsn-0008NK-K6 for submit@debbugs.gnu.org; Sat, 05 Feb 2022 01:49:17 -0500 Received: from quimby.gnus.org ([95.216.78.240]:42272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGEsm-0008Mu-Sv for control@debbugs.gnu.org; Sat, 05 Feb 2022 01:49:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=E7MOAQ+BElVvqg2y7V2uah4tnQWimRYfTXq1zN9dfEk=; b=lzIxdAfNzLqemhegkdcz5rx3bG XplS6Pu9gMvVILoREBAyiYBygTWi5Nwx6XbZcQTN4vDc9JSeArLYv+3PAOWz9JPhFspEm/3KSo5K2 SLw6BKOQ6psEbjtDvs40a/G+9XxE2QnX8DWBkXrTMI4h5bW8sujJIaAUL9f+1RllUWgk=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGEse-0005Fz-LI for control@debbugs.gnu.org; Sat, 05 Feb 2022 07:49:11 +0100 Date: Sat, 05 Feb 2022 07:49:07 +0100 Message-Id: <875ypterks.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #53771 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 53771 notabug close 53771 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 53771 notabug close 53771 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 02:16:43 2022 Received: (at 53771) by debbugs.gnu.org; 5 Feb 2022 07:16:43 +0000 Received: from localhost ([127.0.0.1]:33612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGFJK-0002vZ-WF for submit@debbugs.gnu.org; Sat, 05 Feb 2022 02:16:43 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:60373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGFJI-0002vJ-BO for 53771@debbugs.gnu.org; Sat, 05 Feb 2022 02:16:40 -0500 Received: from localhost ([::ffff:41.75.189.214]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000067F36.0000000061FE2451.00006DC7; Sat, 05 Feb 2022 00:16:32 -0700 Date: Sat, 5 Feb 2022 10:13:59 +0300 From: Jean Louis To: Lars Ingebrigtsen Subject: Re: bug#53771: 29.0.50; highlight-regexp not working after tabulated-list-col-sort Message-ID: References: <86wnibdu15.fsf@protected.rcdrun.com> <877da9erl1.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877da9erl1.fsf@gnus.org> User-Agent: Mutt/2.1.5+104 (cd3a5c8) (2022-01-09) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53771 Cc: 53771@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 (-) * Lars Ingebrigtsen [2022-02-05 09:49]: > As the doc string says: > > --- > Use Font lock mode, if enabled, to highlight REGEXP. Otherwise, > use overlays for highlighting. If overlays are used, the > highlighting will not update as you type. The Font Lock mode > is considered "enabled" in a buffer if its ‘major-mode’ > causes ‘font-lock-specified-p’ to return non-nil, which means > the major mode specifies support for Font Lock. I wish to use the function highlight-regexp for reasons of simplicity. The above description does not tell me HOW to use font lock mode to highlight regexp. I can see that font-lock-mode is T inthe buffer before and after sorting. My understanding is that I am already using font-lock-mode. It is enabled, and I cannot get highlighting. Description such as "Use Font lock mode, if enabled, to highlight REGEXP." with its "REGEXP" relates to the argument REGEXP. It is related to the function. It tells little how is that supposed to work. I have followed the above instructions by my (mis)understanding and have specified `font-lock-specified-p' below, and after sorting I still cannot invoke highlight-regexp neither with M-x neither by evaluation. Please, help me resolve this. (define-derived-mode hyperscope-list-mode tabulated-list-mode "Hyperscope" "Hyperscope mode" (hyperscope-text-scale-adjust 'hyperscope-list-mode) (let ((id-length (length (number-to-string (rcd-sql-first "SELECT hyobjects_id FROM hyobjects ORDER BY hyobjects_id DESC LIMIT 1" hs-db))))) (setq tabulated-list-format (vconcat (list (list "ID" id-length t :right-align t)) (list (list "Hyperdocument" 70 t)) (list (list "Type" 12 t)) (list (list "Action" 9 t)))) (setq font-lock-specified-p t) (setq tabulated-list-padding 1) ;; (setq tabulated-list-sort-key (cons "ID" nil)) (tabulated-list-init-header))) -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 02:19:11 2022 Received: (at 53771) by debbugs.gnu.org; 5 Feb 2022 07:19:11 +0000 Received: from localhost ([127.0.0.1]:33616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGFLj-0002zO-FU for submit@debbugs.gnu.org; Sat, 05 Feb 2022 02:19:11 -0500 Received: from quimby.gnus.org ([95.216.78.240]:42604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGFLi-0002zB-Ff for 53771@debbugs.gnu.org; Sat, 05 Feb 2022 02:19:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DM9IkgvSHLuWxTmBcNlxTdYZIdyLYnlFvNad1aLNmrA=; b=Y2GYsGfimYP9pyN5Ms44Bb3nB6 5CgxB+nEnDlsM4q7FeuQBRTyz+yEy1cxKLkVde9HLpJQhZoLIy93aYDFFBfrvd5HLJSjS8Vqdt8xI 30HMheQqzRKQ0E0uBa4YkugRYC6+/XyTtSlHIDUb/mfblRSWOSTgufxooti5whK0vYDs=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGFLY-0005UM-J2; Sat, 05 Feb 2022 08:19:03 +0100 From: Lars Ingebrigtsen To: Jean Louis Subject: Re: bug#53771: 29.0.50; highlight-regexp not working after tabulated-list-col-sort References: <86wnibdu15.fsf@protected.rcdrun.com> <877da9erl1.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXKuLmQa25SOED/ ///P8dUtAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YCBQcSJu5hEsYAAAGTSURBVCjPRdGxjptAEAbg 31bs4ioX0Lh3Cj/FEsVXpAKJQWGrFAaZeYrcSUmNLFjJrsAyq2OeMoPxKdN9Gv5hdhdYAMuUKE3I AlkQRwVtohgNFt+CGlRxVG8USVCbRc7ujitW3wNjsNpxB0F4CKAVUr1UOIoxF+GgUzfmyZTFktYD EYuwFa1WP5NPiMBKJnZGBx6zgWbUCp+G7RwCD4XOyp4YKyL9meKqnRNl0YRKFNRu02MoMgyQNmt3 1GjHvyvKIiibi0amjiWQm6alEJeT0fxV2tcpQ4ZPbLAwiteLcY+lY7iWfiJ67BbBC+eUeHnbCqFl Iu5Zfu/HXzhnaUjJBElwtpRTrPgqDueiKmaM/1HftOP11JRY6b1YeFIQSyeSwdHQhwNLrzeGdXar w0JvUvxe4esvxwmDQqeuqgn9HsuybcJxQqedcsjXwvJ3hqfVPX5idMOfXT3jRY58s42Gui3W8sEf krOMJsTa66hqk/MdB4W344UKfdEcL05+jLaq9MEttl6u3p7K+IFCt8rSslX8A8Pg7xQ6rDWcAAAA JXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTAyLTA1VDA3OjE4OjM4KzAwOjAwPmukfQAAACV0RVh0ZGF0 ZTptb2RpZnkAMjAyMi0wMi0wNVQwNzoxODozOCswMDowME82HMEAAAAASUVORK5CYII= X-Now-Playing: Brian Eno's _Here Come the Warm Jets_: "Driving me backwards" Date: Sat, 05 Feb 2022 08:19:00 +0100 In-Reply-To: (Jean Louis's message of "Sat, 5 Feb 2022 10:13:59 +0300") Message-ID: <87ee4hdbmj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Jean Louis writes: > Please, help me resolve this. I think you just have to reapply the highlight-regexp after altering the buffer. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53771 Cc: 53771@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 (---) Jean Louis writes: > Please, help me resolve this. I think you just have to reapply the highlight-regexp after altering the buffer. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 11:11:46 2022 Received: (at 53771) by debbugs.gnu.org; 5 Feb 2022 16:11:46 +0000 Received: from localhost ([127.0.0.1]:35468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGNf8-0000OD-6q for submit@debbugs.gnu.org; Sat, 05 Feb 2022 11:11:46 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]:54335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGNf6-0000Nz-0k for 53771@debbugs.gnu.org; Sat, 05 Feb 2022 11:11:44 -0500 Received: from localhost ([::ffff:41.75.189.214]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000067F3C.0000000061FEA1B8.00001A1A; Sat, 05 Feb 2022 09:11:36 -0700 Date: Sat, 5 Feb 2022 19:10:21 +0300 From: Jean Louis To: Lars Ingebrigtsen Subject: Re: bug#53771: 29.0.50; highlight-regexp not working after tabulated-list-col-sort Message-ID: References: <86wnibdu15.fsf@protected.rcdrun.com> <877da9erl1.fsf@gnus.org> <87ee4hdbmj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87ee4hdbmj.fsf@gnus.org> User-Agent: Mutt/2.1.5+104 (cd3a5c8) (2022-01-09) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53771 Cc: 53771@debbugs.gnu.org, Jean Louis 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 (-) * Lars Ingebrigtsen [2022-02-05 10:19]: > Jean Louis writes: > > > Please, help me resolve this. > > I think you just have to reapply the highlight-regexp after altering the > buffer. Then I wasn't clear. I have tried that in first place and it does not work. That is why I said it is bug. I don't get it why it is not bug. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 22:10:45 2022 Received: (at 53771) by debbugs.gnu.org; 6 Feb 2022 03:10:45 +0000 Received: from localhost ([127.0.0.1]:36099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGXwq-0005BC-S9 for submit@debbugs.gnu.org; Sat, 05 Feb 2022 22:10:45 -0500 Received: from mout.web.de ([212.227.15.3]:45893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGXwo-0005Aw-Oy for 53771@debbugs.gnu.org; Sat, 05 Feb 2022 22:10:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1644117006; bh=dbiqLvm3FSJO8rkintqxDkOeMttQuRHeIVh4ZCgX+qo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=h+z3SvVk3c3H9diuPEZXU7cyUZlkizpDy+cwoBFkf2UxMvP8kcAxHfQJrRoXw1ZTs FourBigyjW/p45cFEvMK/l74o0601ooOjXIusOLl2Oxwf2Wc5T/NwzA3Amy8zdV15J 90MnsJDdRvbfIlyMbbf7WPx0XgYsqaWUMzL1oJ94= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M3Ez3-1nCxZA434f-003MwT; Sun, 06 Feb 2022 04:10:06 +0100 From: Michael Heerdegen To: Jean Louis Subject: Re: bug#53771: 29.0.50; highlight-regexp not working after tabulated-list-col-sort References: <86wnibdu15.fsf@protected.rcdrun.com> <877da9erl1.fsf@gnus.org> <87ee4hdbmj.fsf@gnus.org> Date: Sun, 06 Feb 2022 04:10:05 +0100 In-Reply-To: (Jean Louis's message of "Sat, 5 Feb 2022 19:10:21 +0300") Message-ID: <87mtj4n10y.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:YLXNUzpVwtaNR4reDVTaBDvgP2brAXR684xqhT9HDTMRek1BP1U gCXgqVrJuiurTsTZQ/fZV6mlDqGgtoi9dOYXxvRFR7q3BZwyhicXChLWaaKvV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d2+3k0msjDEUeLwYmB8HbPpylzBI/JdGaufvfNzAG+2EBiF+BH+X Z5YjC9vI8JRAPmlHsbYeZSvDuhfyO9JvYx9wz6uua+tH4BQjIQI9VJlfNGG79UFz2qnQQWwAh KDY7/rvBHKgV+YdpX2Y2JQbxm9NSwrkTfgfCy9hpMYsdenMDnF/2xCSx9nl4PU2k0dSdl64An mlrYFX0oACgcHQ= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53771 Cc: Lars Ingebrigtsen , 53771@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.7 (-) Jean Louis writes: > Then I wasn't clear. I have tried that in first place and it does not > work. That is why I said it is bug. You are right, that doesn't work. The second time `hi-lock-set-pattern' checks `hi-lock-interactive-patterns', finds the pattern, and does nothing. At least in the package-list buffer. Dired is different because it _does_ use font-lock. But I don't see a problem in dired when I revert or reorder the buffer, the highlighting doesn't disappear, so I don't need to add a pattern a second time. Michael. From unknown Sun Jun 22 00:38:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Mar 2022 12:24:08 +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 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 31 18:12:26 2022 Received: (at control) by debbugs.gnu.org; 31 Aug 2022 22:12:26 +0000 Received: from localhost ([127.0.0.1]:40718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTVwg-00047D-Bk for submit@debbugs.gnu.org; Wed, 31 Aug 2022 18:12:26 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:52471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTVwb-00046w-Ia for control@debbugs.gnu.org; Wed, 31 Aug 2022 18:12:25 -0400 Received: from localhost ([::ffff:154.229.82.132]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5B0E.00000000630FDCBE.000040E1; Wed, 31 Aug 2022 15:12:14 -0700 Date: Wed, 31 Aug 2022 07:43:00 +0300 From: Jean Louis To: control@debbugs.gnu.org Subject: control Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/+ () (2022-06-11) X-Spam-Score: 1.5 (+) 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: unarchive 53771 Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror) 0.7 LOCALPART_IN_SUBJECT Local part of To: address appears in Subject 0.8 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-Debbugs-Envelope-To: control 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.5 (/) unarchive 53771 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 01 20:11:53 2022 Received: (at 53771) by debbugs.gnu.org; 2 Sep 2022 00:11:53 +0000 Received: from localhost ([127.0.0.1]:44406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTuHo-0005dq-Rm for submit@debbugs.gnu.org; Thu, 01 Sep 2022 20:11:53 -0400 Received: from mout.web.de ([212.227.15.3]:49243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTuHk-0005da-6U for 53771@debbugs.gnu.org; Thu, 01 Sep 2022 20:11:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1662077501; bh=Yo9e2VIRFCJlsEL8Hf+wa7fhL3dbcSLeIgmKRCRp54A=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=m+P5jWLLNOKdcbQnIUUN0EfJdMVW32WGjAYVgUN10ihMZHQD0CqVUXDEPQPopRpL3 uS8y/H98L7QGmoS90o5eaduFtolx+Jk7fS1O7PQ8uChNO0ZrFtz5gUGbaXNfZtrwwz slb7WHlkE6q520fy7YHdY7AHACfX9y/G7q2Zv1s4= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([84.57.248.18]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N0Icd-1pHlhy2RZ1-00x8dY; Fri, 02 Sep 2022 02:11:41 +0200 From: Michael Heerdegen To: help-gnu-emacs@gnu.org Subject: Re: Why M-x highlight-regexp does not work after sort in tabulated-list-mode? In-Reply-To: (Jean Louis's message of "Wed, 31 Aug 2022 07:19:04 +0300") References: <871qsxnt57.fsf@web.de> Date: Fri, 02 Sep 2022 02:11:40 +0200 Message-ID: <87y1v2fxdv.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:4fArmcUJT8FJy7vcXyxLFgYF3dc0rG51qu0BrScxC/y0GDrJwSZ ubihSX/IMkFSCo42PwiebH4CmTul3Ou8jH1CjDB79UaLcfQvosBO3QTHXzVRVaALcvNequ7 Di05DOUnqaAZER1O3Oc040mS3fwqHOz9VLatvKVxTCDZ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7SrYa4rir6eQn+zPcVKduH/n9vxA6pvojeSD3spHhsYazG+eDiABGU+4bMjKjizSnR sFQMPJtFeEzUjQe/K123xdY09cR6BiLSjNLVgol8WfMqJH2ohaxb9+kY9FkPXzcHb2i2osogV k3+wz5nIAY0p9g10REihdAGfFZg22UpP6D0KTzlesNWRstPEJ1IUSlLNSr68QlB50NiNyuL6+ 34Xfw3otMAjZnVSImQUiaLw3m6 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53771 Cc: larsi@gnu.org, 53771@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.7 (-) Jean Louis writes: > Do you think that is error, and that hook shall be run after sorting? I don't know what exactly you are doing, so it's hard to tell something concrete. tabulated-list is only a generic mode, so maybe it's better when the implementations add hooks for operations when it makes sense. In any case, I don't think it's that mode's concern to implement features of `hi-lock-mode' - which seems to be your intention. Maybe it would be easier for you to just turn on font-lock-mode. Have you tried that? Removing and re-adding pattern highlighting explicitly is only a workaround. If I would change anything then I would try to improve hi-lock-mode instead so that it is easier to use under such circumstances. That `highlight-regexp' does nothing when font-lock-mode is off (and no automatic highlighting can be assumed) doesn't make much sense to me. It could just highlight again. But if you think that further (automatic updating...) you end with a re-implementation of font-lock-mode in Elisp - thus my suggestion to just try to turn that mode on. Michael. From unknown Sun Jun 22 00:38:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 30 Sep 2022 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