252 Commits

Author SHA1 Message Date
Marco Baringer
fcbb7a4df9 Make mc/cycle-forward and mc/cycle-backward loop around by default.
Instead of erroring if there is no next (respectively previous) cursor
mc/cycle-forward (respectively mc/cycle-backward) will just loop back
to the first (respectively last) cursor.
2012-10-10 09:24:19 +02:00
Magnar Sveen
a0f771f3e4 Include interactive commands for deselecting prev/next
Fixes #21
2012-10-04 07:47:31 +02:00
Magnar Sveen
879ddb0e97 Add Takafumi Arakaki to list of contributors 2012-10-03 20:12:56 +03:00
Magnar Sveen
6e9ea1ae52 Merge pull request #20 from tkf/diff-friendly-save-lists
Diff friendly .mc-lists.el
2012-10-03 10:10:41 -07:00
Magnar Sveen
8a12e97b7d Mention region-bindings-mode in README 2012-10-03 20:06:15 +03:00
Takafumi Arakaki
f4d5aea860 Sort before saving list in mc/save-lists 2012-10-03 18:50:29 +02:00
Takafumi Arakaki
00f905549e Add mc/dump-list to make mc/save-lists diff-friendly 2012-10-03 18:47:31 +02:00
Magnar Sveen
7a6eb0df90 Never execute keyboard macros for fake cursors.
- The real cursor will execute the keyboard macro, resulting in new
   commands in the command loop, and the fake cursors can pick up on
   those instead.

Fixes #18
2012-10-02 12:19:00 +02:00
Magnar Sveen
6d4979db46 Bump to 1.1.3 1.1.3 2012-09-28 07:26:17 +02:00
Magnar Sveen
f040a33e3c Add execute-extended-command to run-once list 2012-09-28 07:24:38 +02:00
Magnar Sveen
64ffd81491 Add quoted-insert to run-for-all list. 2012-09-27 19:44:48 +02:00
Magnar Sveen
97da9778fd Intercept some reading commands
- so you won't have to answer them for every single cursor

Fixes #15
2012-09-27 19:42:38 +02:00
Magnar Sveen
ae0033fe3d Protect post-command-hook from errors to avoids undead cursors 2012-09-27 18:53:57 +02:00
Magnar Sveen
5fcc69cc54 Skip keyboard macros
- since they will generate actual commands that are also run in the
   command loop - we'll handle those later instead.
2012-09-27 18:53:05 +02:00
Magnar Sveen
d98b85bb1e Bump to 1.1.2 1.1.2 2012-09-27 11:18:25 +02:00
Magnar Sveen
b48e2b7682 mc/edit-lines: Don't include the 'invisible' line
- when marking a region from bottom to top there is an invisible line
   in the region if mark is at the beginning of the line.
 - don't count that line when doing mc/edit-lines
2012-09-27 10:52:21 +02:00
Magnar Sveen
d7263f21f0 A more rubust way of finding the command currently being invoked.
- which is necessary because cua-mode does some wacky stuff.

Fixes #8
2012-09-27 00:29:25 +02:00
Magnar Sveen
80bc6f6d56 Temporarily disable auto-complete-mode in multiple-cursors-mode
Fixes #12
2012-09-26 20:17:54 +02:00
Magnar Sveen
ce777dc1d7 Add some mouse-commands to the run-once list. 2012-09-26 19:30:04 +02:00
Magnar Sveen
0f54f980d1 Bump to 1.1.1 for bugfix 2012-09-26 17:28:09 +02:00
Magnar Sveen
d5a9d57d25 Add minibuffer-complete-and-exit to default run-once list. 2012-09-26 17:28:09 +02:00
Magnar Sveen
fc59b63d2f Fix typo 2012-09-26 00:24:32 +03:00
Magnar Sveen
35921b5bcc Clarify that you need to set up own keybindings 2012-09-26 00:04:39 +03:00
Magnar Sveen
37a89a6466 Remove mark-multiple-integration feature test 2012-09-24 20:00:49 +02:00
Magnar Sveen
f7d393d46e Don't use next-line and previous-line in non-interactive ways.
- it messes up in visual-line-mode

