From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#33446: 26; `isearch-lazy-highlight-update' in MASTER today Date: Thu, 22 Nov 2018 00:42:34 +0200 Organization: LINKOV.NET Message-ID: <87y39mdpd1.fsf@mail.linkov.net> References: <2c20f006-c54f-423e-ad4e-f1208f3fa179@default> <87h8gb5owm.fsf@mail.linkov.net> <064c334d-cfd8-4610-a320-2d4ca68b437b@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542840974 15576 195.159.176.226 (21 Nov 2018 22:56:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2018 22:56:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 33446-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 21 23:56:10 2018 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 1gPbPl-0003xK-Oo for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Nov 2018 23:56:10 +0100 Original-Received: from localhost ([::1]:42880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPbRs-0000iw-9h for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Nov 2018 17:58:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPbF6-0005If-Iu for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2018 17:45:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPbF1-0008Hb-CX for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2018 17:45:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPbF0-0008Gm-TH for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2018 17:45:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gPbF0-0004st-RC for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2018 17:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Nov 2018 22:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 33446-done@debbugs.gnu.org id=D33446.154284025918698 (code D ref 33446); Wed, 21 Nov 2018 22:45:02 +0000 Original-Received: (at 33446-done) by debbugs.gnu.org; 21 Nov 2018 22:44:19 +0000 Original-Received: from localhost ([127.0.0.1]:40315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPbEH-0004rV-J6 for submit@debbugs.gnu.org; Wed, 21 Nov 2018 17:44:18 -0500 Original-Received: from common.maple.relay.mailchannels.net ([23.83.214.38]:6647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPbEF-0004rM-Cr for 33446-done@debbugs.gnu.org; Wed, 21 Nov 2018 17:44:16 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E29501247AC; Wed, 21 Nov 2018 22:44:13 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a37.g.dreamhost.com (unknown [100.96.11.179]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9DD57124239; Wed, 21 Nov 2018 22:44:13 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a37.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Wed, 21 Nov 2018 22:44:13 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Quick-Juvenile: 03f934ab10452125_1542840253724_982166810 X-MC-Loop-Signature: 1542840253724:3301599368 X-MC-Ingress-Time: 1542840253724 Original-Received: from pdx1-sub0-mail-a37.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a37.g.dreamhost.com (Postfix) with ESMTP id 630308092B; Wed, 21 Nov 2018 14:44:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=qqjHQhj5l3T3d0TxR9Lst+il+Lc=; b= B/uq0J1vQdZv4milRoaVVex4xR5sfAOt6F8NSI6ODqcCp4OpSdFOBK8S/fmHwhsY uy7LAvXHrat8KqHT8BurMPWrYeN0tBgQ2Lur6PoKuU43MMoVrbMSk0R07/hBjj7e CK+LF88xoIiqy0M8WgqDShN517hWb84I7SMLn+SZXyI= Original-Received: from mail.jurta.org (m91-129-105-252.cust.tele2.ee [91.129.105.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a37.g.dreamhost.com (Postfix) with ESMTPSA id 89D1180920; Wed, 21 Nov 2018 14:44:05 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a37 In-Reply-To: <064c334d-cfd8-4610-a320-2d4ca68b437b@default> (Drew Adams's message of "Tue, 20 Nov 2018 15:47:53 -0800 (PST)") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedruddtkedgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdehrddvhedvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddthedrvdehvddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegurhgvfidrrggurghmshesohhrrggtlhgvrdgtohhmnecuvehluhhsthgvrhfuihiivgepud 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:152650 Archived-At: > Yes, I guessed that finally. Beyond that, I think it's > not intended to be invoked outside of search (i.e., > when `isearch-mode' is nil). That was my mistake: > invoking it in a command that can be used during Isearch > or not. > > I know that wasn't intended as part of the Isearch > design. Now I test for it and avoid calling `i-l-h-u'. > > (But it might not hurt for `i-l-h-u' itself to test and > do nothing if `isearch-mode' is nil. I'm not requesting > that, however.) isearch-lazy-highlight-update can't test for non-nil isearch-mode, because it's also used in non-isearch cases like in query-replace where isearch-mode is nil. > Feel free to close this bug, if you like. It's not > clear to me whether any code change is needed. I thought that your request was for using isearch-lazy-highlight-window as an argument of window functions in isearch-lazy-highlight-update. If you need this, then please create a new request, and I'm closing this one.