[PATCH 4/6] Teach {choose,list}-sessions to use formats

2012-05-15 Thread Thomas Adam
This teaches the choose/list commands to use -F. --- trunk/cmd-choose-session.c | 31 --- trunk/cmd-list-sessions.c | 10 ++ 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/trunk/cmd-choose-session.c b/trunk/cmd-choose-session.c index d3e53

[PATCH 2/6] Convert {choose,list}-buffers to use formats

2012-05-15 Thread Thomas Adam
This teaches the list/choose buffers command to accept -F, and in doing so, creates new buffer-specific format options. --- trunk/cmd-choose-buffer.c | 24 +--- trunk/cmd-list-buffers.c | 25 ++--- trunk/format.c| 11 +++ trunk/tmu

[PATCH 5/6] Convert {choose,list}-window to use formats

2012-05-15 Thread Thomas Adam
This teaches the list/choose windows command to accept -F, and in doing so, add #{window_panes} to return the total number of panes for a window. --- trunk/cmd-choose-window.c | 41 ++--- trunk/cmd-list-windows.c | 12 ++-- trunk/format.c

[PATCH 0/6] Convert choose-* cmds to use formats

2012-05-15 Thread Thomas Adam
Hi, These six patches teach the choose-* commands to use -F for the format option. In doing this, I've also touched on the existing list-* commands because both of them used the same default templates. To that end, I've shoved some #defines in tmux.h to centralise the default formats and referen

[PATCH 3/6] Teach {choose,list}-client to use fomats

2012-05-15 Thread Thomas Adam
This teaches the choose/list commands to use -F. --- trunk/cmd-choose-client.c | 26 ++ trunk/cmd-list-clients.c |9 ++--- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/trunk/cmd-choose-client.c b/trunk/cmd-choose-client.c index 730474d..8ddced

[PATCH 1/6] Add default format template macros

2012-05-15 Thread Thomas Adam
This adds the default format options for sessions, windows, clients, buffers because both templates are used for list-* and choose-*. --- trunk/tmux.h | 17 + 1 file changed, 17 insertions(+) diff --git a/trunk/tmux.h b/trunk/tmux.h index 9f99c66..8c9207b 100644 --- a/trunk/tmux

[PATCH 6/6] Update man page for format work.

2012-05-15 Thread Thomas Adam
--- trunk/tmux.1 | 44 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/trunk/tmux.1 b/trunk/tmux.1 index bc83be1..a177d24 100644 --- a/trunk/tmux.1 +++ b/trunk/tmux.1 @@ -1036,6 +1036,7 @@ visible pane and negative numbers are lines in

Re: tmux slow in changing the window

2012-05-15 Thread Sinbad
On Tue, May 15, 2012 at 12:23 PM, Thomas Adam wrote: > Rate limiting support to help with this problem, was added to tmux > recently. Again, you'll need to use svn, something you seem reluctant to do? > > -- Thomas Adam > On May 15, 2012 7:34 AM, "Sinbad" wrote: > >> tmux doesn't change the wind

Re: tmux slow in changing the window

2012-05-15 Thread Ivan Nečas
Hi, I've encountered similar problems a while ago on several terminal emulators (gnome-terminal, xterm…). Finally switching to urxvt has made the difference. -- Ivan On 05/15/2012 08:32 AM, Sinbad wrote: tmux doesn't change the window or is not quick, when the current window is emitting lot