Re: patch allowing pipe-pane to write directly to a file

2013-08-20 Thread Nicholas Marriott
Hi Only had time for a quick look but a few things: - Don't add new calls to status_replace please. Use format API directly instead. - These option names aren't great. How about automatic-log and automatic-log-format (or automatic-log-file)? - The hunk in cmd_set_option_exec is ridiculously

Re: [PATCH] Clear window->flags when clearing winlinks

2013-08-20 Thread Nicholas Marriott
Sure, go for it. Thanks On Tue, Aug 20, 2013 at 10:41:56AM +0100, Thomas wrote: > When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for that > window, clear the window->flags as well, otherwise sessions may well still > see flags for winlinks long since cleared. > > This therfore

[PATCH] Clear window->flags when clearing winlinks

2013-08-20 Thread Thomas
When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for that window, clear the window->flags as well, otherwise sessions may well still see flags for winlinks long since cleared. This therfore introduces WINDOW_ALERTFLAGS to help with this. --- tmux.h | 1 + window.c | 1 + 2 files

Re: Problem when entering a directory named with spaces

2013-08-20 Thread __fLOyd__
Hi Thomas. Thanks a lot for your suggestion. I found where the problem is. I added something related to tmux setenv in PROMPT_COMMAND but it is not suitable for directory with space. Thanks again. Best fLOyd On Tue, Aug 20, 2013 at 4:11 PM, Thomas Adam wrote: > On 20 August 2013 07:47, __fLOy

Re: Problem when entering a directory named with spaces

2013-08-20 Thread Thomas Adam
On 20 August 2013 07:47, __fLOyd__ wrote: > Hi everyone. > > I met a strange problem that after entering any directory, of which name > contains space like "/Users/xxx/Library/Application Support/IdeaIC12/", > execute any shell command will leading to a warning that "usage: > set-environment [-gru