From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41124: 26.3; highlight regexp not working properly - not updating as you type Date: Thu, 07 May 2020 15:55:40 +0300 Message-ID: <83r1vvkipf.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="117302"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41124@debbugs.gnu.org To: jan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 07 15:05:13 2020 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 1jWgDA-000UNl-O7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 15:05:12 +0200 Original-Received: from localhost ([::1]:56550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWgD9-0005u9-Ny for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 09:05:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWg5G-0003eO-VT for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 08:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWg5G-0007dL-Lh for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 08:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWg5G-0006am-JQ for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 08:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 May 2020 12:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41124 X-GNU-PR-Package: emacs Original-Received: via spool by 41124-submit@debbugs.gnu.org id=B41124.158885616625236 (code B ref 41124); Thu, 07 May 2020 12:57:02 +0000 Original-Received: (at 41124) by debbugs.gnu.org; 7 May 2020 12:56:06 +0000 Original-Received: from localhost ([127.0.0.1]:42371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWg4M-0006Yy-8F for submit@debbugs.gnu.org; Thu, 07 May 2020 08:56:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWg4J-0006Yc-1y for 41124@debbugs.gnu.org; Thu, 07 May 2020 08:56:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49680) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWg4D-0006GQ-Na; Thu, 07 May 2020 08:55:57 -0400 Original-Received: from [176.228.60.248] (port=3353 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWg4B-0000pp-OG; Thu, 07 May 2020 08:55:56 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) 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:179882 Archived-At: > Date: Thu, 7 May 2020 12:32:27 +0100 > From: jan via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Hi all, > I've reported the same thing a few years ago, it got fixed pretty fast > but looks like it reverted again. > > First ensure font-lock mode is on. Prefix arg forces it on. > > C-u 1 M-x font-lock-mode > > Minibuffer says font lock mode is enabled > > type some text to be highlighted: > > peq > piq > > highlight regexp: > > M-s h r p[aeiou]q > > the above 2 get highlighted as expected > > now type some matchable text > > paq > > this does not get highlighted. > I expected it should and as I've used this functionality extensively > before, I'm pretty sure it used to work this way. I cannot reproduce this. What was the major mode in the buffer where you tried this? I'm asking because font-lock-mode is turned on by default, so I don't understand why you needed to turn it on. E.g., try repeating the sequence, without the font-lock-mode command, in *scratch* as soon as you enter "emacs -Q".