From: Arnout E. <no...@bz...> - 2014-05-15 10:19:00
|
Hello Wojciech, The version of collapse.lua you appear to be using doesn't work with lua 5.2. You can either downgrade lua or get an updated version of the script from https://sourceforge.net/p/notion/notion/ci/master/tree/contrib/scripts/ Kind regards, Arnout On Thu, May 15, 2014 at 12:04 PM, Wojciech Aniszewski <ani...@co...>wrote: > Salut, > > I got as far as: > /collapse.lua:23: <name> expected near 'goto' > > so I guess I'm way off:) > regards > w > > > On Wed, May 14, 2014 at 11:44:27PM +0200, Arnout Engelen wrote: > > Hi Matthieu, > > > > Thanks for the pointer. I've been to run the script and kind of reproduce > > the problem: for me notion didn't crash outright but ended up in an > > infinite loop - not much better :). > > > > Upon inspection this seems to be a bona fide pointer arithmetic bug > that's > > been lurking there since before 2005. > > > > I think this should now be fixed on git master HEAD, can you verify it > > indeed works for you, too? > > > > > > Kind regards, > > > > Arnout > > > > > > On Tue, May 13, 2014 at 8:35 AM, Matthieu Moy > > <Mat...@gr...>wrote: > > > > > Arnout Engelen <ar...@bz...> writes: > > > > > > > On Sun, May 4, 2014 at 7:47 PM, Matthieu Moy < > > > Mat...@gr...> wrote: > > > > > > > > I'm using notion from Debian, and collapse.lua from here: > > > > > > > > https://github.com/dkogan/notion-scripts/blob/master/scripts/collapse.lua > > > > (move all clients to the same frame and close all other frames, > like > > > C-x > > > > 1 in Emacs) > > > > > > > > The last upgrade broke collapse.lua: using it now causes notion > to > > > > segfault. > > > > > > > > Can you explain how exactly you invoke this script? I can't really > seem > > > to reproduce the crash (or make the > > > > script do anything useful, actually). > > > > > > A looong time I wrote this config, and I don't remember how it > > > works ;-). > > > > > > I use emacs-bindings.lua and collapse.lua together: > > > > > > > > > > https://github.com/dkogan/notion-scripts/blob/master/keybindings/emacs_bindings.lua > > > > > > (essentially, I get the same split/join/... behavior for notion and for > > > Emacs, just shifting my thumb from the Alt_L key to the Super_L key) > > > > > > The relevant part is: > > > > > > Emacs.WTiling_X = { > > > kpress ("AnyModifier+1", "collapse.collapse(_)"), > > > } > > > > > > Emacs.WTiling = { > > > submap(META.."x", Emacs.WTiling_X), > > > } > > > > > > defbindings("WTiling", Emacs.WTiling) > > > > > > Then, split your workspaces in any way, type Control-x 1 and you'll get > > > a single split with all frames attached to it. > > > > > > > In the mean time, can you try and reproduce the problem with > > > > the debug_defer_crash git branch? This should no longer crash notion, > > > > but spew out all kinds of diagnostics. > > > > > > No time today, but I'll try when I get time. > > > > > > -- > > > Matthieu Moy > > > http://www-verimag.imag.fr/~moy/ > > > > > > > ------------------------------------------------------------------------------ > > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > > Instantly run your Selenium tests across 300+ browser/OS combos. > > Get unparalleled scalability from the best Selenium testing platform > available > > Simple to use. Nothing to install. Get started now for free." > > http://p.sf.net/sfu/SauceLabs > > > _______________________________________________ > > Notion-general mailing list > > Not...@li... > > https://lists.sourceforge.net/lists/listinfo/notion-general > > > -- > Wojtek Aniszewski > [Eng: voyteck aanishevsky] > [Fr: vôytek anichévsky] > > /^..^\ ,-------------------------------------, > ( (••) ) ----| My public GPG key ID: AC66485E | > (|)_._(|)~ | please use email encryption! | > `-------------------------------------" > |