This commit fulfills the feature request from #248 and creates a
customizable variable called mc/insert-numbers-default which is the
starting value for mc/insert-numbers if no arg is passed
* Fix issue #131
This issue would occur because the function was recieving a raw prefix
arg instead of a number. This commit fixes that.
* Fix issue with previous commit, add test cases
Aliasing built-in (cl) functions to cl-lib versions when they are
available in older Emacs versions can seemingly lead to problems
including infinite loops during byte compilation.
Since cl-lib works with all Emacs versions supported by
multiple-cursors, just depend on this directly instead.
This commit makes the necessary changes, both to code, documentation and
package metadata.
- use marker-position for cursor overlay's point
- new helper function finds fake cursor with its actual *point* where we
want it
- this also eliminates any need for additional require statements
* README.md: Update readme to include mark-next-like-this symbol
* features/step-definitions/multiple-cursors-steps.el: Add phrase for
mark-next-like-this-symbol
* features/support/env.el: Add keyboard shortcut for
mark-next-like-this-symbol and fix shortcut for
mark-next-like-this-word
* mc-mark-more.el: Add mc/mark-next-like-this-symbol function
* multiple-cursors-core.el: Add mc/mark-next-like-this-symbol to
functions to run only once
* multiple-cursors.el: Add to readme section.
* README.md: Adjust read to no longer recommend extend region if user
is using mark-next-like-this-word
* mc-mark-more.el: mark-next-like-this-word makrs whole word and not
only from point to the end of the word
* README.md: Add mc/mark-next-like-this-word tidbits to readme.
* features/step-definitions/multiple-cursors-steps.el: Add
mc/mark-next-like-this-word call.
* features/support/env.el: Add shortcut for mc/mark-next-like-this-word
as "C-S-c C->".
* mc-mark-more.el: Add to mc/mark-next-like-this description to explain
what happens when no region is selected. Add
mc/mark-next-like-this-word function.
* multiple-cursors-core.el: Add mc/mark-next-like-this-word to commands
to run once.
* multiple-cursors.el: Add information about mc/mark-next-like-this-word.
* README.md: Add to readme, under special section.
* features/insert-letters.feature: Add scenarios.
* features/step-definitions/multiple-cursors-steps.el: Add call.
* features/support/env.el: Add keybinding for insert-letters to H-3.
* mc-separate-operations.el: Add function and helper functions.
* multiple-cursors-core.el: Add insert-letters to functions that run once.
* multiple-cursors.el: Add to readme.