tmux has no way to affect X aside from set-clipboard, so either xsel or
emacs is doing this. Are you sure the xsel have all finished by the time
you select something new in emacs or press C-w again?



On Fri, Aug 26, 2016 at 09:59:52PM +0000, Kaushal Modi wrote:
>    I now have set-clipboard off.
>    Thanks for the help but that still did not fix the issue for me.
>    Here's a very short gif that shows what I am
>    doing:**[1]http://i.imgur.com/ipukrKz.gifv
>    Note that I used emacs running default config (emacs -Q) to demonstrate
>    this so that my personal config is out of question. Default emacs config
>    does not save selections to primary; it does it only to clipboard.
>    Even then, you will notice that the primary selection is auto updated to
>    the top most value of tmux buffers.
>    On Fri, Aug 26, 2016 at 4:33 PM Nicholas Marriott
>    <[2][email protected]> wrote:
> 
>      Change this:
> 
>      ** ** ** ** bind C-w run -b "tmux show-buffer | xsel -ip && tmux
>      show-buffer | xsel -ib"
> 
>      To:
> 
>      ** ** ** ** bind C-w run "tmux saveb -|xsel -ip; tmux saveb -|xsel -ib"
> 
>      And see if the problem goes away.
> 
>      Also make sure you have set-clipboard off.
> 
>    --
> 
>    Kaushal Modi
> 
> References
> 
>    Visible links
>    1. http://i.imgur.com/ipukrKz.gifv
>    2. mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to