Re: problem with new-window and current directory

2014-04-17 Thread Nicholas Marriott
yes it works, applied ,thanks On Thu, Apr 17, 2014 at 10:39:53PM +0100, Nicholas Marriott wrote: >Oh I tested it incorrectly. I'll look again when I get home. > Oh I tested it incorrectly. I'll look again when I get home. > > > Original message > From: Balazs Kezes > D

Re: [tmux:tickets] #122 Configuration of pane switching behavior

2014-04-17 Thread Nicholas Marriott
I'll implement cursor position or left/centre/right tomorrow if I have time and see how it looks. Original message From: Nicholas Marriott Date: 17/04/2014 22:52 (GMT+00:00) To: Balazs Kezes ,Ticket 122 <1...@tickets.tmux.p.re.sf.net> Cc: tmux-users@lists.sourceforge.net

Re: [tmux:tickets] #122 Configuration of pane switching behavior

2014-04-17 Thread Nicholas Marriott
No new options for this. Once we add options they are hard to get rid of and this is not something many people will care to change. We pick whichever method seems best and go with it. Either we keep the current behaviour or we revert or we think of a better way. I'm inclined to keep the current

Re: DCS chunking of OSC52 for copy to clipboard

2014-04-17 Thread Suraj Kurapati
Awesome! Thanks for implementing this feature so quickly. tmux rocks! :) On Thu, Apr 17, 2014 at 5:44 AM, Nicholas Marriott wrote: > Applied to OpenBSD now, will be in SF later. Thanks > > > On Tue, Apr 15, 2014 at 04:01:56PM -0700, Suraj Kurapati wrote: >> On Tue, Apr 15, 2014 at 2:22 PM, Nich

Re: problem with new-window and current directory

2014-04-17 Thread Nicholas Marriott
Oh I tested it incorrectly. I'll look again when I get home. Original message From: Balazs Kezes Date: 17/04/2014 20:42 (GMT+00:00) To: Nicholas Marriott Cc: Matteo Cavalleri , tmux-users@lists.sourceforge.net Subject: Re: problem with new-window and current directory

Re: [tmux:tickets] #122 Configuration of pane switching behavior

2014-04-17 Thread Thomas Adam
On Thu, Apr 17, 2014 at 09:03:07PM +0100, Balazs Kezes wrote: > Okay, here's another idea before deciding on closing this and just > adding a FAQ entry. How about a new option called something like > "pane-switch-behavior". When you set it to "remember" it is the current How about "no", and if thi

Re: [tmux:tickets] #122 Configuration of pane switching behavior

2014-04-17 Thread Balazs Kezes
On 2014-04-17, Nicholas Marriott wrote: > It certainly wouldn't reliably take you to the pane "up" when you > asked. It actually does when you use grid layouts. I think I've already dug out the code demonstrating this in another thread. It's relative to the current pane's top left corner. But yeah

Re: problem with new-window and current directory

2014-04-17 Thread Balazs Kezes
On 2014-04-17 15:25 +0100, Nicholas Marriott wrote: > This doesn't actually fix the problem for me on Linux, does it for > both of you? It does fix it for me. I actually use it for a while now and never seen a new pane starting in /. Can you tell me how do you test it and possibly step through the

Re: [PATCH] better UTF-8 support for buffer_sample

2014-04-17 Thread Nicholas Marriott
Hi Try this please which works out whether to use UTF-8 based on the same rules as tmux uses on startup (-u or LANG/LC_ALL/etc). Index: cmd-list-buffers.c === RCS file: /cvs/src/usr.bin/tmux/cmd-list-buffers.c,v retrieving revision 1

Re: m->scroll in choose-*: set to 1 by default?

2014-04-17 Thread Marcel Partap
> Went with this, I think line-at-a-time is fine for choose mode, most of > our lists are pretty short. Objection: please take the patch I sent for this (13/04/2014 00:56) as this one looses flexibility of using CTRL to speed up. The assumption that choose-lists are small may be true for YOUR usage

