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#57212: 29.0.50; [PATCH] Citizen's arrest of end-of-defun-moves-to-eol Date: Tue, 16 Aug 2022 15:59:39 +0300 Message-ID: <83h72cfio4.fsf@gnu.org> References: <87k07au2i8.fsf@dick> <3a1232a17bcbf1cba5cc@heytings.org> <83czd0hqe0.fsf@gnu.org> <325f95fd2be1f7d43efb@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3099"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57212@debbugs.gnu.org, dick.r.chiang@gmail.com To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 15:02:12 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 1oNwCx-0000Wb-FV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 15:02:11 +0200 Original-Received: from localhost ([::1]:58996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNwCw-0001ka-AK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 09:02:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNwAs-00016J-JH for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 09:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNwAs-0006kK-7X for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 09:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNwAs-0000UY-0m for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 09:00: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: Tue, 16 Aug 2022 13:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57212 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch notabug Original-Received: via spool by 57212-submit@debbugs.gnu.org id=B57212.16606547991853 (code B ref 57212); Tue, 16 Aug 2022 13:00:01 +0000 Original-Received: (at 57212) by debbugs.gnu.org; 16 Aug 2022 12:59:59 +0000 Original-Received: from localhost ([127.0.0.1]:45258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNwAp-0000To-8y for submit@debbugs.gnu.org; Tue, 16 Aug 2022 08:59:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNwAm-0000Tb-SW for 57212@debbugs.gnu.org; Tue, 16 Aug 2022 08:59:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNwAh-0006jX-Cm; Tue, 16 Aug 2022 08:59:51 -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=+8n82mULdVBxQe3VHyRJpyN7RDyoQibIOsCOGmwmliw=; b=NjqVeulqsp3k B/xCUJRBZLY+BvtK8OasHe4vmKff9qz/GgkYxaQ5U/gGXqA0Bwp+R51bNOTrAPEmWQ7pDraS40OuK qYUv8uT8irHbNmGctmfMS+7ZfGF2Pn3W3lmXNoroiR9iNA8lc7uNfiFK9N0J8eDv3V4QWradyhBPk gabDea9Awem7DYGeUjtyA5DvTOarnUR4xq/eh4a++ddESyvQ38oL1jDuUOFPSl3Mlo2J5PPNC+Zd4 n29DCBNu59WhU3lUtAEhtBoxtMD/xEYrSfJF7YO67lVSLywK0i/b1gEnTtWTtJ7atMl6ZLvBU41W+ xEwPGKLuVAqIGUPKTqw8rQ==; Original-Received: from [87.69.77.57] (port=4861 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 1oNwAg-0006V2-Rc; Tue, 16 Aug 2022 08:59:51 -0400 In-Reply-To: <325f95fd2be1f7d43efb@heytings.org> (message from Gregory Heytings on Tue, 16 Aug 2022 08:14:46 +0000) 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:239923 Archived-At: > Date: Tue, 16 Aug 2022 08:14:46 +0000 > From: Gregory Heytings > cc: dick.r.chiang@gmail.com, 57212@debbugs.gnu.org > > >>> If you're convinced narrowing within a critical section of redisplay > >>> is safe (and I suspect it is), do it all the time, not just when > >>> "long_line_optimizations_p" is true. > >> > >> That might indeed be what Emacs could do in the long term, once we have > >> enough experience with it. > > > > No, it shouldn't, because of the adverse effects of that on some aspects > > of the Emacs behavior. > > Indeed. I should have added something like "if we find a way to cope with > these adverse effects". I agree, but I have hard time imagining that miracle, not without completely redesigning the display engine (and maybe some other parts of Emacs, like buffer text) based on very different principles. Most of the "optimizations" we made are actually shortcuts which ignore certain aspects of display that we decided were less important than reasonable response time.