Re: potential memory leak in window_copy_copy_selection
yes i thought of that and decided against it On Fri, Feb 14, 2014 at 05:02:04PM -0600, J Raynor wrote: > I suppose paste_replace could always handle the freeing of the memory. > This would preserve its fire and forget nature. > > See the attached patch. -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
patch for append to buffer
In the "copy/paste improvements" section of the TODO list there's this item: * append to buffer I've attached a patch that implements this. I've added a new command called append-buffer, which works like set-buffer. I added the code for this in cmd-set-buffer.c to avoid adding a new source file. Also, I've added append-selection copy mode functionality, which works like copy-selection. If you're in copy mode and you've made a selection, you can hit 'A' to append it to a buffer. I chose 'A' because you use that to append to the end of a line in vi. It's only set when mode-keys is set to vi; I didn't know what to use for emacs. tmux-append.patch Description: Binary data -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: patch for append to buffer
Hi. Can you make this a flag to setb (-A? -a?) instead of a new command? Original message From: J Raynor Date: 15/02/2014 20:01 (GMT+00:00) To: tmux-users@lists.sourceforge.net Subject: patch for append to buffer In the "copy/paste improvements" section of the TODO list there's this item: * append to buffer I've attached a patch that implements this. I've added a new command called append-buffer, which works like set-buffer. I added the code for this in cmd-set-buffer.c to avoid adding a new source file. Also, I've added append-selection copy mode functionality, which works like copy-selection. If you're in copy mode and you've made a selection, you can hit 'A' to append it to a buffer. I chose 'A' because you use that to append to the end of a line in vi. It's only set when mode-keys is set to vi; I didn't know what to use for emacs. -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: patch for append to buffer
> Hi. Can you make this a flag to setb (-A? -a?) instead of a new command? Sure. I've attached a new patch. There's no append-buffer command, and passing -a to set-buffer will cause it to append. tmux-append.patch Description: Binary data -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users