Fixes #10
2012-09-24 20:00:33 +02:00
Magnar Sveen
466d8bd4f8 Don't use next-line non-interactively 2012-09-24 13:49:43 +02:00
Magnar Sveen
26544fab57 Bump version to 1.1.0
- removed integration with mark-multiple
2012-09-24 13:27:50 +02:00
Magnar Sveen
f73569fe13 Update documentation. 2012-09-24 13:26:55 +02:00
Magnar Sveen
bdc4d9aff5 Add some more commands to default run-once/run-for-all lists. 2012-09-24 13:07:09 +02:00
Magnar Sveen
241e34ef2d Remove mark-multiple integration
- it caused more problems than it was solving

Fixes #9
2012-09-24 13:00:12 +02:00
Magnar Sveen
d534132728 Remove todo.org - use issues instead 2012-09-24 10:52:15 +02:00
Magnar Sveen
605894dc4b Add link to video. 2012-09-24 02:25:39 +02:00
Magnar Sveen
810636b228 Avoid smooth-scroll issues with multiple cursors 2012-09-23 23:18:32 +02:00
Magnar Sveen
719fe40ca3 Integrate with rect.el instead of consolidating/splitting on kill-ring 2012-09-23 19:12:42 +02:00
Magnar Sveen
067063a346 Split multiline kill-ring entry over cursors when num lines match 2012-09-23 18:36:46 +02:00
Magnar Sveen
7a655b0c0b Disable emacs-snapshot tests until it is in order. 2012-09-23 16:27:28 +02:00
Magnar Sveen
ef2226b993 Consolidate kill-ring entries when exiting multiple-cursors-mode 2012-09-23 16:26:04 +02:00
Magnar Sveen
32213d4de4 Make sure we run the right version of Emacs in travis. 2012-09-20 23:03:54 +02:00
Magnar Sveen
6e61e3df28 Fix travis badge 2012-09-19 17:39:07 +02:00
Magnar Sveen
6481972b17 Update ecukes
- to get exit code for travis
2012-09-19 17:35:41 +02:00
Magnar Sveen
f6403eae7f Fix assertion
- don't toggle rectangular-region-mode, check if it is on.
2012-09-19 17:35:00 +02:00
Magnar Sveen
c1fba2c057 Add travis badge 2012-09-19 17:30:11 +02:00
Magnar Sveen
b6077942c4 Add config for travis-ci 2012-09-19 17:26:09 +02:00
Magnar Sveen
059ee6b6ef Merge pull request #7 from Mon-Ouie/fix/macro-expansion
Macros must be defined before they are used to be expanded properly
2012-08-27 05:35:12 -07:00
Mon ouïe
dc22766af5 Macros must be defined before they are used to be expanded properly 2012-08-27 13:17:14 +02:00
Magnar Sveen
f2add1d250 Suggest C-c C-< instead of the often used M-<
... for mark-all-like-this
2012-08-18 19:42:00 +02:00
Magnar Sveen
d82e252617 Don't let fake cursors scroll the buffer 2012-08-14 06:41:18 +02:00
Magnar Sveen
6926ca34ab Avoid strange smooth-scrolling behavior. 2012-08-10 22:54:19 +02:00
Magnar Sveen
16563e32d1 Add hooks when mc-mode is enabled and disabled.
They are named `multiple-cursors-mode-enabled-hook`
and `multiple-cursors-mode-disabled-hook`.

Fixes #6
2012-08-10 21:27:02 +02:00
Magnar Sveen
491b206472 Use forward-line instead of next/previous-line in lisp code.
- fixes problem with smooth-scrolling (the other ones were adviced)
2012-08-07 19:37:14 +02:00