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#29321: Isearch hit count Date: Mon, 29 Oct 2018 20:47:54 -0700 (PDT) Message-ID: <0c528498-5a1d-4f0f-9884-7e6fdc8201a9@default> References: <87o9bfqfc3.fsf@mail.linkov.net> <988284b2-58af-428d-9c6f-da56db0c6565@default> <874ld5elxb.fsf@mail.linkov.net> <3e52e081-ad81-41a6-a0d6-295790db82d4@default> <877ei049f6.fsf@mail.linkov.net> <2231d642-cb4a-4114-9896-be995e4c6460@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 1540871227 31892 195.159.176.226 (30 Oct 2018 03:47:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2018 03:47:07 +0000 (UTC) Cc: charles@aurox.ch, 29321@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 30 04:47: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 1gHKze-0008AU-B5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2018 04:47:02 +0100 Original-Received: from localhost ([::1]:50547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHL1k-0002yR-L2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2018 23:49:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHL1e-0002y6-JW for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2018 23:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHL1b-0005go-7i for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2018 23:49:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHL1b-0005gb-2D for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2018 23:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHL1Z-0001VU-SZ for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2018 23:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Oct 2018 03:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29321 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29321-submit@debbugs.gnu.org id=B29321.15408712915724 (code B ref 29321); Tue, 30 Oct 2018 03:49:01 +0000 Original-Received: (at 29321) by debbugs.gnu.org; 30 Oct 2018 03:48:11 +0000 Original-Received: from localhost ([127.0.0.1]:52848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHL0l-0001UG-0o for submit@debbugs.gnu.org; Mon, 29 Oct 2018 23:48:11 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:48132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHL0j-0001U2-0o for 29321@debbugs.gnu.org; Mon, 29 Oct 2018 23:48:09 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9U3d42v170810; Tue, 30 Oct 2018 03:47:56 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=xQjWYuK7nm5FeoCgA0WRfrGPmh0wZp3ptnn2V3O+Nlw=; b=H3+2zZEDYK53r1w7tbglSTI+AIJplB5Szp8YydjMsG6xNPr66L7mj1BegOCCTTGWXnTI zdeWziwyBe4E8SQraMITGVfKqu8752bSdASO4XJ9Gg2JejqGknFVlAk41vK2OD9TdaR8 nBXoRqsK9ujIySzEXXfGeQxEGrFM5OAo0jeS2EWBz1iEVEXp+fGYLZe8eNT9cNqOPN7m 0c9xzh2Zp0URF6TFY/skidgE+T6H58FY60MxPxfVlp2/aAvf9k1bMnd0CtBjtTl0URae BaxBPWIEnMogdI5hpXbWomrWs0dnpw/yqxo0Lq6jDfguZT4tvbHyew8bXdLcm/2TJAfD MQ== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2nduckx33u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Oct 2018 03:47:55 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w9U3lt1Q018489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Oct 2018 03:47:55 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w9U3ltOh013526; Tue, 30 Oct 2018 03:47:55 GMT In-Reply-To: <2231d642-cb4a-4114-9896-be995e4c6460@default> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4756.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9061 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=302 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810300030 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:151804 Archived-At: Here's another hypothesis for losing the count in the prompt. It might also explain why it's easier in my code, which is slower, to lose the prompt. It's harder to lose the count in vanilla Emacs with your file, but with my version (my code) I can lose it quite easily by doing this: Repeat searching so fast (hold down the key) that Isearch does not bother to lazy-highlight each hit - it just moves forward to the next match each time, rapidly, skipping lazy highlighting (because there is no time to lazy highlight - all effort is spent on moving to the next match). When I do that, in my (slower) code, the count is lost from the prompt, pretty consistently. And even if I then slow down it does not come back. Eventually it might come back. And changing direction also seems to be a time when it can get lost. Dunno whether this info helps, especially because I see the problem much more with my own version. It's harder to repro it for vanilla Emacs (just your file). Thx - Drew