From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#39597: 27.0.60: M-x occur adds fontification to fundamental-mode Date: Fri, 21 Feb 2020 20:09:41 +0100 Message-ID: <87a75biwp6.fsf@gmail.com> References: <87imk960qb.fsf@gmail.com> <8736b8eosv.fsf@mail.linkov.net> <874kvna4uv.fsf@mail.linkov.net> <83zhddjomi.fsf@gnu.org> <871rqpt6qm.fsf@gmail.com> <83wo8hjajp.fsf@gnu.org> <87sgj4sxlu.fsf@gmail.com> <83tv3kjslp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="105648"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 39597@debbugs.gnu.org, Stefan Monnier , Juri Linkov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 21 20:10:22 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 1j5Dgr-000RKA-11 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Feb 2020 20:10:21 +0100 Original-Received: from localhost ([::1]:35286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5Dgp-0008EC-SK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Feb 2020 14:10:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57298) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5Dga-0008Dm-DD for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 14:10:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5DgY-0004NR-6Y for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 14:10:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42162) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5DgY-0004NK-2l for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 14:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5DgX-0000Ok-T6 for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2020 14:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Feb 2020 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39597 X-GNU-PR-Package: emacs Original-Received: via spool by 39597-submit@debbugs.gnu.org id=B39597.15823121961514 (code B ref 39597); Fri, 21 Feb 2020 19:10:01 +0000 Original-Received: (at 39597) by debbugs.gnu.org; 21 Feb 2020 19:09:56 +0000 Original-Received: from localhost ([127.0.0.1]:48135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5DgR-0000OM-Ul for submit@debbugs.gnu.org; Fri, 21 Feb 2020 14:09:56 -0500 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:33705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5DgP-0000O9-RN for 39597@debbugs.gnu.org; Fri, 21 Feb 2020 14:09:54 -0500 Original-Received: by mail-wr1-f46.google.com with SMTP id u6so3256178wrt.0 for <39597@debbugs.gnu.org>; Fri, 21 Feb 2020 11:09:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=qJcPencGFGK+42DLVCK6xOmjg6QjmNceqzCzuvS56wc=; b=j3kOO0YEU1pfPejTTcuw9XBGOOUaHESROd1cloxAN/OdD+d6oH/dZcYkQUPrXKMVxY CKAWSqNF+HrGGSO1qnSCPjHJInKTeTkCfhGsohJWVPSCAYW8YpDGZp2+bp2J0kF77e08 MRLhB4uc4GcW9XEBXcdSfGH51ORI51ZRP/auRi/FHCRIf5w1acFnoLRD+3ToLjtnl8DF 8y+Zl32P5dvNK+UOoRW8NSXACc2fTofu8BY+o3qsMRpgRXJwtfGw3SYHBykUXtuKunhJ Zb4xNWm79oGaT5qWpw2HBUXVaLVcLlajludhfERwQmrYNHqEkw6uqIUANeLuo2vOqqGn hU0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=qJcPencGFGK+42DLVCK6xOmjg6QjmNceqzCzuvS56wc=; b=J3cq6brHehU1v0QdpNjmXaPDin7a0INxtHp3cf+pfqffR+Uic3y4ZE41c93zVXiIPA V5i6ESRXunb/Y0d6PoqRU0aL2Lu7KZfTdtqg4lGWVW+HIPpNeKUEzFf+V72ZPo8a5HJB x6vQprZ6ALuDzRJKcqTVCMiqXNfCVgz9Pfgb0YeINZfYs7o/UvuGkyJKtAKxZxRUtnv8 Q4yOCb45+1s/VD8Du/s3lIfFcrLOZDUltIINXZkT7+J75sWgaln5sIw33oHft+3hn6xf hImvU2ZiQjxsgDCdtmbvZ3osIE6eS7k+3rjG9S2WOU/mDWfX5XQHjLubvGGoULF13Fob E6yw== X-Gm-Message-State: APjAAAV0nvloDpBYKTM/uBil0Eji/pLl7aNcdKTbKUXvbw7zUIdLT1uu MKw+tjzaiUts8kviydyj2O0= X-Google-Smtp-Source: APXvYqz0PtbaGF3qOcF2d20T0gB0Nlqik8RSWbM0sQ7ZIxXFlKHrkjBt1VSsalUO8VkK28w0xPCUlQ== X-Received: by 2002:adf:e641:: with SMTP id b1mr49949653wrn.34.1582312187908; Fri, 21 Feb 2020 11:09:47 -0800 (PST) Original-Received: from hirondell ([109.190.253.11]) by smtp.gmail.com with ESMTPSA id g17sm5461325wru.13.2020.02.21.11.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2020 11:09:46 -0800 (PST) In-Reply-To: <83tv3kjslp.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Feb 2020 09:40:34 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:176372 Archived-At: Eli Zaretskii writes: > The fix installed on master (If you are referring to Stefan's patch, AFAICT it has not been committed to master yet.) > is in a much more general place, and will > affect much more than just occur-engine. I'm okay with a bug-fix > change on the release branch which is local to this place in > replace.el, but I don't want to risk breaking unrelated code by > changing font-lock.el. Idle musing: I wonder if something could be done inside fundamental-mode. It's not the only fontification issue I've noticed there[1]. > Another alternative is to revert the offending changes in fb16313025 > on the release branch. Since it is an enhancement, perhaps we could > live without it in Emacs 27. I don't have a preference about that. Juri? [1] E.g. (I was about to report this as a distinct issue=E2=80=A6 someday= =E2=80=A6) C-x b foo foo RET bar RET baz RET M-s h r a RET RET aaaa =E2=87=92 In all modes *but* fundamental-mode, hi-lock-mode dynamically highlights new matches (e.g. the added "aaaa" string here). This bug is not strictly related to the current one, since the former has been with us since at least 26.3, but that does make me wonder whether both issues could be solved by turning some font-lock knob in fundamental-mode=E2=80=A6