From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#51051: Restore longlines.el to non-obsolete status Date: Wed, 06 Oct 2021 14:36:09 +1300 Message-ID: <9ae936c82a87607abd814ae6cd7ef95b@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19488"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail To: 51051@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 06 03:37:11 2021 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 1mXvrq-0004s2-VQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Oct 2021 03:37:10 +0200 Original-Received: from localhost ([::1]:51924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXvrp-0001J1-7z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Oct 2021 21:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXvri-0001If-Sh for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 21:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXvri-0001oy-Kp for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 21:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXvri-0007JI-Fg for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 21:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Oct 2021 01:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51051 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163348417728037 (code B ref -1); Wed, 06 Oct 2021 01:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 01:36:17 +0000 Original-Received: from localhost ([127.0.0.1]:42169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXvqz-0007I8-CI for submit@debbugs.gnu.org; Tue, 05 Oct 2021 21:36:17 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXvqw-0007I0-IV for submit@debbugs.gnu.org; Tue, 05 Oct 2021 21:36:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXvqw-0001Bn-C3 for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 21:36:14 -0400 Original-Received: from smtp-4.orcon.net.nz ([60.234.4.59]:58509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXvqu-00019W-TC for bug-gnu-emacs@gnu.org; Tue, 05 Oct 2021 21:36:14 -0400 Original-Received: from [10.253.37.70] (port=37526 helo=webmail.orcon.net.nz) by smtp-4.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1mXvqs-0000lc-2f for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2021 14:36:10 +1300 Original-Received: from ip-203-94-48-127.kinect.net.nz ([203.94.48.127]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 06 Oct 2021 14:36:09 +1300 X-Sender: psainty@orcon.net.nz X-GeoIP: -- Received-SPF: pass client-ip=60.234.4.59; envelope-from=psainty@orcon.net.nz; helo=smtp-4.orcon.net.nz X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_50=0.8, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:216512 Archived-At: longlines.el was marked obsolete in 24.4 on the basis that visual-line-mode provided a better alternative, and indeed visual-line-mode is better for wrapping lines of normal lengths; however longlines-mode is actually very valuable for editing files with lines that are so long that they cause performance problems. This is because longlines-mode converts the long lines into short lines for editing, and therefore it will give you good performance at *any* position in the file. For this reason, so-long.el has supported longlines-mode as a standard action since version 1.0. While so-long-mode is very fast to enable, it still won't cope well if you move point deep into an incredibly long line. Conversely longlines-mode is slow to enable (as it has to break all the long lines), but it then gives good performance everywhere in the buffer. As such they complement one another (and you can switch between them via the "So Long" menu). As longlines.el is still valuable for reasons unrelated to visual-line-mode, I'd like it to be restored to non-obsolete status. I think the relationship with visual-line-mode (and recommendation of the latter for line-wrapping in general) can just be documented in the longlines commentary. -Phil