From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.bugs Subject: bug#20783: 25.0.50; [PATCH] byte-to-position has internal off-by-one bug Date: Tue, 16 Jun 2015 18:31:08 +0200 Message-ID: <85fv5rvcmr.fsf@iznogoud.viz> References: <85fv5za8vv.fsf@iznogoud.viz> <83vbevsctb.fsf@gnu.org> <85oakmxn4i.fsf@iznogoud.viz> <85k2v3veg7.fsf@iznogoud.viz> <83mvzzmy9a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1434472349 24892 80.91.229.3 (16 Jun 2015 16:32:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2015 16:32:29 +0000 (UTC) Cc: 20783@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 16 18:32:19 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z4tmX-000158-7I for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jun 2015 18:32:13 +0200 Original-Received: from localhost ([::1]:41419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4tmW-0006Q8-M4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jun 2015 12:32:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4tmS-0006Po-UW for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2015 12:32:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4tmM-00085w-NN for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2015 12:32:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4tmM-00085p-LD for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2015 12:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z4tmM-0006nS-8e for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2015 12:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Wolfgang Jenkner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jun 2015 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20783 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20783-submit@debbugs.gnu.org id=B20783.143447228126078 (code B ref 20783); Tue, 16 Jun 2015 16:32:02 +0000 Original-Received: (at 20783) by debbugs.gnu.org; 16 Jun 2015 16:31:21 +0000 Original-Received: from localhost ([127.0.0.1]:56037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4tlg-0006mX-3m for submit@debbugs.gnu.org; Tue, 16 Jun 2015 12:31:20 -0400 Original-Received: from b2bfep13.mx.upcmail.net ([62.179.121.58]:46296) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4tld-0006mJ-CK for 20783@debbugs.gnu.org; Tue, 16 Jun 2015 12:31:18 -0400 Original-Received: from edge11.upcmail.net ([192.168.13.81]) by b2bfep13.mx.upcmail.net (InterMail vM.8.01.05.11 201-2260-151-128-20120928) with ESMTP id <20150616163110.GIZU20529.b2bfep13-int.chello.at@edge11.upcmail.net> for <20783@debbugs.gnu.org>; Tue, 16 Jun 2015 18:31:10 +0200 Original-Received: from iznogoud.viz ([91.119.133.139]) by edge11.upcmail.net with edge id h4X81q00v30cwdn0B4X81s; Tue, 16 Jun 2015 18:31:10 +0200 X-SourceIP: 91.119.133.139 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.85 (FreeBSD)) (envelope-from ) id 1Z4tlU-0001Li-Hf; Tue, 16 Jun 2015 18:31:08 +0200 In-Reply-To: <83mvzzmy9a.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Jun 2015 19:08:49 +0300") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (berkeley-unix) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103996 Archived-At: On Tue, Jun 16 2015, Eli Zaretskii wrote: > So I prefer the previous variant, even though it will lose that > benchmark. Neither do I care about winning the benchmark. It just seemed the better code from a micro-optimization point of view (in a single-threaded emacs). But I can't argue against your global arguments, of course. Thanks for explaining things.