From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57266: Maintaining the base_line_number cache Date: Mon, 22 Aug 2022 16:07:18 +0300 Message-ID: <83y1vga0l5.fsf@gnu.org> References: <831qteccli.fsf@gnu.org> <834jy4bhqp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37156"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57266@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 22 15:08:14 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 1oQ7A4-0009NQ-Pl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 15:08:12 +0200 Original-Received: from localhost ([::1]:49470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ7A3-0004QQ-C9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 09:08:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ79u-0004OR-Ts for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 09:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ79u-000793-KK for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 09:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ79u-0007ml-48 for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 09:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Aug 2022 13:08: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.166117364329868 (code B ref 57266); Mon, 22 Aug 2022 13:08:02 +0000 Original-Received: (at 57266) by debbugs.gnu.org; 22 Aug 2022 13:07:23 +0000 Original-Received: from localhost ([127.0.0.1]:38305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ79H-0007lg-8E for submit@debbugs.gnu.org; Mon, 22 Aug 2022 09:07:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ79E-0007lP-7W for 57266@debbugs.gnu.org; Mon, 22 Aug 2022 09:07:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ798-00070C-VY; Mon, 22 Aug 2022 09:07:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Rgfbni1/jylNTx3U+NEFoqF/eNjA5ias/CBt4eHW6iA=; b=g0AmcghHrGxj iIe8Ffpu9/TUvMO0LKtWvnOJZpqz8oQ6GWCeV4JWJvm9LsTWqyy197+QSiYiwm2NM31Q43MCDl1GC W1GZqeaC9+F7woVyaY5xxD5jZurtf7H45dZQwLygqhNsIVwEmejT1t/P3STH7tSTj5xLpEFwRJtxP sBj+GklKcFjB7yaCJYbZQE9uZeObQbLTK3BrhwdlIpUqFN8fGjCqNtMmzi1oTnGbPL9WNORhadlNV UjhF6MzzLc6o5mOIRhlkpTPgIpQCNRNsen3DPh5a/R36NPd+fW/xfy9Li+9IcEB920dNw0Do3nlUg RSfF/8bnm96hdFBQ1WxIsw==; Original-Received: from [87.69.77.57] (port=4518 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ798-0003b0-DU; Mon, 22 Aug 2022 09:07:14 -0400 In-Reply-To: (message from Stefan Monnier on Mon, 22 Aug 2022 08:41:41 -0400) 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:240421 Archived-At: > From: Stefan Monnier > Cc: 57266@debbugs.gnu.org > Date: Mon, 22 Aug 2022 08:41:41 -0400 > > > 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.