From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.bugs Subject: bug#25751: Query replace lazy highlighting Date: Thu, 16 Feb 2017 14:18:31 +0100 Message-ID: <87mvdmxoig.fsf@lambda> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487251395 17076 195.159.176.226 (16 Feb 2017 13:23:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2017 13:23:15 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 26.0.50.1 To: 25751@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 16 14:23:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceM1a-0003iX-OG for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Feb 2017 14:23:07 +0100 Original-Received: from localhost ([::1]:46617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceM1e-0001Wx-SY for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Feb 2017 08:23:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceLwj-0005Wp-PR for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2017 08:18:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceLwg-0002FF-Hs for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2017 08:18:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43577) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ceLwg-0002FA-EJ for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2017 08:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ceLwg-0007ec-5t for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2017 08:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Antoine Levitt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Feb 2017 13:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25751 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148725105829389 (code B ref -1); Thu, 16 Feb 2017 13:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2017 13:17:38 +0000 Original-Received: from localhost ([127.0.0.1]:41776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceLwI-0007dx-4K for submit@debbugs.gnu.org; Thu, 16 Feb 2017 08:17:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceLwH-0007dk-3U for submit@debbugs.gnu.org; Thu, 16 Feb 2017 08:17:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceLw5-00026s-Up for submit@debbugs.gnu.org; Thu, 16 Feb 2017 08:17:31 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ceLw5-00026n-RV for submit@debbugs.gnu.org; Thu, 16 Feb 2017 08:17:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceLw4-0004mb-HU for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2017 08:17:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceLw1-00025Z-CI for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2017 08:17:24 -0500 Original-Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:33156) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ceLw1-00025L-5u for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2017 08:17:21 -0500 Original-Received: by mail-wr0-x230.google.com with SMTP id i10so11474812wrb.0 for ; Thu, 16 Feb 2017 05:17:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=x+xgEs3gBqXLBG9NFJtt3FUJ/UPdcxwl8Hi4N9lCUHg=; b=RMa2Fr2HLwydggb68pzG+8cRYY4giaehQ2gNOJhsGfIC2/CLFIzIug1W7D4g65x8NM xdJq/XN+RFM893bxBHiSECXLeMOpeiA2qrgPtYI81AJO33RWaie7lY13iT//YE0iQDL8 lKN7DCqNR49qyrgm1/jozSCVJi8gPcrSyim+8AwhM31Xx/mQw8ph6deZx1TeXkbK1A9V cG1Oi5nsCaf9z9/BuGOzSophv2TLKu0sunrPPg2NPa9saPxLdoNpTnu8OHyGuMdCeBQ5 jRzLcfFftC7ItqD7xHd9W2bTG9wmDs6DlgYJWqh/1Qw6Bq+HmTctSLCEAscS3J16B+2j zsFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=x+xgEs3gBqXLBG9NFJtt3FUJ/UPdcxwl8Hi4N9lCUHg=; b=OEJgHFYHveb9ysOkbATzrbjudYupfIKzY/3ocVuoQ/omHxXZfGGn8a/I4gALDX/HiS tELVivGACwuWCeWZgn0rPB7ke41brpfdzQQIvNMzG6wrFoaVQrVU7TcSuzNG67S2Y6IP kJ2BspAPqo9gRCFlUYPSMwI9bff5Noiv76PhStjUQmAJNVYc/SOQ9uyqouIiXZsVd3gA ZuG/7t3jGJsAJQsgibRyqDNx52tNvnyjTch5F6+nk5YIRXGRRxeH8DreZYp6oVVABnOY 5xGQbyQd95DnZRRxhOAWKhckU9lpCmGPbHpsnjiGypvzKLwHlqtELTJR9LZiReHA8tdk FBew== X-Gm-Message-State: AMke39nwVOTHk5e1mvpzAeEeOzndhxMTpbxX1+rlqwhXNfGlAmcpKYOAgZ2rvoaBjv5K5w== X-Received: by 10.223.133.220 with SMTP id 28mr2440543wru.97.1487251039770; Thu, 16 Feb 2017 05:17:19 -0800 (PST) Original-Received: from lambda (fw.enpc.fr. [194.57.247.3]) by smtp.gmail.com with ESMTPSA id 45sm8913965wrx.60.2017.02.16.05.17.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Feb 2017 05:17:18 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129405 Archived-At: (apologies if this has been posted before, but I can't find any references) When query-replacing and confirming, matches get unhighlighted, and then highlighted again, which is very distracting. E.g. open a file, M-% a -> a, y, other matches of a get unhighlighted then highlighted again. (setq lazy-highlight-initial-delay 0) (shouldn't it be default by the way, at least on graphical displays?) reduces the problem but does not eliminate it (it produces small flickers). There's lazy-highlight-cleanup, but that disables cleanup completely, which I don't want. Can't this be eliminated? Best, Antoine