From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: follow-mode: extremely slow in combination with org-mode Date: Sun, 17 Jun 2018 18:13:23 +0300 Message-ID: <83bmc9tpik.fsf@gnu.org> References: <87zhzvc9km.fsf@tu-berlin.de> <83r2l7yn52.fsf@gnu.org> <87y3fedgnq.fsf@tu-berlin.de> <838t7ezokb.fsf@gnu.org> <877emx3not.fsf@tu-berlin.de> <83lgbdu8zs.fsf@gnu.org> <20180617111333.GA12093@ACM> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529248292 11043 195.159.176.226 (17 Jun 2018 15:11:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Jun 2018 15:11:32 +0000 (UTC) Cc: wildgruber@tu-berlin.de, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 17 17:11:27 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fUZKu-0002i6-22 for ged-emacs-devel@m.gmane.org; Sun, 17 Jun 2018 17:11:24 +0200 Original-Received: from localhost ([::1]:55559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUZN1-0006vm-6t for ged-emacs-devel@m.gmane.org; Sun, 17 Jun 2018 11:13:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUZMv-0006vW-8Z for emacs-devel@gnu.org; Sun, 17 Jun 2018 11:13:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUZMs-0000Az-20 for emacs-devel@gnu.org; Sun, 17 Jun 2018 11:13:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUZMr-0000At-Ux; Sun, 17 Jun 2018 11:13:25 -0400 Original-Received: from [176.228.60.248] (port=2974 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fUZMr-0000AK-DG; Sun, 17 Jun 2018 11:13:25 -0400 In-reply-to: <20180617111333.GA12093@ACM> (message from Alan Mackenzie on Sun, 17 Jun 2018 11:13:33 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226412 Archived-At: > Date: Sun, 17 Jun 2018 11:13:33 +0000 > From: Alan Mackenzie > Cc: Gerald Wildgruber , emacs-devel@gnu.org > > commit c93b886f957b55df4fe45d986c34242832ec4a28 > Author: Chong Yidong > Date: Sun Apr 29 09:48:23 2012 +0800 > > Fix Follow mode's calculation of window ends. > > * lisp/follow.el (follow-calc-win-end): Rewrite to handle partial > screen lines correctly. > (follow-avoid-tail-recenter): Minor cleanup. > > Fixes: debbugs:8390 Btw, bug#8390 is back. My testing indicates that it was fixed in Emacs 24.3 (I guess by the above change), and then became broken again in Emacs 24.4. Try "C-x C--" in a buffer under follow-mode, and you will see the erratic behavior.