Re: Binding keys to shell commands

2013-01-30 Thread Thiago Padilha
Nvm, got it from your github mirror On Wed, Jan 30, 2013 at 10:52 PM, Thiago Padilha wrote: > Thanks for the patch. > > What feature is your work on hook-support going to add? Any idea when you > will merge it? > > > > > On Wed, Jan 30, 2013 at 10:11 PM, Thomas Adam wrote: > >> On Wed, Jan 30,

Re: Binding keys to shell commands

2013-01-30 Thread Thiago Padilha
Thanks for the patch. What feature is your work on hook-support going to add? Any idea when you will merge it? On Wed, Jan 30, 2013 at 10:11 PM, Thomas Adam wrote: > On Wed, Jan 30, 2013 at 09:42:24PM -0300, Thiago Padilha wrote: > > Hi > > > > I have a shell function that accepts a pane id

Re: Binding keys to shell commands

2013-01-30 Thread Thomas Adam
On Wed, Jan 30, 2013 at 09:42:24PM -0300, Thiago Padilha wrote: > Hi > > I have a shell function that accepts a pane id as argument. This function > works fine when invoked interactively: > > $ shell_function $TMUX_PANE > > I would like to invoke this function from any pane, running a interactiv

Binding keys to shell commands

2013-01-30 Thread Thiago Padilha
Hi I have a shell function that accepts a pane id as argument. This function works fine when invoked interactively: $ shell_function $TMUX_PANE I would like to invoke this function from any pane, running a interactive shell or not, by binding this function to a key combination, however I can't f

[PATCH] Only set AUTO{MAKE,CONF}_VERSION on OpenBSD

2013-01-30 Thread Thomas Adam
OpenBSD requires the presence of AUTOMAKE_VERSION and AUTOCONF_VERSION for bootstrapping purposes. Setting these on any other system requires that explicit version to be used, rather than what might already be installed. Therefore, only do this when the platform is OpenBSD and ignore everything e

Re: Patch to implement reflowing

2013-01-30 Thread Richard Woodbury
On Wed, Jan 30, 2013 at 11:14 AM, Thomas Adam wrote: > I've pushed changes to tmux.git which means you'll need to rework your > patch slightly since GRID_FLAG_UTF8 is no longer used by anything. > > You're probably OK to just call grid_cell_{get,set}() without checking > first; but I've not looke

Re: Patch to implement reflowing

2013-01-30 Thread Nicholas Marriott
Hi Code looks mostly fine, a few style nits below. I think we should make this a flag to resize-pane (I suggest -R or -L) rather than a new command. Could you do that? Thanks diff --git a/grid.c b/grid.c index 71a3679..4f07bf8 100644 --- a/grid.c +++ b/grid.c @@ -541,3 +541,58 @@ grid_duplicat

Re: Patch to implement reflowing

2013-01-30 Thread Thomas Adam
Hi, On 30 January 2013 15:58, Richard Woodbury wrote: > On Wed, Jan 30, 2013 at 3:15 AM, Nicholas Marriott > wrote: >> >> Looks like your mailer mangled the whitespace in the first diff so can >> you resend please as an attachment including this change? > > > Curses! Sorry about that... I'm more

Re: Patch to implement reflowing

2013-01-30 Thread Richard Woodbury
On Wed, Jan 30, 2013 at 3:15 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Looks like your mailer mangled the whitespace in the first diff so can > you resend please as an attachment including this change? > Curses! Sorry about that... I'm more used to git pull requests. Please fi

Re: Patch to implement reflowing

2013-01-30 Thread Nicholas Marriott
Hi Looks like your mailer mangled the whitespace in the first diff so can you resend please as an attachment including this change? On Wed, Jan 30, 2013 at 02:24:12AM -0500, Richard Woodbury wrote: > On Tue, Jan 29, 2013 at 6:10 PM, Thomas Adam wrote: > > > > Your patch segfaults tmux when I