<div dir="ltr">On Wed, Dec 28, 2011 at 21:36, Mike Meyer <span dir="ltr">&lt;<a href="mailto:mwm@mired.org">mwm@mired.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, 28 Dec 2011 17:25:33 -0800 (PST)<br>
Lara Michaels &lt;<a href="mailto:laramichaels1978@yahoo.com">laramichaels1978@yahoo.com</a>&gt; wrote:<br>&gt; - send the current window to the next empty workspace AND THEN<br>&gt; - automatically take me to it (meaning, display the workspace to which<br>
<br>
</div>I&#39;m almost blue-skying here. I have no idea if this would work, but it<br>
at least type checks and might be a starting point:<br>
<br>
, (&quot;C-&lt;F1&gt;&quot;, shiftTo Next EmptyWS &gt;&gt; moveTo Next EmptyWS)</blockquote><div><br></div><div>It typechecks, but won&#39;t do what you want as the workspace will no longer be empty.</div><div><br></div>
<div>Looking at the source to cycleWS, looks like what you want is something like</div><div><br></div><div>&gt; ,(&quot;C-&lt;F1&gt;&quot;, doTo Next EmptyWS getSortByIndex $ \ws -&gt; windows (shift ws) &gt;&gt;</div><div>
&gt;                                                       windows (greedyView ws))</div><div><br></div></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>
wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br><br>
</div>