emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance degradation from long lines


From: Phil Sainty
Subject: Re: Performance degradation from long lines
Date: Sun, 28 Oct 2018 15:03:44 +1300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 25/10/18 4:26 PM, Phil Sainty wrote:
> As it happens I've been working on this again in recent days, and
> intend to release this to GNU ELPA in the near future.  I haven't
> finished testing all the new changes, so there may be new bugs, but
> the latest work-in-progress code can be found at:
> 
> http://git.savannah.nongnu.org/cgit/so-long.git/plain/so-long.el?h=wip

There were indeed some new bugs (primarily a dumb one which meant it
was *only* testing the first line).  Hopefully now all fixed.


> If there was some future work on the redisplay to provide a "reduced
> display capabilities" option or mode, configuring so-long to enable
> that should be trivial.

With this in mind, along with the discussion of longlines-mode, I've
introduced `so-long-action' (perhaps rename to `so-long-function'?)
which provides the following behaviours:

(*) Change major mode to so-long-mode (default)
( ) Disable minor modes and override variables
( ) Enable longlines-mode
( ) Custom function
( ) Do nothing

"Disable minor modes and override variables" means the buffer's original
major mode is retained, but all the *other* things which so-long-mode
would cause to happen still take place.


-Phil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]