I haven't tested this yet, but given that Thomas is looking to release 1.8, 
should a fix for this go in it if it hasn't already? 


On Sunday, March 24, 2013 at 4:06 AM, Nicholas Marriott wrote:

> I think perhaps #{} should me made to translate to # although in this
> case it doesn't matter because if run-shell handled the pane ok it'd be
> the same pane as display-message.
> 
> 
> On Sun, Mar 24, 2013 at 04:28:18AM -0500, Chris Johnsen wrote:
> > On Sun, Mar 24, 2013 at 4:12 AM, Chris Johnsen <chris_john...@pobox.com 
> > (mailto:chris_john...@pobox.com)> wrote:
> > > You can probably use "-t :" to get things working:
> > > 
> > > bind ^H run -t : "tmux display-message '#{pane_title}'"
> > 
> > Here is another alternative that tries to avoid the format expansion
> > that display-message now does:
> > 
> > bind ^H run "tmux display-message '#''{pane_title}'"
> > 
> > The key is to have the next character after the # not be A through Z
> > or {. When this is the case, the # and the next character (single
> > quote in the above case) left unchanged (and, for {if,run}-shell,
> > passed to the shell). The shell will then do its parsing and
> > concatenate the '#' string with the '{...}' string, leaving the
> > expansion to display-message as it would have been prior to any of the
> > recent changes to run-shell.
> > 
> > -- 
> > Chris
> > 
> > ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_mar
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net (mailto:tmux-users@lists.sourceforge.net)
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
> > 
> 
> 
> 


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to