From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#57534: 29.0.50; Highlighting lost after auto-revert-mode triggers Date: Fri, 02 Sep 2022 10:04:25 +0300 Organization: LINKOV.NET Message-ID: <8635dacl52.fsf@mail.linkov.net> References: <87o7vyhg72.fsf@shorty.mail-host-address-is-not-set> <83fshaqpbd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22605"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Dima Kogan , 57534@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 02 09:22:16 2022 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 1oU10I-0005gb-5Q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 09:22:14 +0200 Original-Received: from localhost ([::1]:35616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU10G-00021y-Eo for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 03:22:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU0mY-0006Is-GF for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 03:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU0mY-0003xq-5Q for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 03:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU0mX-0007px-Uy for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 03:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Sep 2022 07:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57534 X-GNU-PR-Package: emacs Original-Received: via spool by 57534-submit@debbugs.gnu.org id=B57534.166210243830073 (code B ref 57534); Fri, 02 Sep 2022 07:08:01 +0000 Original-Received: (at 57534) by debbugs.gnu.org; 2 Sep 2022 07:07:18 +0000 Original-Received: from localhost ([127.0.0.1]:44675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU0lp-0007oz-Oi for submit@debbugs.gnu.org; Fri, 02 Sep 2022 03:07:17 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:37657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU0lo-0007om-4x for 57534@debbugs.gnu.org; Fri, 02 Sep 2022 03:07:16 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id E67C42000A; Fri, 2 Sep 2022 07:07:07 +0000 (UTC) In-Reply-To: <83fshaqpbd.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 Sep 2022 09:10:30 +0300") 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" Xref: news.gmane.io gmane.emacs.bugs:241293 Archived-At: >> 3. (highlight-lines-matching-regexp "3") >> >> This is bound to "M-s h l". I see the line containing "3" highlighted >> in yellow, as expected >> >> 4. M-x auto-revert-mode > > If I use your recipe in a file visited with C Mode, which does use > Font Lock, the auto-revert doesn't lose the highlighted lines. However, after manual revert with 'C-x x g' highlighting is still lost. But this is bug#50431 where 'C-x x g' should be fixed to restore minor modes.