Giter Site home page Giter Site logo

Comments (2)

iqbalansari avatar iqbalansari commented on May 25, 2024

Hi @yuhe00,

I have global-visual-line-mode on by default in my configuration and never experienced a slow down, would it be possible for you to post an example piece of text to reproduce the issue?

Thanks

from emacs-emojify.

yuhe00 avatar yuhe00 commented on May 25, 2024

This hasn't been a big issue for me since I switched over to Linux full-time for all Emacs-ing, but I did some testing again, both on Linux and Windows.

On Linux, it seems to only slow down when there are a lot of emojis on the same line, regardless of whether global-visual-line-mode is on or not, ie. something like this:

😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂 😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂 😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂 😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂 😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂 😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂 😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂 😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂😄🙂

Slowdown is experienced when you try to edit that line, but not any other line. I think this is fine, nobody needs that many emojis on a single line anyway...

On Windows, there is slowdown even if there is a single emoji on a line, like this:

The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog 😄 The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

...which is not very usable. But this is likely an issue with Emacs on Windows (or emax64 in particular) and not emacs-emojify, so I'm going to close this issue for now. It's good to have this for reference in case anyone else encounter the same problem though.

from emacs-emojify.

Related Issues (20)

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.