Re: [sawfish] Re: `position' in rep...?

2011-06-10 Thread Christopher Roy Bratusek
Issue solved. Improved `position' now in rep.util.misc. SawfishConfig uses `option-index' instead. Chris

Re: [sawfish] Re: `position' in rep...?

2011-06-10 Thread Eli Barzilay
30 minutes ago, Christopher Roy Bratusek wrote: Issue solved. Improved `position' now in rep.util.misc. SawfishConfig uses `option-index' instead. It seems that something like `option-index' doesn't belong in there, at least not with a name that makes it specific to functionality that librep

Re: [sawfish] Re: `position' in rep...?

2011-06-09 Thread nano
I don't see this branch at git://git.gnome.org/sawfish That's the old GIT Repo, see Wiki (Download GIT) or http://sawfish.tuxfamily.org/ for new GIT Repo on Tuxfamily. 5 hours ago, Christopher Roy Bratusek wrote: [...] Now I've seen the problem: (a b c) Vs '(a b c) That sounds like

Re: [sawfish] Re: `position' in rep...?

2011-06-09 Thread Jeremy Hankins
n...@tuxfamily.org writes: check from sawfish-client: client (setq mylist (a b c)) This should generate an error (possibly in .xsession-errors?) and leave mylist unset, as it attempts to set mylist to the function a called with b and c. -- Jeremy Hankins no...@nowan.org

Re: [sawfish] Re: `position' in rep...?

2011-06-09 Thread Eli Barzilay
8 hours ago, n...@tuxfamily.org wrote: I don't see this branch at git://git.gnome.org/sawfish That's the old GIT Repo, see Wiki (Download GIT) or http://sawfish.tuxfamily.org/ for new GIT Repo on Tuxfamily. Bah. Is there any reason not to make the old page point to the new one? Also,

Re: [sawfish] Re: `position' in rep...?

2011-06-09 Thread Christopher Roy Bratusek
Am 09.06.2011 16:57, schrieb Eli Barzilay: 8 hours ago, n...@tuxfamily.org wrote: I don't see this branch at git://git.gnome.org/sawfish That's the old GIT Repo, see Wiki (Download GIT) or http://sawfish.tuxfamily.org/ for new GIT Repo on Tuxfamily. Bah. Is there any reason not to make the

Re: [sawfish] Re: `position' in rep...?

2011-06-09 Thread Christopher Roy Bratusek
Am 09.06.2011 16:57, schrieb Eli Barzilay: 8 hours ago, n...@tuxfamily.org wrote: I don't see this branch at git://git.gnome.org/sawfish That's the old GIT Repo, see Wiki (Download GIT) or http://sawfish.tuxfamily.org/ for new GIT Repo on Tuxfamily. Bah. Is there any reason not to make the

Re: [sawfish] Re: `position' in rep...?

2011-06-09 Thread Christopher Roy Bratusek
Wiki is still official, sawfish.tuxfamily.org is just an overview page. You mean wikia, right? Yes. Both point to the new GIT No -- I started from the wikia page, then went to the dev page (http://sawfish.wikia.com/wiki/Development) and the second bullet as a link to

Re: [sawfish] Re: `position' in rep...?

2011-06-09 Thread Eli Barzilay
15 minutes ago, Christopher Roy Bratusek wrote: No -- I started from the wikia page, then went to the dev page (http://sawfish.wikia.com/wiki/Development) and the second bullet as a link to http://git.gnome.org/browse/sawfish/tree/ChangeLog -- so if wikia is still the real page, that

Re: [sawfish] Re: `position' in rep...?

2011-06-09 Thread Christopher Roy Bratusek
Two hours ago, Jeremy Hankins wrote: n...@tuxfamily.org writes: check from sawfish-client: client (setq mylist (a b c)) This should generate an error (possibly in .xsession-errors?) and leave mylist unset, as it attempts to set mylist to the function a called with b and c. Yeah,

Re: [sawfish] Re: `position' in rep...?

2011-06-08 Thread Christopher Roy Bratusek
Am 07.06.2011 23:37, schrieb Eli Barzilay: Three hours ago, Christopher Roy Bratusek wrote: Again learned something :) Still, your new version of `position' breaks SawfishConfig (in misc-1.9). If by your version you mean the one I wrote, then please tell me how it breaks. It's been a while

Re: [sawfish] Re: `position' in rep...?

2011-06-08 Thread Eli Barzilay
6 hours ago, Christopher Roy Bratusek wrote: Now in SawfishConfig this code is used (with different variable-names): (gtk-combo-box-text-set-active widget (position value list)) [...] A GtkComboBoxText expects the index-number not the text, so position is used to return it, with your

Re: [sawfish] Re: `position' in rep...?

2011-06-07 Thread Jeremy Hankins
Eli Barzilay e...@barzilay.org writes: 9 hours ago, Jeremy Hankins wrote: I wrote a version of the position function that would work with circular lists, since the other one will start an infinite loop if you give it a circular list. That code is broken, as Timo points out. See correct

Re: [sawfish] Re: `position' in rep...?

2011-06-07 Thread Eli Barzilay
Three hours ago, Christopher Roy Bratusek wrote: Again learned something :) Still, your new version of `position' breaks SawfishConfig (in misc-1.9). If by your version you mean the one I wrote, then please tell me how it breaks. It's been a while since I wrote sawfish code so it's likely

Re: [sawfish] Re: `position' in rep...?

2011-06-07 Thread Eli Barzilay
9 hours ago, Jeremy Hankins wrote: I say I don't know because I don't know how involved the changes to librep that would fix this would have to be. The simplest thing to do when printing out a list is to use the same trick and just abort with an error message, or print `...' when you get back