Re: [PATCH] Disable 'normal' mode in copy-mode's prompt

2013-07-12 Thread Nicholas Marriott
On Fri, Jul 12, 2013 at 05:59:35PM -0400, Ben Boeckel wrote: > On Fri, Jul 12, 2013 at 22:30:15 +0100, Nicholas Marriott wrote: > > > window-copy's prompt would be easier). I had it as a TODO item to merge > > > the status-bar with window-copy's prompt. I can resurrect it if that > > > would be wan

Re: [PATCH] Disable 'normal' mode in copy-mode's prompt

2013-07-12 Thread Ben Boeckel
On Fri, Jul 12, 2013 at 22:30:15 +0100, Nicholas Marriott wrote: > > window-copy's prompt would be easier). I had it as a TODO item to merge > > the status-bar with window-copy's prompt. I can resurrect it if that > > would be wanted. > > In what way do you mean? Common editing code? I'd be intere

Re: [PATCH] Disable 'normal' mode in copy-mode's prompt

2013-07-12 Thread Nicholas Marriott
On Fri, Jul 05, 2013 at 01:20:00PM -0400, Ben Boeckel wrote: > On Fri, Jul 05, 2013 at 17:47:30 +0100, Nicholas Marriott wrote: > > We call them normal and command mode in the manpage under bind-key so it > > should probably change that to insert and command. > > Ah, yep. > > > On Fri, Jul 05, 20

Re: [PATCH] Disable 'normal' mode in copy-mode's prompt

2013-07-05 Thread Ben Boeckel
On Fri, Jul 05, 2013 at 17:47:30 +0100, Nicholas Marriott wrote: > We call them normal and command mode in the manpage under bind-key so it > should probably change that to insert and command. Ah, yep. > On Fri, Jul 05, 2013 at 12:43:05PM -0400, Ben Boeckel wrote: > > On Fri, Jul 05, 2013 at 15:5

Re: [PATCH] Disable 'normal' mode in copy-mode's prompt

2013-07-05 Thread Nicholas Marriott
We call them normal and command mode in the manpage under bind-key so it should probably change that to insert and command. On Fri, Jul 05, 2013 at 12:43:05PM -0400, Ben Boeckel wrote: > On Fri, Jul 05, 2013 at 15:51:32 +0100, Nicholas Marriott wrote: > > All the vi-copy defaults are for normal mo

Re: [PATCH] Disable 'normal' mode in copy-mode's prompt

2013-07-05 Thread Ben Boeckel
On Fri, Jul 05, 2013 at 15:51:32 +0100, Nicholas Marriott wrote: > All the vi-copy defaults are for normal mode (insert mode), so > presumably this comment should be different. In vi, 'normal' is the command mode (inserting happens in 'insert' mode). > There is nothing stopping people binding com

Re: [PATCH] Disable 'normal' mode in copy-mode's prompt

2013-07-05 Thread Nicholas Marriott
All the vi-copy defaults are for normal mode (insert mode), so presumably this comment should be different. There is nothing stopping people binding commands in either mode though (and for all I know people do) so not sure we should prevent it like this. On Wed, Jun 12, 2013 at 09:31:52PM -0400

[PATCH] Disable 'normal' mode in copy-mode's prompt

2013-06-12 Thread Ben Boeckel
None of the common commands are hooked up, so disabling it should help avoid confusion about input being ignored after an accidental ESC. --- window-copy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/window-copy.c b/window-copy.c index 7e078bd..6f90fe7 100644 --- a/window-copy.c +++ b/w