Re: [PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-10 Thread Ben Boeckel
On Mon, Dec 10, 2012 at 05:13:43 GMT, Patricio Palladino wrote: > Hi tmux community! > > I have been using tmux for the last year, and has became an essential > tool for my development job, but I used to use panes almost > exclusively until some months ago. I think automatic renaming is a > great f

Re: [PATCH 0/6] Assorted tmux patchset

2012-12-10 Thread Thomas Adam
Hi, On Sat, Nov 17, 2012 at 11:42:02PM +0530, Raghavendra D Prabhu wrote: > Following are the patches that add/extend some of the features. They are also > tested. Given some feedback on the patches you sent out, were you planning on looking at any of the patches? -- Thomas Adam ---

Re: script to maximize/restore panes

2012-12-10 Thread Thomas Adam
Hi, On Sat, Nov 03, 2012 at 02:15:20PM +0900, Kazuhiko Sakaguchi wrote: > Hi all. > > I wrote a script to maximize and restore panes in tmux. It's similar > to the tmux-zoom. Has there been any more work on this lately? Kindly, -- Thomas Adam -

Re: [PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-10 Thread Thomas Adam
On Mon, Dec 10, 2012 at 06:11:09PM +, Nicholas Marriott wrote: > Yes I would be happier with a format for automatic rename, it should not > be hard to do. Here's something for someone to pick up, if they want to: diff --git a/format.c b/format.c index 19f322a..9a9ce8d 100644 --- a/format.c ++

Re: [PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-10 Thread Nicholas Marriott
Yes I would be happier with a format for automatic rename, it should not be hard to do. pane_current_path is already the WD from osdep_get_cwd, just need something like pane_current_program and to construct the name using format in window_name_callback. On Mon, Dec 10, 2012 at 03:01:05PM -0300,

Re: [PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-10 Thread Patricio Palladino
Hi! On Mon, Dec 10, 2012 at 5:29 AM, Nicholas Marriott wrote: > Can you send the patch as a unified diff to the mailing list please? Sure, here it is: diff --git a/names.c b/names.c index 72f1ad1..603ffcf 100644 --- a/names.c +++ b/names.c @@ -73,9 +73,18 @@ window_name_callback(unused int fd,

Re: [PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-10 Thread Thomas Adam
Hi, On Mon, Dec 10, 2012 at 08:29:07AM +, Nicholas Marriott wrote: > Can you send the patch as a unified diff to the mailing list please? > > osdep_get_cwd does return a static char[]. > > I'm not sure about adding a new option, it might be better to make > automatic-rename a tristate option

Re: [PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-10 Thread Nicholas Marriott
Can you send the patch as a unified diff to the mailing list please? osdep_get_cwd does return a static char[]. I'm not sure about adding a new option, it might be better to make automatic-rename a tristate option (on/off/cwd), but that breaks toggling. Hmm. On Mon, Dec 10, 2012 at 02:13:43AM -