GithubHelp home page GithubHelp logo

ace-mc's Issues

`ace-mc-add-multiple-cursors` errors with infinite loop if there is just one candidate

Steps to reproduce -

  1. Open a blank buffer and enter the text za
  2. Run the command ace-mc-add-multiple-cursors
  3. Enter the letter z

Expected result -
A cursor is added at z

Actual result -
The command fails with

progn: Variable binding depth exceeds max-specpdl-size

It seems the infinite loop happens because ace-mc-add-char calls function pointed by ace-mc-ace-mode-function (which is bound to ace-jump-word-mode), ace-jump-word-mode in turn calls ace-jump-do which runs the ace-jump-mode-end-hook. In case of ace-mc, the function ace-mc-maybe-jump-end is executed as a part of the hook which calls ace-mc-add-char again leading to the infinite loop.

Any plans on supporting avy?

Terrific idea, combining ace-jump-mode with multiple-cursors.
Just curious if you're planning to support avy as well since it's basically a better ace-jump-mode and under active development. It seems most people are switching or have switched to avy.

quick change between char-mode and word-mode

so I've been using ace jump for a bit now and I'm often frustrated because I can't use the quick change like the original ace-mode (C-c C-c to quickly change from char-mode to word-mode and vice-versa) so I have to quit out and make the correct shortcut?

good job otherwise tho.

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.