Re: problem with new-window and current directory

2014-04-17 Thread Nicholas Marriott
This doesn't actually fix the problem for me on Linux, does it for both of you? On Sun, Mar 02, 2014 at 03:18:10PM +, Balazs Kezes wrote: > On 2014-02-27 22:09, Matteo Cavalleri wrote: > > $ cat /etc/hosts | less # the pipe is important here > > [...] > > so when I create a new window with e.

Re: m->scroll in choose-*: set to 1 by default?

2014-04-17 Thread Nicholas Marriott
Went with this, I think line-at-a-time is fine for choose mode, most of our lists are pretty short. On Mon, Apr 07, 2014 at 11:37:30AM +0100, Thomas Adam wrote: > On Mon, Apr 07, 2014 at 10:59:43AM +0100, Nicholas Marriott wrote: > > > > Why not just remove the loop rather than writing over m->s

Re: patch for named buffers

2014-04-17 Thread Nicholas Marriott
Hi Thanks for this, but I'm not sure about the approach. I don't like having separate named and non-named stacks, I definitely think we only need one data structure - unnamed buffers should be the same as named but with some automatically-generated generic name like "buffer0101". TBH if we have

Re: use "--" to mark start of command w/ neww etc to avoid quoting

2014-04-17 Thread Nicholas Marriott
Applied this to OpenBSD now with the const char * thing fixed. Thanks On Tue, Apr 15, 2014 at 01:40:22AM -0500, J Raynor wrote: > In cmd-new-session.c, you've made path's type "char *", but everywhere > else it is "const char *". Was that intentional? > > The parts of your patch that take the p

Re: DCS chunking of OSC52 for copy to clipboard

2014-04-17 Thread Nicholas Marriott
Applied to OpenBSD now, will be in SF later. Thanks On Tue, Apr 15, 2014 at 04:01:56PM -0700, Suraj Kurapati wrote: > On Tue, Apr 15, 2014 at 2:22 PM, Nicholas Marriott > wrote: > > Actually looking at xterm it doesn't have a limit for this escape > > sequence, we can probably make tmux's a lot

[tmux:tickets] #120 Alt+Arrow binding no longer respected in 1.9

2014-04-17 Thread daemianmack
--- ** [tickets:#120] Alt+Arrow binding no longer respected in 1.9** **Status:** open **Created:** Wed Apr 16, 2014 12:07 PM UTC by daemianmack **Last Updated:** Wed Apr 16, 2014 12:07 PM UTC **Owner:** nobody OS: OSX 10.9.2 I've just upgraded tmux (via homebrew) from 1.8 to 1.9a and now fin

[tmux:tickets] #123 new-session ignores default-terminal setting

2014-04-17 Thread alexius ludeman
--- ** [tickets:#123] new-session ignores default-terminal setting** **Status:** open **Created:** Thu Apr 17, 2014 04:53 AM UTC by alexius ludeman **Last Updated:** Thu Apr 17, 2014 04:53 AM UTC **Owner:** nobody tmux.conf: new-session set -g default-terminal "xterm-256color" % tmux % echo

[tmux:tickets] #122 Configuration of pane switching behavior

2014-04-17 Thread Keith Smiley
--- ** [tickets:#122] Configuration of pane switching behavior** **Status:** open **Created:** Thu Apr 17, 2014 01:26 AM UTC by Keith Smiley **Last Updated:** Thu Apr 17, 2014 01:26 AM UTC **Owner:** nobody In https://sourceforge.net/p/tmux/tickets/97/ there was a feature added to return to

[tmux:tickets] #121 Joining lines during copy

2014-04-17 Thread Doug Luce
--- ** [tickets:#121] Joining lines during copy** **Status:** open **Created:** Thu Apr 17, 2014 01:24 AM UTC by Doug Luce **Last Updated:** Thu Apr 17, 2014 01:24 AM UTC **Owner:** nobody Pardon the multiple merge requests with 0 commits. Either I'm missing some clue about how SourceForge