From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29360: 26.0; Add full-buffer choice for `isearch-lazy-highlight' Date: Wed, 17 Oct 2018 22:47:26 -0700 (PDT) Message-ID: <60f1b355-7455-4bb9-ae3d-294e1494a9d9@default> References: <7ec3c778-ee77-48c9-ba10-f21202cac955@default> <87shd8lli4.fsf@mail.linkov.net> <36f5e57c-2eb3-45eb-ae43-3f8fdf7586dd@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539841568 18564 195.159.176.226 (18 Oct 2018 05:46:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2018 05:46:08 +0000 (UTC) Cc: 29360@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 18 07:46:03 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 1gD18F-0004jB-Dh for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Oct 2018 07:46:03 +0200 Original-Received: from localhost ([::1]:40310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gD1AL-0002fm-Rm for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Oct 2018 01:48:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gD1AD-0002ff-G0 for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2018 01:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gD1AA-00006H-9p for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2018 01:48:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51810) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gD1AA-00005k-4d for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2018 01:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gD1A9-0004PO-UG for bug-gnu-emacs@gnu.org; Thu, 18 Oct 2018 01:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Oct 2018 05:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29360-submit@debbugs.gnu.org id=B29360.153984166316915 (code B ref 29360); Thu, 18 Oct 2018 05:48:01 +0000 Original-Received: (at 29360) by debbugs.gnu.org; 18 Oct 2018 05:47:43 +0000 Original-Received: from localhost ([127.0.0.1]:56068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gD19r-0004Ol-8N for submit@debbugs.gnu.org; Thu, 18 Oct 2018 01:47:43 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:52074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gD19o-0004OT-Sk for 29360@debbugs.gnu.org; Thu, 18 Oct 2018 01:47:41 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9I5dExi008193; Thu, 18 Oct 2018 05:47:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=RThdXooNi58KsR9A/Okwxjdn0yaHO7VsmRJzu56pNW0=; b=L3sX2RQu0w+6GVGfLyForLMIS5xfQ1rLhUkUmurKFezeWUnW5xbGdSFwEW8l6dHu11i+ 3CxqAB78Vpa3LKpWTHkzM+gETEKDqV8grKokDeawuo+2sRYeaPxTt9MPELQBcUoO36sV p1qaJ8N1ZnoKbHHedWpC5185X9A76jg0Ba6hrwbb2oOEZvFg8tyuTh2RIYhGpQzZwOZg k3S+v2rv1brP0/JTMcDo8F/7vNGcMAnSIxG7CBmwfL1SCENWwD9bWvLeP4tihZTQOWPe rWx4CS20SRkE8SGwX2zoZ/q0zNFUjCwSq/uUwrDqcorYAp2Al+lGCDV7Fau1lE1WV6Si 8A== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2n39brm6y5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Oct 2018 05:47:34 +0000 Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w9I5lSN8022870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Oct 2018 05:47:28 GMT Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w9I5lRTk004201; Thu, 18 Oct 2018 05:47:27 GMT In-Reply-To: <36f5e57c-2eb3-45eb-ae43-3f8fdf7586dd@default> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9049 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=573 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810180054 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:151363 Archived-At: Hi Juri, It would really be good if this enhancement were made - for the reasons I gave in bug #21092, and for other reasons. You asked me (in bug #21092) to file this bug if I thought we needed such a full-buffer possibility. This enhancement request was the result. Did you not have a patch that took care of this? IIRC you then found a problem with it wrt `follow-mode', but I thought you had a solution for that too. (I thought the latter solution was provided by Artur's `all-windows' value for `isearch-lazy-highlight' etc., which was added.) There really is no comparison with hi-lock. Only Isearch provides incremental matching (with highlighting) for a regexp etc. Being able to try a search pattern, see the result as you type, adjust it, etc. is very handy. Then being able to leave the highlighting turned on (via nil `lazy-highlight-cleanup') means you can do all kinds of things with the resulting highlighted text. I do this now, but lack the ability to force highlighting the full buffer. That was my aim in bug #21092. What's the status of this feature? Can we add it to Emacs now? I hope so.