From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57266: Maintaining the base_line_number cache Date: Mon, 22 Aug 2022 09:32:50 -0400 Message-ID: References: <831qteccli.fsf@gnu.org> <834jy4bhqp.fsf@gnu.org> <83y1vga0l5.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17861"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57266@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 22 17:27:55 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ9LH-0004V7-5k for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 17:27:55 +0200 Original-Received: from localhost ([::1]:46458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ9LG-0006l9-1s for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 11:27:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ9Gy-0007QU-Mo for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 11:23:28 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ9Gy-00074X-Bh for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 11:23:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ7Y6-0008Q1-6t for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 09:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Aug 2022 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57266 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57266-submit@debbugs.gnu.org id=B57266.166117518132357 (code B ref 57266); Mon, 22 Aug 2022 13:33:02 +0000 Original-Received: (at 57266) by debbugs.gnu.org; 22 Aug 2022 13:33:01 +0000 Original-Received: from localhost ([127.0.0.1]:38343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ7Y5-0008Pm-0i for submit@debbugs.gnu.org; Mon, 22 Aug 2022 09:33:01 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:9400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ7Y2-0008PZ-PZ for 57266@debbugs.gnu.org; Mon, 22 Aug 2022 09:32:59 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E5EDE1001F3; Mon, 22 Aug 2022 09:32:52 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 9B7D810010E; Mon, 22 Aug 2022 09:32:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1661175171; bh=fO4X8JMr4pjH/r1S/Ejz4e1Drnd9VI8odeQYFLczfAU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hELDuxOtJlwg0QspsN40MkYgnYn8rEFBRTS0Du9YeFxPLAtzeW9uXaTORbzWYLlpn IraqlGR+snreZPG0/KB2L/EdSuOWI32tYzOBCAlKJQolvVCzOv9BS1D2MsgvAcTw5T 2E/O9pOqzRdh9OvfQSDGjnJ7QPJv7x+PWj910e34myGUPU9CznABKC8JO2z/hgaX6z okzYc62ZYYtGZmnn2MS/ru0CHMFszpyydNHskyo6MbbfXTDbelAYhbSHec//lx2g95 hUJWEXzj4iRd0nBL+XD1ttOCwsqGd9Pt15HQW9PRRv5SGmkeOivzIP2ti/q0VVPuhA xIVKEmsreLbkA== Original-Received: from pastel (unknown [45.72.195.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7DB3C120193; Mon, 22 Aug 2022 09:32:51 -0400 (EDT) In-Reply-To: <83y1vga0l5.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 22 Aug 2022 16:07:18 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240433 Archived-At: >> > I didn't just mean just_this_one_p thingy, I meant all the changes >> > that attempt to somehow "clean up" the use of the line-number cache. >> > Why do we have to do that at all? This stuff is not too complex, and >> > it works for ages! Isn't the fact that we find more and more small >> > issues with the changes telling you something? >> >> Yes, it's telling me that the code is a mess and I'm trying to fix it by >> documenting what is actually needed. > > It's fine to fix and enhance the documentation, but please don't fix > the code that works. If the code doesn't match the doc, then we'll never know if the doc is wrong. Stefan