[dev] [PATCH][vis] Do not take a snapshot in text_range_write

2015-06-23 Thread Silvan Jegen
Since text_range_write is called several times in cmd_filter, the undo command does not undo the whole filter operation but only up to the last call of text_range_write. Removing the snapshot-taking code solves this issue. --- This is a quick and dirty fix for the issues encountered with undoing t

Re: [dev] [dvtm] Mouse clicks on tags patch

2015-06-23 Thread Ross Mohn
On Tue, Jun 23, 2015 at 01:01:15PM +0200, Marc André Tanner wrote: > On Fri, Jun 05, 2015 at 11:43:27AM -0400, Ross Mohn wrote: > > Hi again, > > > > The attached patch allows you to assign functions to mouse clicks on the > > tag indicators in the status bar. The default actions are: > > > >

Re: [dev] [vis][RFC][PATCH 2/2] Implement the execution of external commands and cmd_substitute

2015-06-23 Thread Marc André Tanner
On Wed, May 27, 2015 at 06:53:11PM +0200, Silvan Jegen wrote: > On Mon, May 18, 2015 at 10:28:06PM +0200, Marc André Tanner wrote: > > On Mon, May 18, 2015 at 09:31:22PM +0200, Silvan Jegen wrote: > > > I did some light testing and the only issue I could find is that the > > > undo-function is beha

Re: [dev] Re: [abduco] Strange behavior with abduco -A

2015-06-23 Thread Marc André Tanner
On Wed, Jun 03, 2015 at 10:34:44AM -0400, Ross Mohn wrote: > On Tue, Jun 02, 2015 at 12:26:38PM -0400, Ross Mohn wrote: > > Hi, > > > > After my last pull a few weeks ago, I started noticing some strange > > behavior with abduco and I want to know if others can reproduce it. > > Here are the steps

Re: [dev] [dvtm] Mouse clicks on tags patch

2015-06-23 Thread Marc André Tanner
On Fri, Jun 05, 2015 at 11:43:27AM -0400, Ross Mohn wrote: > Hi again, > > The attached patch allows you to assign functions to mouse clicks on the > tag indicators in the status bar. The default actions are: > > * left click to toggle viewing that tag > * left double click to view only t

Re: [dev] [dvtm] TAGKEYS macro for dvtm

2015-06-23 Thread Marc André Tanner
Sorry for the delay, I'm catching up ... On Tue, May 26, 2015 at 02:35:42PM -0400, Ross Mohn wrote: > diff --git a/config.def.h b/config.def.h > index b0a68d4..b7d4769 100644 > --- a/config.def.h > +++ b/config.def.h > @@ -51,7 +51,7 @@ static Color colors[] = { > /* curses attributes for not sel

Re: [dev] [dvtm] Bug fix for MOD after a mouse action

2015-06-23 Thread Marc André Tanner
On Fri, Jun 05, 2015 at 07:11:32AM -0400, Ross Mohn wrote: > After a mouse action, the key_index needs to be set back to zero. You > can reproduce the bug by performing a mouse action, then trying to > perform a dvtm keyboard command. You'll see that the MOD key is not > matched with a key binding,