Giter Site home page Giter Site logo

ark3 / stutter.el Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stebalien/stutter.el

0.0 0.0 0.0 16 KB

An emacs package to improve performance of emacs-based shells when outputting large amounts of text

License: GNU General Public License v3.0

Emacs Lisp 100.00%
emacs

stutter.el's Introduction

stutter.el

An emacs package to improve performance of emacs-based shells when outputting large amounts of text.

Description

When outputting large amounts of text (e.g., git log), emacs-based shells (e.g., eshell, shell, term) are unable to keep up. This is performance issue is primarily due to the cost of actually rendering the text to the screen (“redisplay”), only to scroll right past it.

Stutter solves this issue by repeatedly pausing redisplay in rapidly growing buffers. The downside is that such buffers appear to “stutter”. The upside is that commands like git log finish much faster.

Known Issues

  • I’ve tested this in eshell and comint derived modes. This mode will attempt to hook into the after-change-functions hook in other buffers (when enabled), but that hasn’t been thoroughly tested.
  • This mode relies on the buffer growing to decide when to “stutter”. It will stop not work properly if your shell has a scroll-back limit.
    • It should be possible to fix this by using marks and/or overlays to track text appended to the end of the buffer. Patches welcome.
  • This mode will cause output to stutter…

stutter.el's People

Contributors

ark3 avatar stebalien avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.