GNU bug report logs - #51051
Restore longlines.el to non-obsolete status

Previous Next

Package: emacs;

Reported by: Phil Sainty <psainty <at> orcon.net.nz>

Date: Wed, 6 Oct 2021 01:37:02 UTC

Severity: wishlist

Merged with 18589

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51051 in the body.
You can then email your comments to 51051 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#51051; Package emacs. (Wed, 06 Oct 2021 01:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Phil Sainty <psainty <at> orcon.net.nz>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 06 Oct 2021 01:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Phil Sainty <psainty <at> orcon.net.nz>
To: bug-gnu-emacs <at> gnu.org
Subject: Restore longlines.el to non-obsolete status
Date: Wed, 06 Oct 2021 14:36:09 +1300
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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51051; Package emacs. (Wed, 06 Oct 2021 09:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 51051 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: 51051 <at> debbugs.gnu.org
Subject: Re: bug#51051: Restore longlines.el to non-obsolete status
Date: Wed, 06 Oct 2021 11:21:09 +0200
Phil Sainty <psainty <at> orcon.net.nz> writes:

> 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 that makes sense.  Does anybody else object?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51051; Package emacs. (Wed, 06 Oct 2021 23:17:02 GMT) Full text and rfc822 format available.

Message #11 received at 51051 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Phil Sainty <psainty <at> orcon.net.nz>, Glenn Morris <rgm <at> gnu.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>, 51051 <at> debbugs.gnu.org
Subject: Re: bug#51051: Restore longlines.el to non-obsolete status
Date: Wed, 6 Oct 2021 19:16:00 -0400
unarchive 18589
reopen 18589
forcemerge 18589 51051
tags 18589 - notabug
thanks

Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Phil Sainty <psainty <at> orcon.net.nz> writes:
>
>> 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 that makes sense.  Does anybody else object?

There was a previous discussion in Bug#18589 (now merged):

    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18589

It seems like Stefan Monnier's take was this:

> Recently someone pointed out that using longlines-mode in a buffer that
> contain *very* long lines makes it possible to view&edit the buffer
> without suffering unbearable performance problems.  So maybe in this
> sense it's not completely obsolete.

And:

> I wouldn't mind de-obsoleting it.

The last message in Bug#18589 links here:

    https://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00475.html

(I'm copying in Stefan and Glenn, in case they have something to add.)




Forcibly Merged 18589 51051. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 06 Oct 2021 23:17:02 GMT) Full text and rfc822 format available.

Removed tag(s) notabug. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 06 Oct 2021 23:17:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51051; Package emacs. (Sat, 02 Jul 2022 15:35:02 GMT) Full text and rfc822 format available.

Message #18 received at 51051 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 18589 <at> debbugs.gnu.org, bruce.connor.am <at> gmail.com, 51051 <at> debbugs.gnu.org
Subject: Re: bug#51051: Restore longlines.el to non-obsolete status
Date: Sat, 02 Jul 2022 17:33:52 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Recently someone pointed out that using longlines-mode in a buffer that
> contain *very* long lines makes it possible to view&edit the buffer
> without suffering unbearable performance problems.  So maybe in this
> sense it's not completely obsolete.

I've now unobsoleted longlines-mode in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 51051 <at> debbugs.gnu.org and Phil Sainty <psainty <at> orcon.net.nz> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 02 Jul 2022 15:35:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 31 Jul 2022 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.