From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: jan via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#41124: 26.3; highlight regexp not working properly - not updating as you type Date: Thu, 7 May 2020 16:36:02 +0100 Message-ID: References: <83r1vvkipf.fsf@gnu.org> <83lfm3kfgb.fsf@gnu.org> Reply-To: jan Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="48480"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41124@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 07 17:37:30 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 1jWiaX-000CUy-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 17:37:29 +0200 Original-Received: from localhost ([::1]:36320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWiaW-0000fx-N2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 May 2020 11:37:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWia6-000077-Mf for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 11:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWia6-0005pi-DF for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 11:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWia6-0002po-9x for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 May 2020 15:37: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.158886577710830 (code B ref 41124); Thu, 07 May 2020 15:37:02 +0000 Original-Received: (at 41124) by debbugs.gnu.org; 7 May 2020 15:36:17 +0000 Original-Received: from localhost ([127.0.0.1]:43764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWiZJ-0002oW-Jv for submit@debbugs.gnu.org; Thu, 07 May 2020 11:36:17 -0400 Original-Received: from mail-pl1-f174.google.com ([209.85.214.174]:33398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWiZE-0002oF-O1 for 41124@debbugs.gnu.org; Thu, 07 May 2020 11:36:12 -0400 Original-Received: by mail-pl1-f174.google.com with SMTP id t7so2203103plr.0 for <41124@debbugs.gnu.org>; Thu, 07 May 2020 08:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YVeGVLjm++1P9tjVhZZcUI4spJl8+fLQvHKJxC/9rj0=; b=PDG48q270XKasTZ46tq1Z4rJcSTw5EGtZ9KHRB/pVPvWhjK2p1XE7Sck50Ra1aWsXy oNG8NYWPGhroqnRMwcwbXBbtQ+WNYTRBZBWXx6HdgXxbr7qhmGc/e3Pw5ISXuosqRZxo J1ZjOzDVE+07YZqgZ68kS7li59PQZbS+aRTOHAFu0eUqngIUbqUytcSpFDV7Q55pDUXa STVi6k13CZ4Eb7u5yWxUq+bQCDFLjbssS/xY1kyuqHByVw4fHJFnC4VwvPEhxUNiKG/P NjyyQCsYMAsiVgjMG/vKEx7WeCF+JJZYdG/RmOoth+gmi6pKwwYQLaAj3M7Iz9u/aBpU LnSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YVeGVLjm++1P9tjVhZZcUI4spJl8+fLQvHKJxC/9rj0=; b=Gi9uYKksEDKm+tMI2Yhkfeqg9kdkmSTxZPIOe/OBtNA1ybMLJK/1RWwe5MgLjJLrg/ bLewcf49X42y0HYfHCjGHVprHAYdiWnvY+0zqW1KNZ7eEzeYHbG4T1tRc/Z6bAjJXhqN mwfS92+oCZMbb9GhB1/8rZfugC+0u+aqj0p4Vh3ZRupxPWeV4Cib8aBCc8bps7lT7BUm UAKY1YHjH0f+fhGQK8olyO+EKgVOjKFvdG0l/u3EEzu/2N0Tx6DLDG/Z6PAzyJnoheyx tQDpEHEeqkZ6guz1UHVXy2VAZNukRnHz3cG0QYP9rume4QCrmAUzBs55xdBTu1cichXl gvEA== X-Gm-Message-State: AGi0PuaBYonGG0XIc86UX5VdnqZUSbQdLElHBR5T8Jo88/1+Io5XE1XJ d+joeIujxg47h6CcuAbfIQRfXx3hW40/I3KGsaY= X-Google-Smtp-Source: APiQypKfyW28o3eDfdQGWbuLtAAm2sad+wNPNsLtycnVl/s++9r3xpAP58IPpZ+dIN9Ud7Ela9Mp8L3nBw87cerVxmc= X-Received: by 2002:a17:90a:bc4a:: with SMTP id t10mr715147pjv.104.1588865762716; Thu, 07 May 2020 08:36:02 -0700 (PDT) Original-Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Thu, 7 May 2020 08:36:02 -0700 (PDT) In-Reply-To: <83lfm3kfgb.fsf@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:179886 Archived-At: Hi, I don't know much about modes, I'm an emacs user rather than an emacs programmer. So yep, it was fundamental. I'll do some reading on modes tonight. But FWIW I found this originally happening in another mode where I was trying to identify large chunks easily. So while this is surely my mistake also, to reproduce, I dragged a.txt file from a git repo into emacs (again, windows - started with emacs -Q to be sure) It said 'git-master' in the status bar. M-x describe-mode gives Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption Blink-Cursor Diff-Auto-Refine Electric-Indent File-Name-Shadow Font-Lock Global-Eldoc Global-Font-Lock Line-Number Menu-Bar Mouse-Wheel Tool-Bar Tooltip Transient-Mark I can reproduce my 'wrong' behaviour in this text file. I wasn't expecting that. So FYI and this is surely just my misunderstanding, sorry for messing you around. jan On 07/05/2020, Eli Zaretskii wrote: > [Please keep the bug address on the CC list; use Reply All.] > >> From: jan >> Date: Thu, 7 May 2020 14:39:28 +0100 >> >> Tried it in windows with -Q >> Works as expected in *scratch*, but create another buffer (C-x b asdf) >> and it does not. > > That other buffer is in Fundamental mode, right? Font-lock does > nothing in Fundamental mode. >