From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: so-long.el updates (was Re: 27.0.50: How can I test a buffer-local window-configuration-change-hook in batch mode?) Date: Sun, 10 Nov 2019 16:50:34 +1300 Message-ID: <30f98e99-9d59-46bd-1b88-50da728e0e95@orcon.net.nz> References: <83ftjixlwh.fsf@gnu.org> <72dda818-78b6-953f-ba5c-e2e1c81c036e@orcon.net.nz> <93cb893c-a77d-112e-e84c-e4f358686abd@gmx.at> <7c3b27d1-7be1-b1de-ae85-728d11f0e771@orcon.net.nz> <474b5ee0-d765-03fd-51df-789532a9fd32@gmx.at> <82af48d7-d737-8332-9ed9-7df4bc6c0ebb@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="16941"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: martin rudalics , Eli Zaretskii , Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 10 04:51:19 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTeFy-0004KS-Ri for ged-emacs-devel@m.gmane.org; Sun, 10 Nov 2019 04:51:18 +0100 Original-Received: from localhost ([::1]:41156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTeFx-0007Jo-Nz for ged-emacs-devel@m.gmane.org; Sat, 09 Nov 2019 22:51:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56395) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTeFV-0007Jf-Tk for emacs-devel@gnu.org; Sat, 09 Nov 2019 22:50:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTeFT-0004fM-Q2 for emacs-devel@gnu.org; Sat, 09 Nov 2019 22:50:49 -0500 Original-Received: from smtp-4.orcon.net.nz ([60.234.4.59]:59229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iTeFR-0004eP-DK; Sat, 09 Nov 2019 22:50:45 -0500 Original-Received: from [116.251.203.175] (port=22829 helo=[192.168.20.103]) by smtp-4.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1iTeFG-0004DS-QS; Sun, 10 Nov 2019 16:50:35 +1300 In-Reply-To: Content-Language: en-GB X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 60.234.4.59 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:242065 Archived-At: Thanks for all the input regarding the window change functions. I've settled on keeping things more or less as I had them when I asked the question, but I've updated the documentation to clarify that it's possible for long lines in invisible buffers to cause performance issues. I've stuck with a default behaviour of "do nothing until the buffer is displayed" as I believe that is the safest approach for end users in general. https://lists.gnu.org/archive/html/emacs-diffs/2019-11/msg00126.html If there are no objections, I'll rebase & merge this and the rest of the scratch/so-long-updates branch sometime soon. https://lists.gnu.org/archive/html/emacs-diffs/2019-11/msg00119.html The other notable changes in the branch are to make the unload-feature support more complete, plus some backwards-compatibility improvements so that users with old versions installed will not encounter problems with the new version (which gets this closer to an ELPA release, too). I've also added all of flymake-mode, flyspell-mode, and flycheck-mode to so-long-minor-modes, so they will be disabled by default in any buffer where so-long triggers. I'm pretty sure that modes which are liable to annotate the buffer in some way are sensible to switch off by default. Once these changes are merged, I'll ask people to do some testing in their own environments, and I expect there would be adjustments to the default config resulting from that; and then we could likely make an ELPA release. -Phil