159 Commits

Author SHA1 Message Date
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
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
d5a9d57d25 Add minibuffer-complete-and-exit to default run-once list. 2012-09-26 17:28:09 +02:00
Magnar Sveen
466d8bd4f8 Don't use next-line non-interactively 2012-09-24 13:49:43 +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
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
ef2226b993 Consolidate kill-ring entries when exiting multiple-cursors-mode 2012-09-23 16:26:04 +02: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
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
b1ea7f2230 Add licences to all el-files. 2012-07-25 23:00:19 +02:00
Magnar Sveen
0233ba8e29 Add commands to run-once-list 2012-07-25 19:42:40 +02:00
Magnar Sveen
c9548eae5b Use inverse face for cursor
- otherwise you can't see what's hiding behind the fake cursors
2012-07-24 20:55:23 +02:00
Magnar Sveen
576bf90346 mc version of mark-previous-like-this 2012-07-24 20:54:37 +02:00
Magnar Sveen
c3c454441b Place the file definition with the save definition. 2012-07-21 20:24:49 +02:00
Magnar Sveen
df5f83ae27 Add more common commands to run only once. 2012-07-21 14:30:54 +02:00
Magnar Sveen
a4c4714587 Remove multiple cursors when reverting buffer. 2012-07-21 14:15:29 +02:00
Magnar Sveen
ccdc0256f9 Run prefix argument commands just once. 2012-07-21 10:18:01 +02:00
Magnar Sveen
a19c8c3195 Add cycle-backwards to once-list 2012-07-21 09:38:57 +02:00
Magnar Sveen
d69ae15fef Use setq for default lists to be able to re-evaluate. 2012-07-21 08:08:45 +02:00
Magnar Sveen
84ef509350 Save users own white/black lists in .mc-lists.el 2012-07-20 22:55:08 +02:00
Magnar Sveen
15e88c6df9 Move more mode-specific cmds into personal lists. 2012-07-20 19:33:30 +02:00
Magnar Sveen
1d5b54e5f4 Separate default cmd-lists and those populated by the end user. 2012-07-20 16:02:07 +02:00
Magnar Sveen
608ceb4b81 Disable multiple-cursors-mode if there's only one cursor (the real one). 2012-07-20 15:59:01 +02:00
Magnar Sveen
0bfd611151 More consistent naming. 2012-07-20 15:07:43 +02:00
Magnar Sveen
7ab8a8c977 Better support for undo. 2012-07-20 12:10:22 +02:00
Magnar Sveen
c34e4df444 Don't grow cursor overlays. 2012-07-20 05:27:46 +02:00
Magnar Sveen
466d03607d Prompt for inclusion in white/black-lists when met with an unknown command 2012-07-19 15:55:52 +02:00
Magnar Sveen
700db99d66 Add kill-ring-save to whitelist. 2012-07-19 12:55:54 +02:00
Magnar Sveen
50851e7ac2 Add more core tests. 2012-07-19 09:47:23 +02:00
Magnar Sveen
eda9952fc0 Finally got the tests running. :-) 2012-07-18 15:54:08 +02:00
Magnar Sveen
de0519e0f0 Add support for running lambdas for each cursor.
- can't know if it's safe, so we assume it is.
2012-07-18 13:12:56 +02:00
Magnar Sveen
fca06858e9 Use symbol properties on commands instead of maintaining a list of unsupported commands. 2012-07-18 12:54:25 +02:00
Magnar Sveen
6f9911fa98 Add more explanatory prose. 2012-07-18 09:15:50 +02:00
Magnar Sveen
37ddaf2cbe Set this-command for each cursor.
- enables proper interop with delete-selection-mode
2012-07-18 09:10:55 +02:00
Magnar Sveen
45488dfda6 yank-pop is supported
- when did it disappear from the white-list? :-P
2012-07-17 22:22:50 +02:00
Magnar Sveen
ba11b12c74 Make interprogram-paste work for all cursors. 2012-07-17 22:22:33 +02:00
Magnar Sveen
71f444aab4 Remove unused commands from whitelist. 2012-07-17 19:27:48 +02:00
Magnar Sveen
8c8d52f248 Run pre-command-hooks for each cursor
- fixes issues with delete-selection-mode
2012-07-17 19:27:36 +02:00
Magnar Sveen
1db643c4d6 Add support for modes that remap commands.
- for instance subword-mode
2012-07-17 09:23:40 +02:00
Magnar Sveen
b99d54a3d9 Fix error message. 2012-07-02 16:56:22 +02:00
Magnar Sveen
9182897918 Add message about delete-char vs delete-forward-char 2012-07-02 08:40:51 +02:00