From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#33708: 26.1.90; nhexl-mode performance Date: Fri, 14 Dec 2018 17:52:31 -0500 Message-ID: References: <8d6352ac-4bca-fb76-8c2f-dd597e481e8e@bgc-jena.mpg.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544827868 13551 195.159.176.226 (14 Dec 2018 22:51:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2018 22:51:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: Guido Kraemer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 14 23:51: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 1gXwIQ-0003PM-Ck for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 23:51:02 +0100 Original-Received: from localhost ([::1]:35851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXwKX-0000j3-5h for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 17:53:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXwKP-0000f4-R9 for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 17:53:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXwKM-0007sr-Jj for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 17:53:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXwKM-0007sD-CE for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 17:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXwKM-0004P9-9l for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 17:53:02 -0500 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Dec 2018 22:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33708 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 33708@debbugs.gnu.org, monnier@iro.umontreal.ca, gkraemer@bgc-jena.mpg.de Original-Received: via spool by 33708-done@debbugs.gnu.org id=D33708.154482796016901 (code D ref 33708); Fri, 14 Dec 2018 22:53:02 +0000 Original-Received: (at 33708-done) by debbugs.gnu.org; 14 Dec 2018 22:52:40 +0000 Original-Received: from localhost ([127.0.0.1]:48647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXwK0-0004OW-BI for submit@debbugs.gnu.org; Fri, 14 Dec 2018 17:52:40 -0500 Original-Received: from pmta11.teksavvy.com ([76.10.157.34]:30585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXwJx-0004OH-7K for 33708-done@debbugs.gnu.org; Fri, 14 Dec 2018 17:52:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2HgEgC/MxRc/+yTpUVkHAEBAQQBAQcEAQGBZYIEgWiIVYRGixkBggwTIgGZGwENhGYEAgKDBSM4EgEDAQEBAQEBAgICaSiFPgEEAVYoCwsOJhIUGA0khS0Ipz6KKooeBIIzgX+EI4RrhXMCkEqFPYsRCZFyiXOHX5lVDIFdIoFWMxoIMIMokHgkjmUBAQ X-IPAS-Result: A2HgEgC/MxRc/+yTpUVkHAEBAQQBAQcEAQGBZYIEgWiIVYRGixkBggwTIgGZGwENhGYEAgKDBSM4EgEDAQEBAQEBAgICaSiFPgEEAVYoCwsOJhIUGA0khS0Ipz6KKooeBIIzgX+EI4RrhXMCkEqFPYsRCZFyiXOHX5lVDIFdIoFWMxoIMIMokHgkjmUBAQ X-IronPort-AV: E=Sophos;i="5.56,354,1539662400"; d="scan'208";a="58522511" Original-Received: from 69-165-147-236.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.147.236]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Dec 2018 17:52:31 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 10298AEA23; Fri, 14 Dec 2018 17:52:31 -0500 (EST) In-Reply-To: (Guido Kraemer's message of "Fri, 14 Dec 2018 23:15:40 +0100") 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:153467 Archived-At: > - Thanks for fixing this, performance is great now! Thanks for confirming. > - Sorry for using that weird site for file sharing, you could have installed > the bitcoin client (which is MIT licensed) and downloaded the > blockchain ;-), I hesitated to do that, indeed. > what would you use for ad-hoc file sharing? I'd put it on my web server, not linked from any page. > - I think there is another minor bug: When the cursor is at the very > beginning of the buffer and you search for the byte sequence at the very > beginning of the file, search will jump to the second occurrence. Happens in > the example of the original bug report. Yeah, it's a misfeature that I'm not sure how to fix: When you type `C-s f a`, you first search for `f` and this one is not treated as a hex-search so it jumps to the first `f` char, so when you get to type `a` Isearch keeps searching from that `f` rather than restarting from the beginning of the buffer. I could change the rule so that `C-s f` already treats `f` as a hex-search, I guess. Stefan