From xma at gnu.org Sat Mar 1 01:00:19 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 1 Mar 2008 02:00:19 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <87oda0u7ik.fsf@ten.hd.free.fr> (message from Cyrille THOUVENIN on Thu, 28 Feb 2008 21:54:11 +0100) References: <87oda0u7ik.fsf@ten.hd.free.fr> Message-ID: <200803010100.m2110IZT008866@localhost.localdomain> wiki, a bug tracker built-in and a subversion browser that fit nicely together. Although I do not know Trac at all, why not provide a git repository to host the project source code ? I find it easier to use ;) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From pbrochard at common-lisp.net Sat Mar 1 12:00:17 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 01 Mar 2008 13:00:17 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <200803010100.m2110IZT008866@localhost.localdomain> (Xavier Maillard's message of "Sat\, 1 Mar 2008 02\:00\:19 +0100") References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> Message-ID: <87lk521woe.fsf@free.fr> Xavier Maillard writes: > wiki, a bug tracker built-in and a subversion browser that fit nicely > together. > > Although I do not know Trac at all, why not provide a git > repository to host the project source code ? I find it easier to > use ;) > Hi Xavier welcome on this list, Common lisp.net provide a subversion system that is well integrated with the trac. I havn't found if they can provide a git repository. I'll make some test with the svn and go for it if it is easy to handle (I think it's more easy than CVS). Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sat Mar 1 13:26:15 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 01 Mar 2008 14:26:15 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <200803010100.m2110IZT008866@localhost.localdomain> (Xavier Maillard's message of "Sat\, 1 Mar 2008 02\:00\:19 +0100") References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> Message-ID: <87ejau1sp4.fsf@free.fr> Xavier Maillard writes: > wiki, a bug tracker built-in and a subversion browser that fit nicely > together. > > Although I do not know Trac at all, why not provide a git > repository to host the project source code ? I find it easier to > use ;) > I test the svn repository. You can get the sources as an anonymous user with: svn checkout svn://common-lisp.net/project/clfswm/svn/clfswm The source can be browsed from the trac: http://trac.common-lisp.net/clfswm/browser/ Is this ok for you? For me, I can go with it as all is well integrated on the trac. Let me know and I switch from CVS to svn. Philippe -- Philippe Brochard http://hocwp.free.fr From Matthieu.Moy at imag.fr Sat Mar 1 14:58:23 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Sat, 01 Mar 2008 15:58:23 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <87lk521woe.fsf@free.fr> (Philippe Brochard's message of "Sat\, 01 Mar 2008 13\:00\:17 +0100") References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> <87lk521woe.fsf@free.fr> Message-ID: Philippe Brochard writes: > Xavier Maillard writes: > >> wiki, a bug tracker built-in and a subversion browser that fit nicely >> together. >> >> Although I do not know Trac at all, why not provide a git >> repository to host the project source code ? I find it easier to >> use ;) >> > Hi Xavier welcome on this list, > > Common lisp.net provide a subversion system that is well integrated > with the trac. I havn't found if they can provide a git repository. > > I'll make some test with the svn and go for it if it is easy to handle > (I think it's more easy than CVS). SVN is roughly in all points superior to CVS, and IMHO, it includes ease of use. As for Git, it's a bit different. Git is really cool, extremely powerfull, but also has a few drawbacks (for example, the fact that SVN is more widely spread, so a random service provider has better chance to provide SVN than to provide Git, a random client machine will have SVN more often that Git). That said, a raw HTTP webspace can be enough to host Git, and Git is also available, for example at tuxfamily.org. But hey, if the goal is to go for a widely supported solution, why not just migrate to KDE :o) ! (anyway, there's a pretty good git-svn tool, so you using SVN won't prevent us from using Git). -- Matthieu From xma at gnu.org Mon Mar 3 01:00:23 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 3 Mar 2008 02:00:23 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: (message from Matthieu Moy on Sat, 01 Mar 2008 15:58:23 +0100) References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> <87lk521woe.fsf@free.fr> Message-ID: <200803030100.m2310M1t026910@localhost.localdomain> [I am desperately looking for a cool project without having to meet the same people everytime :)] > I'll make some test with the svn and go for it if it is easy to handle > (I think it's more easy than CVS). SVN is roughly in all points superior to CVS, and IMHO, it includes ease of use. Agree. But hey, if the goal is to go for a widely supported solution, why not just migrate to KDE :o) ! You want to kill me, don't you ? :) (anyway, there's a pretty good git-svn tool, so you using SVN won't prevent us from using Git). Ah yes, I forgot about this. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 3 01:00:20 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 3 Mar 2008 02:00:20 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <87ejau1sp4.fsf@free.fr> (message from Philippe Brochard on Sat, 01 Mar 2008 14:26:15 +0100) References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> <87ejau1sp4.fsf@free.fr> Message-ID: <200803030100.m2310K61026906@localhost.localdomain> Let me know and I switch from CVS to svn. Go for it then :) I am not against svn and it will at least, outperforms CVS by *far* anyway. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 3 01:00:18 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 3 Mar 2008 02:00:18 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <87lk521woe.fsf@free.fr> (message from Philippe Brochard on Sat, 01 Mar 2008 13:00:17 +0100) References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> <87lk521woe.fsf@free.fr> Message-ID: <200803030100.m2310IhM026901@localhost.localdomain> Xavier Maillard writes: > wiki, a bug tracker built-in and a subversion browser that fit nicely > together. > > Although I do not know Trac at all, why not provide a git > repository to host the project source code ? I find it easier to > use ;) > Hi Xavier welcome on this list, Thank you :) I'll make some test with the svn and go for it if it is easy to handle (I think it's more easy than CVS). It is probably easier but I am pretty sure it is not as good as git is. Anyway, thank you for Trac, it will probably help in making clfswm conquer the world ! :) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From pbrochard at common-lisp.net Mon Mar 3 20:07:52 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 03 Mar 2008 21:07:52 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <200803030100.m2310K61026906@localhost.localdomain> (Xavier Maillard's message of "Mon\, 3 Mar 2008 02\:00\:20 +0100") References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> <87ejau1sp4.fsf@free.fr> <200803030100.m2310K61026906@localhost.localdomain> Message-ID: <87ablfk1uv.fsf@free.fr> Xavier Maillard writes: > Let me know and I switch from CVS to svn. > > Go for it then :) I am not against svn and it will at least, > outperforms CVS by *far* anyway. > Ok, so let's go for svn. -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Mon Mar 3 20:09:52 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 03 Mar 2008 21:09:52 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: (Matthieu Moy's message of "Sat\, 01 Mar 2008 15\:58\:23 +0100") References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> <87lk521woe.fsf@free.fr> Message-ID: <8763w3k1rj.fsf@free.fr> Matthieu Moy a ?crit : > Philippe Brochard writes: > >> Xavier Maillard writes: >> >>> wiki, a bug tracker built-in and a subversion browser that fit nicely >>> together. >>> >>> Although I do not know Trac at all, why not provide a git >>> repository to host the project source code ? I find it easier to >>> use ;) >>> >> Hi Xavier welcome on this list, >> >> Common lisp.net provide a subversion system that is well integrated >> with the trac. I havn't found if they can provide a git repository. >> >> I'll make some test with the svn and go for it if it is easy to handle >> (I think it's more easy than CVS). > > SVN is roughly in all points superior to CVS, and IMHO, it includes > ease of use. > > As for Git, it's a bit different. Git is really cool, extremely > powerfull, but also has a few drawbacks (for example, the fact that > SVN is more widely spread, so a random service provider has better > chance to provide SVN than to provide Git, a random client machine > will have SVN more often that Git). That said, a raw HTTP webspace can > be enough to host Git, and Git is also available, for example at > tuxfamily.org. > > But hey, if the goal is to go for a widely supported solution, why not > just migrate to KDE :o) ! > > (anyway, there's a pretty good git-svn tool, so you using SVN won't > prevent us from using Git). > Ah, ok, thanks for this details. For now I switch to svn because it is well integrated with trac on common-lisp.net and it is easy to use. -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Mon Mar 3 20:11:30 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 03 Mar 2008 21:11:30 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <200803030100.m2310M1t026910@localhost.localdomain> (Xavier Maillard's message of "Mon\, 3 Mar 2008 02\:00\:23 +0100") References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> <87lk521woe.fsf@free.fr> <200803030100.m2310M1t026910@localhost.localdomain> Message-ID: <87y78zin4d.fsf@free.fr> Xavier Maillard writes: > [I am desperately looking for a cool project without having to > meet the same people everytime :)] > Hehe, then take a look at kde, there is less probability to find someone you already know :) [...] -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Mon Mar 3 20:16:19 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 03 Mar 2008 21:16:19 +0100 Subject: [clfswm-devel] CLFSWM wiki In-Reply-To: <200803030100.m2310IhM026901@localhost.localdomain> (Xavier Maillard's message of "Mon\, 3 Mar 2008 02\:00\:18 +0100") References: <87oda0u7ik.fsf@ten.hd.free.fr> <200803010100.m2110IZT008866@localhost.localdomain> <87lk521woe.fsf@free.fr> <200803030100.m2310IhM026901@localhost.localdomain> Message-ID: <87tzjnimwc.fsf@free.fr> Xavier Maillard writes: > Xavier Maillard writes: > > > wiki, a bug tracker built-in and a subversion browser that fit nicely > > together. > > > > Although I do not know Trac at all, why not provide a git > > repository to host the project source code ? I find it easier to > > use ;) > > > Hi Xavier welcome on this list, > > Thank you :) > > I'll make some test with the svn and go for it if it is easy to handle > (I think it's more easy than CVS). > > It is probably easier but I am pretty sure it is not as good as > git is. > I'll take a look at git. But svn seems to be more integrated with trac on common-lisp.net. So if there is a gateway between svn and git everybody will be happy. > Anyway, thank you for Trac, it will probably help in making > clfswm conquer the world ! :) > Hum, it's not really the goal of clfswm: I don't think Miss Michu will like clfswm for example :) But my wife use it every days and she doesn't complain about it, so... -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Mon Mar 3 20:24:26 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 03 Mar 2008 21:24:26 +0100 Subject: [clfswm-devel] Switch from CVS to SVN Message-ID: <87hcfnimit.fsf@free.fr> Hi all, As subversion is well integrated with trac on common-lisp.net, clfswm has switch to svn. As said in a previous message, you can fetch it with this command: svn checkout svn://common-lisp.net/project/clfswm/svn/clfswm And the source can be browsed from the trac: http://trac.common-lisp.net/clfswm/browser/ I let the old stable version (with group and workspaces) on the CVS. All new development is done on the svn (there have been already some commit). I'll make an announce of trac+svn with the new stable release. -- Philippe Brochard http://hocwp.free.fr From Matthieu.Moy at imag.fr Mon Mar 3 21:54:25 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Mon, 03 Mar 2008 22:54:25 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... Message-ID: Hi, I got some more time to try out clfswm, but I seem to be quite unlucky ... Last time, I was running clisp 2.42 from Debian unstable, and got multiple segfaults. This time, I tried installing clisp (2.44.1) following the instructions on the wiki. But "make" fails: [...] ../src/foreign.d:17:64: error: avcall.h: No such file or directory ../src/foreign.d:18:63: error: callback.h: No such file or directory ../src/foreign.d:460: error: expected declaration specifiers or ?...? before ?va_alist? [...] Then, I tried running the clisp provided with Debian. The good news is that Debian unstable now ships clisp 2.44, so I was hopping for the best. Unfortunately, I just get this : $ clisp load.lisp ; loading system definition from /home/moy/local/usr/src/clfswm/clfswm.asd into # ; registering # as CLFSWM ;; Compiling file /home/moy/local/usr/src/clfswm/clfswm-internal.lisp ... *** - FUNCALL: undefined function XLIB::STRING-CONCAT 0 errors, 0 warnings $ I have no idea where this comes from, since "grep -i string-concat" doesn't say anything in the clfswm source tree. Any idea? -- Matthieu From pbrochard at common-lisp.net Mon Mar 3 22:17:41 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 03 Mar 2008 23:17:41 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: (Matthieu Moy's message of "Mon\, 03 Mar 2008 22\:54\:25 +0100") References: Message-ID: <87d4qbiha2.fsf@free.fr> Matthieu Moy a ?crit : > Hi, > Hi, > I got some more time to try out clfswm, but I seem to be quite > unlucky ... Last time, I was running clisp 2.42 from Debian unstable, > and got multiple segfaults. > Hum, I got also this with the new-clx module. It's for this I run it with the mit-clx module. But Shawn Betts (the stumpwm author) has commited some bugfix to run stumpwm with new-clx. > This time, I tried installing clisp (2.44.1) following the > instructions on the wiki. But "make" fails: > > [...] > ../src/foreign.d:17:64: error: avcall.h: No such file or directory > ../src/foreign.d:18:63: error: callback.h: No such file or directory > ../src/foreign.d:460: error: expected declaration specifiers or ?...? before ?va_alist? > [...] > Do you have libffcall1-dev installed? > Then, I tried running the clisp provided with Debian. The good news is > that Debian unstable now ships clisp 2.44, so I was hopping for the > best. > > Unfortunately, I just get this : > > $ clisp load.lisp > ; loading system definition from /home/moy/local/usr/src/clfswm/clfswm.asd into # > ; registering # as CLFSWM > ;; Compiling file /home/moy/local/usr/src/clfswm/clfswm-internal.lisp ... > *** - FUNCALL: undefined function XLIB::STRING-CONCAT > > 0 errors, 0 warnings > $ > > I have no idea where this comes from, since "grep -i string-concat" > doesn't say anything in the clfswm source tree. > I have had this error on a Debian too. But I havn't had enough time to see where it come from. In all cases, I think the Debian clisp comes with new-clx which was a bit buggy with version < 2.44. I havn't tried with new-clx-2.44. Another thing, clear all .fas and .lib files when you switch from one clisp version to another. For some test and if you are not too limited in ram, you can test clfswm with sbcl. You need to install cl-clx-sbcl. And then load.lisp as usual or: -------------------------------------------------- (require :sb-posix) (require :clx) (require :clfswm) (in-package :clfswm) (main ":0") -------------------------------------------------- Good luck, Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Thu Mar 6 01:00:02 2008 From: xma at gnu.org (Xavier Maillard) Date: Thu, 6 Mar 2008 02:00:02 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? Message-ID: <200803060100.m26102La004174@localhost.localdomain> Hi, I am currently running stumpwm (Git version) with clisp-2.44 without any problem. I am now trying to run clfswm (a svn checkout) with the same clisp version and it does not work. >From what I understand, the problem could come from clisp compiled with the wrong clx module. Here is a "dump" from my clisp -K full: [1]> *FEATURES* (:CL-PPCRE :ASDF-INSTALL :ASDF :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) Is CLX the right one ? If not, what is the new way to build a complete clisp (2.44) with mit-clx ? I saw something has changed with latest clisp version. Second, what is the "right" way to launch clfswm using clisp ? Can anybody show us something simple that works ? With SBCL, it is pretty easy; I have written a small shell script that just does it but I am not a clisp expert. Thank you very much. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Thu Mar 6 01:00:06 2008 From: xma at gnu.org (Xavier Maillard) Date: Thu, 6 Mar 2008 02:00:06 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: <87d4qbiha2.fsf@free.fr> (message from Philippe Brochard on Mon, 03 Mar 2008 23:17:41 +0100) References: <87d4qbiha2.fsf@free.fr> Message-ID: <200803060100.m26106Yw004183@localhost.localdomain> Hi all, > This time, I tried installing clisp (2.44.1) following the > instructions on the wiki. But "make" fails: > > [...] > ../src/foreign.d:17:64: error: avcall.h: No such file or directory > ../src/foreign.d:18:63: error: callback.h: No such file or directory > ../src/foreign.d:460: error: expected declaration specifiers or ?...? before ?va_alist? > [...] > Do you have libffcall1-dev installed? I also had this one (error) when building clisp-2.44 onto my slackware GNU/linux box. I don't know how to fix it here. I thought that something had changed with clisp 2.44 in the building process. Can someone confirm that ? For some test and if you are not too limited in ram, you can test clfswm with sbcl. You need to install cl-clx-sbcl. And then load.lisp as usual or: -------------------------------------------------- (require :sb-posix) (require :clx) (require :clfswm) (in-package :clfswm) (main ":0") -------------------------------------------------- Here is something I am using when I want to launch CLFSWM with SBCL: #!/bin/bash -e # We need to be bash for type -p. # http://stumpwm.antidesktop.net/cgi-bin/wiki/SetUp x="/home/zedek/var/cache/clfswm-$(cksum $(type -p sbcl) | cut -d ' ' -f 1).core" if test ! -e "$x" || ( for i in "$(dirname $(readlink /home/zedek/systems/clfswm.asd))"/*.lisp do test "$x" -ot "$i" && exit 1 done ) then /usr/bin/sbcl --disable-debugger --eval "(mapc 'require '(asdf clfswm))" \ --eval "(save-lisp-and-die \"$x\" :toplevel 'clfswm:main)" fi exec /usr/bin/sbcl --core "$x" This tip is something I adopted and adapted from a Stumpwm contribution. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From pbrochard at common-lisp.net Thu Mar 6 19:23:25 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Thu, 06 Mar 2008 20:23:25 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: <200803060100.m26106Yw004183@localhost.localdomain> (Xavier Maillard's message of "Thu\, 6 Mar 2008 02\:00\:06 +0100") References: <87d4qbiha2.fsf@free.fr> <200803060100.m26106Yw004183@localhost.localdomain> Message-ID: <87od9rmzbm.fsf@free.fr> Xavier Maillard writes: > Hi all, > Hi, > > This time, I tried installing clisp (2.44.1) following the > > instructions on the wiki. But "make" fails: > > > > [...] > > ../src/foreign.d:17:64: error: avcall.h: No such file or directory > > ../src/foreign.d:18:63: error: callback.h: No such file or directory > > ../src/foreign.d:460: error: expected declaration specifiers or ?...? before ?va_alist? > > [...] > > > Do you have libffcall1-dev installed? > > I also had this one (error) when building clisp-2.44 onto my > slackware GNU/linux box. I don't know how to fix it here. I > thought that something had changed with clisp 2.44 in the > building process. Can someone confirm that ? > I have had this error on my Debian/ppc and installing the libffcall devel package solve the instalation failure. Be sure to take clisp-2.44.1 because the 2.44 doesn't compile with the current gcc version (a bug in gcc. The 2.44.1 version has a workaround to this bug). I don't think something has changed in the building process. My script to build clisp works the same way as with older versions of clisp. http://trac.common-lisp.net/clfswm/wiki/BuildClisp > For some test and if you are not too limited in ram, you can test > clfswm with sbcl. You need to install cl-clx-sbcl. > And then load.lisp as usual or: > > -------------------------------------------------- > (require :sb-posix) > (require :clx) > (require :clfswm) > (in-package :clfswm) > (main ":0") > -------------------------------------------------- > > Here is something I am using when I want to launch CLFSWM with > SBCL: > > #!/bin/bash -e > # We need to be bash for type -p. > > # http://stumpwm.antidesktop.net/cgi-bin/wiki/SetUp > x="/home/zedek/var/cache/clfswm-$(cksum $(type -p sbcl) | cut -d ' ' -f 1).core" > if test ! -e "$x" || > ( for i in "$(dirname $(readlink /home/zedek/systems/clfswm.asd))"/*.lisp > do test "$x" -ot "$i" && exit 1 > done ) > then /usr/bin/sbcl --disable-debugger --eval "(mapc 'require '(asdf clfswm))" \ > --eval "(save-lisp-and-die \"$x\" :toplevel 'clfswm:main)" > fi > exec /usr/bin/sbcl --core "$x" > > This tip is something I adopted and adapted from a Stumpwm contribution. > My pkgbuild for archlinux is here: http://aur.archlinux.org/packages/clfswm/clfswm/PKGBUILD I'll take a look to your script to see if I can adapt it for archlinux. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Thu Mar 6 19:25:20 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Thu, 06 Mar 2008 20:25:20 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <200803060100.m26102La004174@localhost.localdomain> (Xavier Maillard's message of "Thu\, 6 Mar 2008 02\:00\:02 +0100") References: <200803060100.m26102La004174@localhost.localdomain> Message-ID: <87k5kfmz8f.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > I am currently running stumpwm (Git version) with clisp-2.44 > without any problem. > > I am now trying to run clfswm (a svn checkout) with the same > clisp version and it does not work. > Please, check the last svn. Clfswm works with clisp-2.44.1 and new-clx on my boxes. Tell me what's wrong on your box. >>From what I understand, the problem could come from clisp > compiled with the wrong clx module. Here is a "dump" from my > clisp -K full: > > [1]> *FEATURES* > (:CL-PPCRE :ASDF-INSTALL :ASDF > :CLX-ANSI-COMMON-LISP :CLX :REGEXP :SYSCALLS :I18N :LOOP > :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL > :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN > :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) > > Is CLX the right one ? > Sadly there is no difference between a *features* with a mit-clx and a new-clx. I think most distributions compile clisp with new-clx. > If not, what is the new way to build a complete clisp (2.44) with > mit-clx ? I saw something has changed with latest clisp version. > I do like I said here: http://trac.common-lisp.net/clfswm/wiki/BuildClisp This way works both on my Archlinux/x86 and my Debian/ppc. The last svn works with both mit-clx and new-clx on this two machines. > Second, what is the "right" way to launch clfswm using clisp ? > Can anybody show us something simple that works ? > > With SBCL, it is pretty easy; I have written a small shell script > that just does it but I am not a clisp expert. > My pkgbuild for archlinux is here: http://aur.archlinux.org/packages/clfswm/clfswm/PKGBUILD It compile clfswm in a share directory and create a little startup script which load clfswm with asdf. -------------------------------------------------- mkdir -p $startdir/pkg/usr/share/clfswm-$pkgver/src cp -R $startdir/src/clfswm-$pkgver/* $startdir/pkg/usr/share/clfswm-$pkgver/src cd $startdir/pkg/usr/share/clfswm-$pkgver/src msg "Starting to build clisp image" clisp -m 4MB -E ISO-8859-1 -q -K full -i asdf.lisp -x "(asdf:oos 'asdf:load-op :clfswm)" mkdir -p $startdir/pkg/usr/bin/ cat <<- EOF > $startdir/pkg/usr/bin/clfswm #!/bin/sh echo "Please, hit 'Alt F1' or 'Mod-1 F1' for help on clfswm." cd /usr/share/clfswm-$pkgver/src/ clisp -m 4MB -q -q -K full -E ISO-8859-1 -i asdf.lisp -x "(asdf:oos 'asdf:load-op :clfswm) (setf clfswm::*have-to-compress-notify* t) (clfswm:main)" EOF chmod a+x $startdir/pkg/usr/bin/clfswm -------------------------------------------------- The *have-to-compress-notify* is for the 0801 version with mit-clx. > Thank you very much. > I hope that's help and feel free to add what works for your on the clfswm wiki. http://trac.common-lisp.net/clfswm/wiki Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Sun Mar 9 01:00:09 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 9 Mar 2008 02:00:09 +0100 Subject: [clfswm-devel] Hard time using SVN Message-ID: <200803090100.m29108Yv005962@localhost.localdomain> Hi, As expected, I am not really happy with SVN. Switching from git and SVN makes me rather frustrated ;) Can someone maintain a git mirror somewhere ? Or even better, can someone explain how I am supposed to use git-svn ? Regards, Xavier P.S: I really love the new CLFSWM code, it is cleaner and simpler to understand. Well done ! -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 9 01:00:02 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 9 Mar 2008 02:00:02 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <87k5kfmz8f.fsf@free.fr> (message from Philippe Brochard on Thu, 06 Mar 2008 20:25:20 +0100) References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> Message-ID: <200803090100.m29102WC005941@localhost.localdomain> Hi, > I am now trying to run clfswm (a svn checkout) with the same > clisp version and it does not work. > Please, check the last svn. Clfswm works with clisp-2.44.1 and new-clx on my boxes. Tell me what's wrong on your box. I updated my local copy with a fresh checkout of the SVN repository and it just works now ! I think, my clisp version need to be built again to have mit and new-clx compiled as modules as well. > If not, what is the new way to build a complete clisp (2.44) with > mit-clx ? I saw something has changed with latest clisp version. > I do like I said here: http://trac.common-lisp.net/clfswm/wiki/BuildClisp This way works both on my Archlinux/x86 and my Debian/ppc. The last svn works with both mit-clx and new-clx on this two machines. Well, clfswm is not really the cullprit here. In fact, I am pretty sure that the clisp build process has changed with latest release breaking the way I was used to do it. Now each time I am trying to compile clisp (latest version) on my machine, it just fails at some point. I need to investigate a bit deeper. > With SBCL, it is pretty easy; I have written a small shell script > that just does it but I am not a clisp expert. > My pkgbuild for archlinux is here: Yep, I already have red it. By the way, why don't you offer a lisp image instead of this shell script ? This would avoid the need to "chdir" and the user would have just a quick and simple binary script to launch. I am sure it is quicker. I hope that's help and feel free to add what works for your on the clfswm wiki. http://trac.common-lisp.net/clfswm/wiki I will. By the way, how do you edit this wiki from emacs ? Is there something available (a mode) ? Cheers, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 9 01:00:06 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 9 Mar 2008 02:00:06 +0100 Subject: [clfswm-devel] [PATCH] Force XDG_CONFIG_HOME first Message-ID: <200803090100.m291064C005950@localhost.localdomain> Hi, Included is a rather small change I would like to submit. This patch just change the check order when trying to detect the configuration file to use. So it is a one-line patch that would not hurt anything. I think CLFSWM should first respect freedesktop.org specifications before failing back to "old habits" way. I am pleased to see you added support for the XDG_CONFIG_HOME standard, but now has come the time to just switch to it. [I already updated the wiki :)] Here it is: Index: ChangeLog =================================================================== --- ChangeLog (revision 19) +++ ChangeLog (working copy) @@ -1,3 +1,9 @@ +2008-03-08 Xavier Maillard + + * clfswm.lisp (read-conf-file): Check for the user config file in + XDG_CONFIG_HOME *first*. Freedesktop.org standards should be + prefered whenever possible. + 2008-02-27 Philippe Brochard * clfswm-layout.lisp (*-layout): Add an optional raise-p Index: clfswm.lisp =================================================================== --- clfswm.lisp (revision 19) +++ clfswm.lisp (working copy) @@ -247,7 +247,7 @@ (etc-conf (probe-file #p"/etc/clfswmrc")) (config-user-conf (probe-file (make-pathname :directory (append (xdg-config-home) '("clfswm")) :name "clfswmrc"))) - (conf (or user-conf etc-conf config-user-conf))) + (conf (or config-user-conf user-conf etc-conf))) (if conf (handler-case (load conf) (error (c) @@ -285,7 +285,6 @@ (ungrab-main-keys) (xlib:destroy-window *no-focus-window*) (xlib:close-display *display*))) - Regards, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 9 01:00:11 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 9 Mar 2008 02:00:11 +0100 Subject: [clfswm-devel] [PATCH] contrib/clfswm Message-ID: <200803090100.m2910BBb005963@localhost.localdomain> Hi, Here is a new version of my previous script I used to launch CLFSWM. This one just does the same thing except it will run a CLISP image (I prefer CLISP, dunno why). Here is the proposed ChangeLog entry: 2008-03-08 Xavier Maillard * contrib/clfswm: New script. Dump a CLISP image of CLFSWM then call the resulting executable. And here is the script (inlined): #!/bin/bash -e # # #Date#: # # -------------------------------------------------------------------------- # Documentation: # # Original code and idea: http://stumpwm.antidesktop.net/cgi-bin/wiki/SetUp # # This script is targeted to CLisp users. It will help in starting # CLFSWM quicker by dumping an image of CLFSWM. # # Installation: # Put this script wherever you want and just call it from your .xinitrc file # # The first time you will launch it, it will build the final # executable and then call it. To force a rebuild of your executable # (say you have updated something in the CLFSWM source tree), just # delete the image and restart your X session. # -------------------------------------------------------------------------- # (C) 2008 Xavier Maillard # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -------------------------------------------------------------------------- # Tweak this IMAGE="$HOME/var/cache/clfswm-$(cksum $(type -p clisp) | cut -d ' ' -f 1).core" ASDF=$HOME/usr/src/SVNed/clfswm CLFSWMASDPATH=$HOME/usr/share/common-lisp/systems if test ! -e "$x" || ( for i in "$(dirname $(readlink $CLFSWMASDPATH/clfswm.asd))"/*.lisp do test "$x" -ot "$i" && exit 1 done ) then clisp -m 8MB -E ISO-8859-1 -q -K full -i $ASDF/asdf.lisp -x "(asdf:oos 'asdf:load-op :clfswm)\ (EXT:SAVEINITMEM \"$IMAGE\" :INIT-FUNCTION 'clfswm:main :EXECUTABLE t :norc t)" fi $IMAGE Hope it will be helpful. (I already have enhancements I am currently testing) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From Matthieu.Moy at imag.fr Sun Mar 9 11:31:48 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Sun, 09 Mar 2008 12:31:48 +0100 Subject: [clfswm-devel] Hard time using SVN In-Reply-To: <200803090100.m29108Yv005962@localhost.localdomain> (Xavier Maillard's message of "Sun\, 9 Mar 2008 02\:00\:09 +0100") References: <200803090100.m29108Yv005962@localhost.localdomain> Message-ID: Xavier Maillard writes: > Hi, > > As expected, I am not really happy with SVN. Switching from git > and SVN makes me rather frustrated ;) > > Can someone maintain a git mirror somewhere ? Or even better, can > someone explain how I am supposed to use git-svn ? Just wrote this: http://trac.common-lisp.net/clfswm/wiki/SVN In short: git svn clone svn://common-lisp.net/project/clfswm/svn/clfswm/ git svn rebase -- Matthieu From pbrochard at common-lisp.net Sun Mar 9 12:29:21 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 13:29:21 +0100 Subject: [clfswm-devel] Hard time using SVN In-Reply-To: <200803090100.m29108Yv005962@localhost.localdomain> (Xavier Maillard's message of "Sun\, 9 Mar 2008 02\:00\:09 +0100") References: <200803090100.m29108Yv005962@localhost.localdomain> Message-ID: <87iqzw3wta.fsf@free.fr> Xavier Maillard writes: > Hi, > > As expected, I am not really happy with SVN. Switching from git > and SVN makes me rather frustrated ;) > > Can someone maintain a git mirror somewhere ? > Maybe I can setup one on common-lisp.net. I just need to know how to create a repository over ssh. But in this case, as I like the trac code browser, I need to commit for git and svn (it's not hard but I'm not sure I'll like the double commit and even worse the version revision). >Or even better, can someone explain how I am supposed to use git-svn? > See the Matthieu post on the wiki and tell us if you can leave with that. In the other case I'll take a look to have a git repo on cl.net. > Regards, > Regards, Philippe > P.S: I really love the new CLFSWM code, it is cleaner and simpler > to understand. Well done ! > Yes I like it too: there is far less duplicated code and all is more simple. -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 9 12:32:37 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 13:32:37 +0100 Subject: [clfswm-devel] [PATCH] Force XDG_CONFIG_HOME first In-Reply-To: <200803090100.m291064C005950@localhost.localdomain> (Xavier Maillard's message of "Sun\, 9 Mar 2008 02\:00\:06 +0100") References: <200803090100.m291064C005950@localhost.localdomain> Message-ID: <87ejak3wnu.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > Included is a rather small change I would like to submit. This > patch just change the check order when trying to detect the > configuration file to use. > > So it is a one-line patch that would not hurt anything. > > I think CLFSWM should first respect freedesktop.org > specifications before failing back to "old habits" way. I am > pleased to see you added support for the XDG_CONFIG_HOME > standard, but now has come the time to just switch to it. > Yes, I think it's time too. I've applied the patch on my local copy. I'll commit it when I have finished the 'new window hook'. > [I already updated the wiki :)] > I see this, thanks! [...] Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 9 12:34:11 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 13:34:11 +0100 Subject: [clfswm-devel] [PATCH] contrib/clfswm In-Reply-To: <200803090100.m2910BBb005963@localhost.localdomain> (Xavier Maillard's message of "Sun\, 9 Mar 2008 02\:00\:11 +0100") References: <200803090100.m2910BBb005963@localhost.localdomain> Message-ID: <878x0s3wl8.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > Here is a new version of my previous script I used to launch > CLFSWM. This one just does the same thing except it will run a > CLISP image (I prefer CLISP, dunno why). > Ok, thanks, it's on my local copy waiting for a commit. [...] Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 9 12:46:47 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 13:46:47 +0100 Subject: [clfswm-devel] [PATCH] contrib/clfswm In-Reply-To: <200803090100.m2910BBb005963@localhost.localdomain> (Xavier Maillard's message of "Sun\, 9 Mar 2008 02\:00\:11 +0100") References: <200803090100.m2910BBb005963@localhost.localdomain> Message-ID: <873ar03w08.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > Here is a new version of my previous script I used to launch > CLFSWM. This one just does the same thing except it will run a > CLISP image (I prefer CLISP, dunno why). > As an improvement, is it possible to ask the lisp implementation one wants to use at the first start? Or better, check the implementation on the machine and ask which one to use (default to clisp then sbcl or cmucl or ...) and tell what to do if there is no implementation available. I think this can make the clfswm usage more easy for newcomers on Common Lisp. Again thanks for your contribution. I have added your name to the AUTHORS file. Tell me if you don't want to see your mail or your name in this file. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From Matthieu.Moy at imag.fr Sun Mar 9 12:49:07 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Sun, 09 Mar 2008 13:49:07 +0100 Subject: [clfswm-devel] Hard time using SVN In-Reply-To: <87iqzw3wta.fsf@free.fr> (Philippe Brochard's message of "Sun\, 09 Mar 2008 13\:29\:21 +0100") References: <200803090100.m29108Yv005962@localhost.localdomain> <87iqzw3wta.fsf@free.fr> Message-ID: Philippe Brochard writes: > Xavier Maillard writes: > >> Hi, >> >> As expected, I am not really happy with SVN. Switching from git >> and SVN makes me rather frustrated ;) >> >> Can someone maintain a git mirror somewhere ? >> > Maybe I can setup one on common-lisp.net. I just need to know how to > create a repository over ssh. > But in this case, as I like the trac code browser, I need to commit > for git and svn (it's not hard but I'm not sure I'll like the double > commit and even worse the version revision). Manual double commit is not an option IMHO. You'll necessarily end up with discrepancies between SVN and Git. Either you migrate to Git (I wouldn't force you to do so, but I think that's something you could try. Git really has a lot of cool things, you'll learn a lot by using it), and use the SVN repository just as a mirror (which git knows how to do with "git svn dcommit"), or you continue using SVN, and you (or someone else) sets up a mirror which periodically imports new revisions in the SVN repo to the git mirror. If you want to give Git a try, there's a free Git hosting here for example: http://repo.or.cz/ It's code browser (gitweb) is probably not as integrated with other stuff as the SVN one is integrated into trac, but it's worth having a look. -- Matthieu From Matthieu.Moy at imag.fr Sun Mar 9 13:03:06 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Sun, 09 Mar 2008 14:03:06 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: <87d4qbiha2.fsf@free.fr> (Philippe Brochard's message of "Mon\, 03 Mar 2008 23\:17\:41 +0100") References: <87d4qbiha2.fsf@free.fr> Message-ID: Philippe Brochard writes: > Matthieu Moy a ?crit : > >> Hi, >> > Hi, > >> I got some more time to try out clfswm, but I seem to be quite >> unlucky ... Last time, I was running clisp 2.42 from Debian unstable, >> and got multiple segfaults. >> > Hum, I got also this with the new-clx module. It's for this I run it > with the mit-clx module. But Shawn Betts (the stumpwm author) has > commited some bugfix to run stumpwm with new-clx. > >> This time, I tried installing clisp (2.44.1) following the >> instructions on the wiki. But "make" fails: >> >> [...] >> ../src/foreign.d:17:64: error: avcall.h: No such file or directory >> ../src/foreign.d:18:63: error: callback.h: No such file or directory >> ../src/foreign.d:460: error: expected declaration specifiers or ?...? before ?va_alist? >> [...] >> > Do you have libffcall1-dev installed? I didn't, and installing it solves this particular problem. Surprisingly, I had to restart a build from scratch, but I now have a compiled clisp. Still: ... clisp-2.44.1/build$ ./clisp -x '(require :clx)' i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Welcome to GNU CLISP 2.44.1 (2008-02-23) Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2008 Type :h and hit Enter for context help. *** - LOAD: A file with name CLX does not exist Bye. :-(. (giving up for today) -- Matthieu From pbrochard at common-lisp.net Sun Mar 9 13:07:36 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 14:07:36 +0100 Subject: [clfswm-devel] Hard time using SVN In-Reply-To: (Matthieu Moy's message of "Sun\, 09 Mar 2008 13\:49\:07 +0100") References: <200803090100.m29108Yv005962@localhost.localdomain> <87iqzw3wta.fsf@free.fr> Message-ID: <87tzjg2gh3.fsf@free.fr> Matthieu Moy a ?crit : > Philippe Brochard writes: > >> Xavier Maillard writes: >> >>> Hi, >>> >>> As expected, I am not really happy with SVN. Switching from git >>> and SVN makes me rather frustrated ;) >>> >>> Can someone maintain a git mirror somewhere ? >>> >> Maybe I can setup one on common-lisp.net. I just need to know how to >> create a repository over ssh. >> But in this case, as I like the trac code browser, I need to commit >> for git and svn (it's not hard but I'm not sure I'll like the double >> commit and even worse the version revision). > > Manual double commit is not an option IMHO. You'll necessarily end up > with discrepancies between SVN and Git. > Yes I think so, it's for this reason I don't like this option. > Either you migrate to Git (I wouldn't force you to do so, but I think > that's something you could try. Git really has a lot of cool things, > you'll learn a lot by using it), and use the SVN repository just as a > mirror (which git knows how to do with "git svn dcommit"), or you > continue using SVN, and you (or someone else) sets up a mirror which > periodically imports new revisions in the SVN repo to the git mirror. > I have already played with git and I like it: it's really simple to setup and clone over multiple users. The only thing I miss is how to use it on common-lisp.net over ssh: I'd like to keep the timeline trac done on the svn and I want to have a code broswer as the one on trac. I'll have a look at the git svn and use it instead of svn directly if it fits my needs. > If you want to give Git a try, there's a free Git hosting here for > example: > > http://repo.or.cz/ > > It's code browser (gitweb) is probably not as integrated with other > stuff as the SVN one is integrated into trac, but it's worth having a > look. > Ok, thanks a lot, I'll have a look at this. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 9 13:11:33 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 14:11:33 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: (Matthieu Moy's message of "Sun\, 09 Mar 2008 14\:03\:06 +0100") References: <87d4qbiha2.fsf@free.fr> Message-ID: <87pru42gai.fsf@free.fr> Matthieu Moy a ?crit : > Philippe Brochard writes: > >> Matthieu Moy a ?crit : >> >>> Hi, >>> >> Hi, >> >>> I got some more time to try out clfswm, but I seem to be quite >>> unlucky ... Last time, I was running clisp 2.42 from Debian unstable, >>> and got multiple segfaults. >>> >> Hum, I got also this with the new-clx module. It's for this I run it >> with the mit-clx module. But Shawn Betts (the stumpwm author) has >> commited some bugfix to run stumpwm with new-clx. >> >>> This time, I tried installing clisp (2.44.1) following the >>> instructions on the wiki. But "make" fails: >>> >>> [...] >>> ../src/foreign.d:17:64: error: avcall.h: No such file or directory >>> ../src/foreign.d:18:63: error: callback.h: No such file or directory >>> ../src/foreign.d:460: error: expected declaration specifiers or ?...? before ?va_alist? >>> [...] >>> >> Do you have libffcall1-dev installed? > > I didn't, and installing it solves this particular problem. > Surprisingly, I had to restart a build from scratch, but I now have a > compiled clisp. > Ah, nice! > Still: > > ... clisp-2.44.1/build$ ./clisp -x '(require :clx)' > i i i i i i i ooooo o ooooooo ooooo ooooo > I I I I I I I 8 8 8 8 8 o 8 8 > I \ `+' / I 8 8 8 8 8 8 > \ `-+-' / 8 8 8 ooooo 8oooo > `-__|__-' 8 8 8 8 8 > | 8 o 8 8 o 8 8 > ------+------ ooooo 8oooooo ooo8ooo ooooo 8 > > Welcome to GNU CLISP 2.44.1 (2008-02-23) > > Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 > Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 > Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 > Copyright (c) Bruno Haible, Sam Steingold 1999-2000 > Copyright (c) Sam Steingold, Bruno Haible 2001-2008 > > Type :h and hit Enter for context help. > > *** - LOAD: A file with name CLX does not exist > Bye. > > :-(. > CLX is a module on clisp, if you want to use it, you have to use a full clisp image : ./clisp -K full check for the *features* variable to see if you have the CLX module: $ clisp -K full [1]> *features* (:CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX :CLX-LITTLE-ENDIAN :READLINE :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX) [2]> And the load the clfswm load.lisp file. Philippe -- Philippe Brochard http://hocwp.free.fr From Matthieu.Moy at imag.fr Sun Mar 9 13:25:56 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Sun, 09 Mar 2008 14:25:56 +0100 Subject: [clfswm-devel] Hard time using SVN In-Reply-To: <87tzjg2gh3.fsf@free.fr> (Philippe Brochard's message of "Sun\, 09 Mar 2008 14\:07\:36 +0100") References: <200803090100.m29108Yv005962@localhost.localdomain> <87iqzw3wta.fsf@free.fr> <87tzjg2gh3.fsf@free.fr> Message-ID: Philippe Brochard writes: > The only thing I miss is how to use it on common-lisp.net over ssh: Do you have a full shell access there ? Is git installed there ? -- Matthieu From Matthieu.Moy at imag.fr Sun Mar 9 13:28:44 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Sun, 09 Mar 2008 14:28:44 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: <87pru42gai.fsf@free.fr> (Philippe Brochard's message of "Sun\, 09 Mar 2008 14\:11\:33 +0100") References: <87d4qbiha2.fsf@free.fr> <87pru42gai.fsf@free.fr> Message-ID: Philippe Brochard writes: > CLX is a module on clisp, if you want to use it, you have to use a > full clisp image : > > ./clisp -K full Ah, OK. $ clisp -K full load.lisp [...] Maybe another window manager is running. $ (which is right, I do have another WM at the moment). No more time today, but it seems I've got everything to run it. Thanks, -- Matthieu From pbrochard at common-lisp.net Sun Mar 9 13:30:40 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 14:30:40 +0100 Subject: [clfswm-devel] Hard time using SVN In-Reply-To: (Matthieu Moy's message of "Sun\, 09 Mar 2008 14\:25\:56 +0100") References: <200803090100.m29108Yv005962@localhost.localdomain> <87iqzw3wta.fsf@free.fr> <87tzjg2gh3.fsf@free.fr> Message-ID: <87k5kc2fen.fsf@free.fr> Matthieu Moy a ?crit : > Philippe Brochard writes: > >> The only thing I miss is how to use it on common-lisp.net over ssh: > > Do you have a full shell access there ? > Yes I have a shell on the common-lisp.net server over ssh. > Is git installed there ? > No it isn't. Is there a way to have a local git repo and synchonize it over ssh on a remote machine? I havn't seen anything that explain this simply (I havn't digg too much). But if this is simple I'd like to have a git repo on cl.net. -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 9 13:39:42 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 14:39:42 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: (Matthieu Moy's message of "Sun\, 09 Mar 2008 14\:28\:44 +0100") References: <87d4qbiha2.fsf@free.fr> <87pru42gai.fsf@free.fr> Message-ID: <87fxv02ezl.fsf@free.fr> Matthieu Moy a ?crit : > Philippe Brochard writes: > >> CLX is a module on clisp, if you want to use it, you have to use a >> full clisp image : >> >> ./clisp -K full > > Ah, OK. > > $ clisp -K full load.lisp > [...] > Maybe another window manager is running. > $ > > (which is right, I do have another WM at the moment). > > No more time today, but it seems I've got everything to run it. > > Thanks, > Ok, cool, welcome on board! Philippe -- Philippe Brochard http://hocwp.free.fr From Matthieu.Moy at imag.fr Sun Mar 9 13:44:55 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Sun, 09 Mar 2008 14:44:55 +0100 Subject: [clfswm-devel] Hard time using SVN In-Reply-To: <87k5kc2fen.fsf@free.fr> (Philippe Brochard's message of "Sun\, 09 Mar 2008 14\:30\:40 +0100") References: <200803090100.m29108Yv005962@localhost.localdomain> <87iqzw3wta.fsf@free.fr> <87tzjg2gh3.fsf@free.fr> <87k5kc2fen.fsf@free.fr> Message-ID: Philippe Brochard writes: > Matthieu Moy a ?crit : >> >> Do you have a full shell access there ? >> > Yes I have a shell on the common-lisp.net server over ssh. > >> Is git installed there ? >> > No it isn't. > > Is there a way to have a local git repo and synchonize it over ssh on > a remote machine? Git can't access natively a repository over a plain ssh or sftp, it needs to be installed both on client and on server (but you can still publish your repository over a plain HTTP, it's OK for a read-only access). So, you have two options: * Install git on the server. I'm not sure it's allowed on common-lisp.net, but it shouldn't be technically too difficult. Then, "git init" on the server, and "git push ssh://server/path". * Upload you git repository with something different from Git (e. g. rsync). It will be less efficient, and looses atomicity (i.e. strange behaviors may happen if you upload at the exact same time as someone downloads). For a repository with a low activity like clfswm is, I don't think it's a real problem. -- Matthieu From pbrochard at common-lisp.net Sun Mar 9 14:50:05 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 15:50:05 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <200803090100.m29102WC005941@localhost.localdomain> (Xavier Maillard's message of "Sun\, 9 Mar 2008 02\:00\:02 +0100") References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> Message-ID: <8763vw2bqa.fsf@free.fr> Xavier Maillard writes: > Hi, > > > I am now trying to run clfswm (a svn checkout) with the same > > clisp version and it does not work. > > > Please, check the last svn. Clfswm works with clisp-2.44.1 and new-clx > on my boxes. > Tell me what's wrong on your box. > > I updated my local copy with a fresh checkout of the SVN > repository and it just works now ! I think, my clisp version need > to be built again to have mit and new-clx compiled as modules as > well. > Ah, ok nice. > > If not, what is the new way to build a complete clisp (2.44) with > > mit-clx ? I saw something has changed with latest clisp version. > > > I do like I said here: > > http://trac.common-lisp.net/clfswm/wiki/BuildClisp > > This way works both on my Archlinux/x86 and my Debian/ppc. > The last svn works with both mit-clx and new-clx on this two > machines. > > Well, clfswm is not really the cullprit here. In fact, I am > pretty sure that the clisp build process has changed with latest > release breaking the way I was used to do it. Now each time I am > trying to compile clisp (latest version) on my machine, it just > fails at some point. > > I need to investigate a bit deeper. > > > With SBCL, it is pretty easy; I have written a small shell script > > that just does it but I am not a clisp expert. > > > My pkgbuild for archlinux is here: > > Yep, I already have red it. By the way, why don't you offer a > lisp image instead of this shell script ? This would avoid the > need to "chdir" and the user would have just a quick and simple > binary script to launch. I am sure it is quicker. > Yes I think it's quicker. I'll update my script on the next release. > I hope that's help and feel free to add what works for your on the > clfswm wiki. > > http://trac.common-lisp.net/clfswm/wiki > > I will. By the way, how do you edit this wiki from emacs ? Is > there something available (a mode) ? > I've seen some modes to edit a wiki: http://www.emacswiki.org/cgi-bin/wiki/WikiModeDiscussion Maybe OddmuseMode can do the job: http://www.emacswiki.org/cgi-bin/wiki/OddmuseMode Another mode is trac-wiki.el: http://www.meadowy.org/~gotoh/projects/trac-wiki/ But I havn't success to use it because there is a plugins nedded on the trac server. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 9 18:41:21 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 09 Mar 2008 19:41:21 +0100 Subject: [clfswm-devel] SVN or GIT or SVN... Message-ID: <87zlt7spta.fsf@free.fr> Hi, After some tests, here is a setup I can leave with to manage the clfswm code: 1) We use git _or_ svn. I use git locally. 2) I synchronize the git repository with rsync on the public http server of common-lisp.net. 3) I synchronize the svn repository with git svn. So each commit is a local commit to git, a rsync to the http server and a dcommit to svn. Advantages are that you can use what you want between git or svn. We keep the trac file browser and timeline. The version revision is managed by git so there is less problem of synchronization between git and svn. Drawbacks are that a commit use more bandwidth (rsync+git svn). It's not a real probleme as the clfswm code is small and there is not a lot of change bewteen each version. Another problem is if I rsync as someone update it's git repository. As said by Matthieu there is not a lot of probability that arise but be warn if something goes wrong after an update. Tell what you think about this setup before a go ahead, thanks. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Mon Mar 10 01:00:16 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:16 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: (message from Matthieu Moy on Sun, 09 Mar 2008 14:03:06 +0100) References: <87d4qbiha2.fsf@free.fr> Message-ID: <200803100100.m2A10Gms004614@localhost.localdomain> Still: ... clisp-2.44.1/build$ ./clisp -x '(require :clx)' You must call clisp with -K full to load all CLISP modules (including CLX). When you want to check if a feature is present into your running CLISP image, just check the *FEATURES* variable into the REPL. Regards, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 10 01:00:21 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:21 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <8763vw2bqa.fsf@free.fr> (message from Philippe Brochard on Sun, 09 Mar 2008 15:50:05 +0100) References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> Message-ID: <200803100100.m2A10Knq004622@localhost.localdomain> > I will. By the way, how do you edit this wiki from emacs ? Is > there something available (a mode) ? > I've seen some modes to edit a wiki: http://www.emacswiki.org/cgi-bin/wiki/WikiModeDiscussion Maybe OddmuseMode can do the job: http://www.emacswiki.org/cgi-bin/wiki/OddmuseMode Hum, I do not think so, at least not in the current code state. Another mode is trac-wiki.el: http://www.meadowy.org/~gotoh/projects/trac-wiki/ But I havn't success to use it because there is a plugins nedded on the trac server. Yes it needs a plugin and a patch. So this is not an option. I will try to see if a FUSE project against trac exists, this could be a cool alternative. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 10 01:00:04 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:04 +0100 Subject: [clfswm-devel] [PATCH] contrib/clfswm In-Reply-To: <873ar03w08.fsf@free.fr> (message from Philippe Brochard on Sun, 09 Mar 2008 13:46:47 +0100) References: <200803090100.m2910BBb005963@localhost.localdomain> <873ar03w08.fsf@free.fr> Message-ID: <200803100100.m2A104W4004579@localhost.localdomain> Xavier Maillard writes: > Here is a new version of my previous script I used to launch > CLFSWM. This one just does the same thing except it will run a > CLISP image (I prefer CLISP, dunno why). > As an improvement, is it possible to ask the lisp implementation one wants to use at the first start? See next post :) Or better, check the implementation on the machine and ask which one to use (default to clisp then sbcl or cmucl or ...) and tell what to do if there is no implementation available. I am not sure how to do that but I will try to think about it. I think this can make the clfswm usage more easy for newcomers on Common Lisp. So do I. Again thanks for your contribution. I have added your name to the AUTHORS file. Tell me if you don't want to see your mail or your name in this file. I do not see any problem in this. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 10 01:00:14 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:14 +0100 Subject: [clfswm-devel] SVN or GIT or SVN... In-Reply-To: <87zlt7spta.fsf@free.fr> (message from Philippe Brochard on Sun, 09 Mar 2008 19:41:21 +0100) References: <87zlt7spta.fsf@free.fr> Message-ID: <200803100100.m2A10EoK004613@localhost.localdomain> Tell what you think about this setup before a go ahead, thanks. I like this setup better than having to use that dumb VC :) Now I need to solve my perl installation problem to use git svn. Thank you Philippe for your time and effort in supporting my request, it is highly appreciated here. Xavier P.S: are there any non french people on this list ? :) -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 10 01:00:11 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:11 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <8763vw2bqa.fsf@free.fr> (message from Philippe Brochard on Sun, 09 Mar 2008 15:50:05 +0100) References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> Message-ID: <200803100100.m2A10BXH004596@localhost.localdomain> > I will. By the way, how do you edit this wiki from emacs ? Is > there something available (a mode) ? > I've seen some modes to edit a wiki: http://www.emacswiki.org/cgi-bin/wiki/WikiModeDiscussion Maybe OddmuseMode can do the job: http://www.emacswiki.org/cgi-bin/wiki/OddmuseMode Hum, I do not think so, at least not in the current code state. Another mode is trac-wiki.el: http://www.meadowy.org/~gotoh/projects/trac-wiki/ But I havn't success to use it because there is a plugins nedded on the trac server. Yes it needs a plugin and a patch. So this is not an option. I will try to see if a FUSE project against trac exists, this could be a cool alternative. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 10 01:00:13 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:13 +0100 Subject: [clfswm-devel] Bad luck installing clfswm ... In-Reply-To: (message from Matthieu Moy on Sun, 09 Mar 2008 14:03:06 +0100) References: <87d4qbiha2.fsf@free.fr> Message-ID: <200803100100.m2A10D4g004600@localhost.localdomain> Still: ... clisp-2.44.1/build$ ./clisp -x '(require :clx)' You must call clisp with -K full to load all CLISP modules (including CLX). When you want to check if a feature is present into your running CLISP image, just check the *FEATURES* variable into the REPL. Regards, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 10 01:00:02 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:02 +0100 Subject: [clfswm-devel] SVN or GIT or SVN... In-Reply-To: <87zlt7spta.fsf@free.fr> (message from Philippe Brochard on Sun, 09 Mar 2008 19:41:21 +0100) References: <87zlt7spta.fsf@free.fr> Message-ID: <200803100100.m2A102V7004574@localhost.localdomain> Tell what you think about this setup before a go ahead, thanks. I like this setup better than having to use that dumb VC :) Now I need to solve my perl installation problem to use git svn. Thank you Philippe for your time and effort in supporting my request, it is highly appreciated here. Xavier P.S: are there any non french people on this list ? :) -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 10 01:00:09 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:09 +0100 Subject: [clfswm-devel] Hard time using SVN In-Reply-To: (message from Matthieu Moy on Sun, 09 Mar 2008 12:31:48 +0100) References: <200803090100.m29108Yv005962@localhost.localdomain> Message-ID: <200803100100.m2A108UG004595@localhost.localdomain> Xavier Maillard writes: > Can someone maintain a git mirror somewhere ? Or even better, can > someone explain how I am supposed to use git-svn ? Just wrote this: http://trac.common-lisp.net/clfswm/wiki/SVN In short: git svn clone svn://common-lisp.net/project/clfswm/svn/clfswm/ git svn rebase Sadly, git svn would not want to work here due to missing perl modules. I will have to see how to install them. Thank you. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Mon Mar 10 01:00:06 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 10 Mar 2008 02:00:06 +0100 Subject: [clfswm-devel] [PATCH] contrib/clfswm: new revision Message-ID: <200803100100.m2A106UY004583@localhost.localdomain> Hi, As requested by Philippe, here is a new revision of my clfswm startup script. This is a complete rewrite of the previous one and it includes these enhancements: 1. modularity 2. support of several command line arguments to control the script 3. check for errors 4. cleaner than the previous one You now have the choice to dump an image and launch it using either SBCL or CLISP (--with-lisp option), you can specify where is located your CLFSWM installation, you can ask to just dump an image and exit after that, etc. I tested it with CLISP *only* but the SBCL part has proven to be runnable in the past. Tell me what I could add or change. Cheers, Xavier Index: ChangeLog =================================================================== --- ChangeLog (revision 24) +++ ChangeLog (working copy) @@ -1,3 +1,11 @@ +2008-03-10 Xavier Maillard + + * contrib/clfswm: Complete rewrite of the script. Detect error and + act accordingly. Add command line arguments to configure the + script execution. User can now choose different common lisp + implementation (clisp and sbcl only), choose where to store the + dumped image, where to find clfswm source. + 2008-03-09 Philippe Brochard * clfswm-internal.lisp (process-new-window): Beginning of new @@ -8,9 +16,7 @@ * contrib/clfswm: New script. Dump a CLISP image of CLFSWM then call the resulting executable. - -2008-03-08 Xavier Maillard - + * clfswm.lisp (read-conf-file): Check for the user config file in XDG_CONFIG_HOME *first*. Freedesktop.org standards should be prefered whenever possible. Index: contrib/clfswm =================================================================== --- contrib/clfswm (revision 24) +++ contrib/clfswm (working copy) @@ -1,26 +1,7 @@ #!/bin/bash -e # -# #Date#: +# (C) 2008 Xavier Maillard # -# -------------------------------------------------------------------------- -# Documentation: -# -# Original code and idea: http://stumpwm.antidesktop.net/cgi-bin/wiki/SetUp -# -# This script is targeted to CLisp users. It will help in starting -# CLFSWM quicker by dumping an image of CLFSWM. -# -# Installation: -# Put this script wherever you want and just call it from your .xinitrc file -# -# The first time you will launch it, it will build the final -# executable and then call it. To force a rebuild of your executable -# (say you have updated something in the CLFSWM source tree), just -# delete the image and restart your X session. -# -------------------------------------------------------------------------- - -# (C) 2008 Xavier Maillard - # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or @@ -35,20 +16,121 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # +# # -------------------------------------------------------------------------- +# Documentation: +# +# Original code and idea: http://stumpwm.antidesktop.net/cgi-bin/wiki/SetUp +# +# Installation: +# Put this script wherever you want and just call it from your .xinitrc file +# +# The first time you will launch it, it will build the final +# executable and then call it. To force a rebuild of your executable +# (say you have updated something in the CLFSWM source tree), just +# delete the image and restart your X session. +# -------------------------------------------------------------------------- -# Tweak this -IMAGE="$HOME/var/cache/clfswm-$(cksum $(type -p clisp) | cut -d ' ' -f 1).core" -ASDF=$HOME/usr/src/SVNed/clfswm -CLFSWMASDPATH=$HOME/usr/share/common-lisp/systems +usage() { -if test ! -e "$x" || - ( for i in "$(dirname $(readlink $CLFSWMASDPATH/clfswm.asd))"/*.lisp - do test "$x" -ot "$i" && exit 1 + echo "$0 [options] +-- +n,no-start don't start CLFSWM after image dump +f,force force image dump +rebuild same as -f,--force +l,with-lisp= use as the common lisp implementation +d,dump-path= path to the dump directory +with-clfswm path to clfswm.asd file +with-asdf path to the asdf.lisp file" + + exit 0 +} + +die() { + echo >&2 "$@" + exit 1 +} + +build_clisp () +{ + clisp -m 8MB -E ISO-8859-1 -q -K full -i $asdf_path/asdf.lisp -x "(asdf:oos 'asdf:load-op :clfswm)\ + (EXT:SAVEINITMEM \"$dump_image\" :INIT-FUNCTION 'clfswm:main :EXECUTABLE t :norc t)" +} + +build_sbcl() +{ + sbcl --disable-debugger --eval "(mapc 'require '(asdf clfswm))" \ + --eval "(save-lisp-and-die \"$dump_image\" :toplevel 'clfswm:main)" +} + +no_start=no +lisp=clisp +dump_path=$HOME/var/cache +asdf_path=$HOME/usr/src/SVNed/clfswm +clfswm_asd_path=$HOME/usr/share/common-lisp/systems + +while test $# != 0 +do + case "$1" in + -n|--no-start) + no_start=yes ;; + -f|--force|--rebuild) + force=yes ;; + -d|--dump-path) + shift + dump_path="$1" ;; + --with-clfswm) + shift + clfswm_asd_path="$1" ;; + --with-asdf) + shift + asdf_path="$1" ;; + -l|--with-lisp) + shift + case "$1" in + '') + usage;; + clisp|sbcl) + lisp="$1" ;; + esac + ;; + --) + shift + break ;; + *) + usage ;; + esac + shift +done + +test -x $(type -p $lisp) || die "$lisp can't be found." +test -e $clfswm_asd_path/clfswm.asd || die "can't find clfswm.asd in $clfswm_asd_path" +test -e $asdf_path/asdf.lisp || die "can't find asdf.lisp in $asdf_path" + +dump_image="$dump_path/clfswm-$(cksum $(type -p $lisp) | cut -d ' ' -f 1).core" + +if test yes = "$force" && test -e "$dump_image" +then + echo "Removing old image." + rm -f "$dump_image" +fi + +if test ! -e "$dump_image" || + ( for i in "$(dirname $(readlink $clfswm_asd_path/clfswm.asd))"/*.lisp + do test "$dump_image" -ot "$i" && exit 1 done ) then - clisp -m 8MB -E ISO-8859-1 -q -K full -i $ASDF/asdf.lisp -x "(asdf:oos 'asdf:load-op :clfswm)\ - (EXT:SAVEINITMEM \"$IMAGE\" :INIT-FUNCTION 'clfswm:main :EXECUTABLE t :norc t)" + eval build_$lisp fi -$IMAGE +# Run the resulting image +if test no = "$no_start" +then + case $lisp in + clisp ) $dump_image ;; + sbcl ) exec sbcl --core "$dump_image" ;; + *) echo "..." ;; + esac +else + echo "As requested, we have just dumped the image." +fi -- http://www.gnu.org http://www.april.org http://www.lolica.org From pbrochard at common-lisp.net Mon Mar 10 09:09:04 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 10 Mar 2008 10:09:04 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <200803100100.m2A10Knq004622@localhost.localdomain> (Xavier Maillard's message of "Mon\, 10 Mar 2008 02\:00\:21 +0100") References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> <200803100100.m2A10Knq004622@localhost.localdomain> Message-ID: <87bq5nlzdb.fsf@free.fr> Xavier Maillard writes: > > I will. By the way, how do you edit this wiki from emacs ? Is > > there something available (a mode) ? > > > I've seen some modes to edit a wiki: > > http://www.emacswiki.org/cgi-bin/wiki/WikiModeDiscussion > > Maybe OddmuseMode can do the job: > > http://www.emacswiki.org/cgi-bin/wiki/OddmuseMode > > Hum, I do not think so, at least not in the current code state. > > Another mode is trac-wiki.el: > > http://www.meadowy.org/~gotoh/projects/trac-wiki/ > > But I havn't success to use it because there is a plugins nedded on > the trac server. > > Yes it needs a plugin and a patch. So this is not an option. > > I will try to see if a FUSE project against trac exists, this > could be a cool alternative. > Tell us if you have something working. All my tests failed :( Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Mon Mar 10 09:16:55 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 10 Mar 2008 10:16:55 +0100 Subject: [clfswm-devel] SVN or GIT or SVN... In-Reply-To: <200803100100.m2A10EoK004613@localhost.localdomain> (Xavier Maillard's message of "Mon\, 10 Mar 2008 02\:00\:14 +0100") References: <87zlt7spta.fsf@free.fr> <200803100100.m2A10EoK004613@localhost.localdomain> Message-ID: <877igblz08.fsf@free.fr> Xavier Maillard writes: > Tell what you think about this setup before a go ahead, thanks. > > I like this setup better than having to use that dumb VC :) Now I > need to solve my perl installation problem to use git svn. > With the setup above, you'll not need git svn anymore. A plain git will do the job with the repo on common-lisp.net. > Thank you Philippe for your time and effort in supporting my > request, it is highly appreciated here. > De rien :) > Xavier > > P.S: are there any non french people on this list ? :) > There is a least one non french people here. I have had some non french feedback too. I'd like to leave this list in english. If there is a real need I can ask for a french mailing list (I've already seen some projects working like this with two mailing list). Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Mon Mar 10 23:33:12 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 11 Mar 2008 00:33:12 +0100 Subject: [clfswm-devel] Git and SVN working together. Message-ID: <87skyyjgsn.fsf@free.fr> Hi, I've done some tests with git+svn. So, here is the result: You can fetch the clfswm code from svn: svn checkout svn://common-lisp.net/project/clfswm/svn/clfswm/ And I have setup a git repository here: http://common-lisp.net/project/clfswm/clfswm.git/ So, now you can work on clfswm directly with git. Just clone the repo with: git clone http://common-lisp.net/project/clfswm/clfswm.git clfswm My repo, the svn and the public http repo are synchronized at each commit. Tell me if I miss something or if something goes wrong (or well :). Regards, Philippe PS: Maybe the wiki needs to be updated. -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Mon Mar 10 23:34:41 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 11 Mar 2008 00:34:41 +0100 Subject: [clfswm-devel] [PATCH] contrib/clfswm: new revision In-Reply-To: <200803100100.m2A106UY004583@localhost.localdomain> (Xavier Maillard's message of "Mon\, 10 Mar 2008 02\:00\:06 +0100") References: <200803100100.m2A106UY004583@localhost.localdomain> Message-ID: <87od9mjgq6.fsf@free.fr> Xavier Maillard writes: > Hi, > > As requested by Philippe, here is a new revision of my clfswm > startup script. > > This is a complete rewrite of the previous one and it includes > these enhancements: > > 1. modularity > 2. support of several command line arguments to control the > script > 3. check for errors > 4. cleaner than the previous one > > You now have the choice to dump an image and launch it using > either SBCL or CLISP (--with-lisp option), you can specify where > is located your CLFSWM installation, you can ask to just dump an > image and exit after that, etc. > > I tested it with CLISP *only* but the SBCL part has proven to be > runnable in the past. > > Tell me what I could add or change. > Thanks, it's commited (with git). Now I need to test it as I have finished (I hope) to setup git :) Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Tue Mar 11 01:00:28 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 11 Mar 2008 02:00:28 +0100 Subject: [clfswm-devel] [Q] Trac account ? Message-ID: <200803110100.m2B10SkZ007080@localhost.localdomain> Hi, I am asking here: how can I create and activate a trac account onto common-lisp.net website ? Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Tue Mar 11 01:00:24 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 11 Mar 2008 02:00:24 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? Message-ID: <200803110100.m2B10NRp007071@localhost.localdomain> Hi, I post it here but this is something I would like to see implemented. I am pretty sure you are all GNU Emacs users so I won't explain what C-h k does :) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Tue Mar 11 01:00:28 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 11 Mar 2008 02:00:28 +0100 Subject: [clfswm-devel] [BUG] can't run a program from the input query ? Message-ID: <200803110100.m2B10PBn007079@localhost.localdomain> Hi, When in second mode, I can't access the run programm from input query. In fact, typing m->y->! just does nothing. Is that normal ? I do not think so. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From pbrochard at common-lisp.net Tue Mar 11 07:27:44 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 11 Mar 2008 08:27:44 +0100 Subject: [clfswm-devel] [Q] Trac account ? In-Reply-To: <200803110100.m2B10SkZ007080@localhost.localdomain> (Xavier Maillard's message of "Tue\, 11 Mar 2008 02\:00\:28 +0100") References: <200803110100.m2B10SkZ007080@localhost.localdomain> Message-ID: <87y78p3ekv.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > I am asking here: how can I create and activate a trac account > onto common-lisp.net website ? > It seems that you need an account on common-lisp.net. But why do you need an account? I use trac as an anonymous user most of the time. I've set the permissons so that an anonymous user can edit the wiki. The only restiction is that it can't delete a page. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Tue Mar 11 07:39:49 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 11 Mar 2008 08:39:49 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: <200803110100.m2B10NRp007071@localhost.localdomain> (Xavier Maillard's message of "Tue\, 11 Mar 2008 02\:00\:24 +0100") References: <200803110100.m2B10NRp007071@localhost.localdomain> Message-ID: <87tzjd3e0q.fsf@free.fr> Xavier Maillard writes: > Hi, > > I post it here but this is something I would like to see > implemented. > > I am pretty sure you are all GNU Emacs users so I won't explain > what C-h k does :) > Ah, yes, this can be added on the identify-key. Just a search in each key table when a key is pressed. It's on my TODO. In all cases, if you need to know the keybinding you can use: Alt+F1 h : For a global keybinding Alt+F1 b : For the binding of the current mode Another way is to regenerate the documentation. From the REPL when clfswm is loaded (produce-all-docs) This create keys.txt and keys.html. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Tue Mar 11 07:46:29 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 11 Mar 2008 08:46:29 +0100 Subject: [clfswm-devel] [BUG] can't run a program from the input query ? In-Reply-To: <200803110100.m2B10PBn007079@localhost.localdomain> (Xavier Maillard's message of "Tue\, 11 Mar 2008 02\:00\:28 +0100") References: <200803110100.m2B10PBn007079@localhost.localdomain> Message-ID: <87pru13dpm.fsf@free.fr> Xavier Maillard writes: > Hi, > > When in second mode, I can't access the run programm from input > query. In fact, typing m->y->! just does nothing. > > Is that normal ? I do not think so. > Hum, that's not normal. That works on my machine with the last revision. Can you invest and examine the run-program-from-query-string function in clfswm-util.lisp. The *second-mode-program* variable must be set to your shell command. Add a: (dbg *second-mode-program*) in the run-program-from-query-string function. If all is ok, add the same thing at the end of the second-key-mode function in clfswm-second-mode.lisp. Tell me what's going wrong. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Tue Mar 11 11:41:20 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 11 Mar 2008 12:41:20 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: <200803110100.m2B10NRp007071@localhost.localdomain> (Xavier Maillard's message of "Tue\, 11 Mar 2008 02\:00\:24 +0100") References: <200803110100.m2B10NRp007071@localhost.localdomain> Message-ID: <873aqx32u7.fsf@free.fr> Xavier Maillard writes: > Hi, > > I post it here but this is something I would like to see > implemented. > > I am pretty sure you are all GNU Emacs users so I won't explain > what C-h k does :) > Ok (I have had 5 minutes :) here it is in the identifying keys loop. The documentation is displayed for the main and the second mode. To test: Second Mode -> i ou Second Mode -> m y i Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Wed Mar 12 01:00:09 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:09 +0100 Subject: [clfswm-devel] SVN or GIT or SVN... In-Reply-To: <877igblz08.fsf@free.fr> (message from Philippe Brochard on Mon, 10 Mar 2008 10:16:55 +0100) References: <87zlt7spta.fsf@free.fr> <200803100100.m2A10EoK004613@localhost.localdomain> <877igblz08.fsf@free.fr> Message-ID: <200803120100.m2C109Q4010502@localhost.localdomain> Xavier Maillard writes: > Tell what you think about this setup before a go ahead, thanks. > > I like this setup better than having to use that dumb VC :) Now I > need to solve my perl installation problem to use git svn. > With the setup above, you'll not need git svn anymore. A plain git will do the job with the repo on common-lisp.net. Yes, I read your message too quickly. This is an excellent news. Thank you. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Wed Mar 12 01:00:13 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:13 +0100 Subject: [clfswm-devel] [BUG] CLFSWM executable won't load user configuration file Message-ID: <200803120100.m2C10DwO010511@localhost.localdomain> Hi, Maybe this is a bug with my contrib/clfswm script file but I am asking here. Why when excuting an "eecutable dumped image", CLFSWM won't load the user configuration file ? If I fire up a REPL and does: clisp -K full -i load.lisp my configuration file is loaded and my settings applied. Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Wed Mar 12 01:00:07 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:07 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: <873aqx32u7.fsf@free.fr> (message from Philippe Brochard on Tue, 11 Mar 2008 12:41:20 +0100) References: <200803110100.m2B10NRp007071@localhost.localdomain> <873aqx32u7.fsf@free.fr> Message-ID: <200803120100.m2C107Y0010501@localhost.localdomain> Xavier Maillard writes: > Hi, > > I post it here but this is something I would like to see > implemented. > > I am pretty sure you are all GNU Emacs users so I won't explain > what C-h k does :) > Ok (I have had 5 minutes :) here it is in the identifying keys loop. The documentation is displayed for the main and the second mode. To test: Second Mode -> i ou Second Mode -> m y i I tried it and it made my X session crashing :) I reverted the code to last known working revision and it became stable again. I did not investigated much but there is at least one glitch in your code at line 158 in clfswm-keys.lisp: (labels (cond .... Here is the fix: Index: ChangeLog =================================================================== --- ChangeLog (revision 33) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2008-03-12 Xavier Maillard + + * clfswm-keys.lisp: Fix revision 33 (removed an unexpected call to + labels preventing compilation/loading of the file). + 2008-03-11 Philippe Brochard * clfswm-util.lisp (identify-key): Display the documentation Index: clfswm-keys.lisp =================================================================== --- clfswm-keys.lisp (revision 33) +++ clfswm-keys.lisp (working copy) @@ -155,13 +155,6 @@ t))) - (labels - (cond ((from-code)) - ((from-char)) - ((from-string))))) - - - (defun funcall-button-from-code (hash-table-key code state window root-x root-y &optional (action #'first) args) "Action: first=press third=release - Return t if a function is found" Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Wed Mar 12 01:00:12 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:12 +0100 Subject: [clfswm-devel] [BUG] can't run a program from the input query ? In-Reply-To: <87pru13dpm.fsf@free.fr> (message from Philippe Brochard on Tue, 11 Mar 2008 08:46:29 +0100) References: <200803110100.m2B10PBn007079@localhost.localdomain> <87pru13dpm.fsf@free.fr> Message-ID: <200803120100.m2C10BCq010506@localhost.localdomain> Tell me what's going wrong. Ok this is something related to my keyboard setup. Apparently there is no way to use ! with a qwerty setup in CLFSWM. CLFSWM does not see ! but SHIFT \#1 (see dbg 15) Does CLFSWM support SHIFT+something ? By the way, the same applies for running a lisp form (m y :) (see dbg 19) Regards Here is a short log of the session: DEBUG[15 - dbg] CODE=10 KEYSYM="1" KEY=#\1 MODIFIERS=(:SHIFT) DEBUG[19 - dbg] CODE=47 KEYSYM="semicolon" KEY=#\; MODIFIERS=(:SHIFT) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Wed Mar 12 01:00:21 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:21 +0100 Subject: [clfswm-devel] [Q] Trac account ? In-Reply-To: <87y78p3ekv.fsf@free.fr> (message from Philippe Brochard on Tue, 11 Mar 2008 08:27:44 +0100) References: <200803110100.m2B10SkZ007080@localhost.localdomain> <87y78p3ekv.fsf@free.fr> Message-ID: <200803120100.m2C10Lvk010521@localhost.localdomain> Xavier Maillard writes: > Hi, > Hi, > I am asking here: how can I create and activate a trac account > onto common-lisp.net website ? > It seems that you need an account on common-lisp.net. But why do you need an account? I use trac as an anonymous user most of the time. I've set the permissons so that an anonymous user can edit the wiki. The only restiction is that it can't delete a page. In fact you are right. I do not really need an account. It was just to satisfy my curiosity since I did not see/read anything on this on the site. Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Wed Mar 12 01:00:15 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:15 +0100 Subject: [clfswm-devel] Various ideas and propositions Message-ID: <200803120100.m2C10Fwd010516@localhost.localdomain> hi, so I am playing with CLFSWM here for a few days now and here are my "reflexions". First, I think the project lacks a "coding style". I know it is not the priority but I think we should adopt some basic rules to make the contributing experience easier :) I do not know what these rules could be though. Second, we should throw asdf.lisp away. Its place is more in the contrib section of the project than in the main area. Another point. Why not create a directory hierarchy where we could put all the code, documentations, etc ... ? Something like src, doc would be enough to start. I have still tons of remarks but I am finishing writing patches to be more constructive. The points here are all very small and easy to solve (if you want to do so). In a next post, I will probably talk about design flaws I see in the project in its current state. Do not worry, that's not a big deal too :) Regards, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Wed Mar 12 01:00:19 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:19 +0100 Subject: [clfswm-devel] [BUG] UP/DOWN/LEFT/RIGHT weirdness Message-ID: <200803120100.m2C10IOE010520@localhost.localdomain> Hi, How to reproduce ? Alt+F1 and then keep pressing one of the keys mentionned in the subject. What do you see ? There are no boundaries in the "popup windows" and it scrolls indefinitely in all the directions. I suspect it is not what we would have expected. Am I alone ? Do you confirm ? Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Wed Mar 12 01:00:25 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:25 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <87bq5nlzdb.fsf@free.fr> (message from Philippe Brochard on Mon, 10 Mar 2008 10:09:04 +0100) References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> <200803100100.m2A10Knq004622@localhost.localdomain> <87bq5nlzdb.fsf@free.fr> Message-ID: <200803120100.m2C10PUP010534@localhost.localdomain> > I will try to see if a FUSE project against trac exists, this > could be a cool alternative. > Tell us if you have something working. All my tests failed :( Well here are my own test results: 1. as expected, track-wiki refused to work 2. oddmuse, even with my development version, did not work either As for the FUSE project, I tried hard to find something but except mediawikifs, there is no profusion of such project. This is the problem with the multiplication of wiki engines regrouping each time a really small user community. The only solution is to use a emacs-w3m as a last resort ;) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Wed Mar 12 01:00:25 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 12 Mar 2008 02:00:25 +0100 Subject: [clfswm-devel] Git and SVN working together. In-Reply-To: <87skyyjgsn.fsf@free.fr> (message from Philippe Brochard on Tue, 11 Mar 2008 00:33:12 +0100) References: <87skyyjgsn.fsf@free.fr> Message-ID: <200803120100.m2C10NZW010533@localhost.localdomain> And I have setup a git repository here: http://common-lisp.net/project/clfswm/clfswm.git/ Nice ! So, now you can work on clfswm directly with git. Does this mean we can send git formatted patches directly onto the list now ? Do you prefer people to setup their own Git repository from which you would pull/fetch/whatever interesting patches ? Tell me if I miss something or if something goes wrong (or well :). It seems okay to me except the git log is, ahem, pretty awkward :) PS: Maybe the wiki needs to be updated. Yes it should be modified at some point but we should wait to see if the experience is okay for all of us. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From Matthieu.Moy at imag.fr Wed Mar 12 10:47:31 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Wed, 12 Mar 2008 11:47:31 +0100 Subject: [clfswm-devel] Git and SVN working together. In-Reply-To: <200803120100.m2C10NZW010533@localhost.localdomain> (Xavier Maillard's message of "Wed\, 12 Mar 2008 02\:00\:25 +0100") References: <87skyyjgsn.fsf@free.fr> <200803120100.m2C10NZW010533@localhost.localdomain> Message-ID: Xavier Maillard writes: > And I have setup a git repository here: > > http://common-lisp.net/project/clfswm/clfswm.git/ > > Nice ! > > So, now you can work on clfswm directly with git. > > Does this mean we can send git formatted patches directly onto > the list now ? (hint for non-gits : to be applied with "git am" or "git apply") -- Matthieu From pbrochard at common-lisp.net Wed Mar 12 17:18:03 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 12 Mar 2008 18:18:03 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: <200803120100.m2C107Y0010501@localhost.localdomain> (Xavier Maillard's message of "Wed\, 12 Mar 2008 02\:00\:07 +0100") References: <200803110100.m2B10NRp007071@localhost.localdomain> <873aqx32u7.fsf@free.fr> <200803120100.m2C107Y0010501@localhost.localdomain> Message-ID: <87od9jyi7o.fsf@free.fr> Xavier Maillard writes: > Xavier Maillard writes: > > > Hi, > > > > I post it here but this is something I would like to see > > implemented. > > > > I am pretty sure you are all GNU Emacs users so I won't explain > > what C-h k does :) > > > Ok (I have had 5 minutes :) here it is in the identifying keys > loop. The documentation is displayed for the main and the second > mode. > To test: Second Mode -> i ou Second Mode -> m y i > > I tried it and it made my X session crashing :) I reverted the > code to last known working revision and it became stable again. > > I did not investigated much but there is at least one glitch in > your code at line 158 in clfswm-keys.lisp: > Oops, this is what append with incremental compilation and a five minutes test... Sorry. But there is also a bug with args on keys: I switch from funcall to apply -> &optional to &rest in parameter list. All must works now. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Wed Mar 12 21:27:12 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 12 Mar 2008 22:27:12 +0100 Subject: [clfswm-devel] [BUG] UP/DOWN/LEFT/RIGHT weirdness In-Reply-To: <200803120100.m2C10IOE010520@localhost.localdomain> (Xavier Maillard's message of "Wed\, 12 Mar 2008 02\:00\:19 +0100") References: <200803120100.m2C10IOE010520@localhost.localdomain> Message-ID: <87zlt37hvz.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > How to reproduce ? > > Alt+F1 and then keep pressing one of the keys mentionned in the > subject. > > What do you see ? > > There are no boundaries in the "popup windows" and it scrolls > indefinitely in all the directions. > > I suspect it is not what we would have expected. > > Am I alone ? Do you confirm ? > You're not alone, this is a feature :) No, in fact I haven't set boundaries yet. You can reproduce the same thing with the mouse wheel or with a drag and drop. Hit the Home key if you're lost. Another thing, the info window is not already in double buffer. So there is some flickering. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Wed Mar 12 21:53:50 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 12 Mar 2008 22:53:50 +0100 Subject: [clfswm-devel] Various ideas and propositions In-Reply-To: <200803120100.m2C10Fwd010516@localhost.localdomain> (Xavier Maillard's message of "Wed\, 12 Mar 2008 02\:00\:15 +0100") References: <200803120100.m2C10Fwd010516@localhost.localdomain> Message-ID: <87ve3r7gnl.fsf@free.fr> Xavier Maillard writes: > hi, > > so I am playing with CLFSWM here for a few days now and here are > my "reflexions". > > First, I think the project lacks a "coding style". I know it is > not the priority but I think we should adopt some basic rules to > make the contributing experience easier :) I do not know what > these rules could be though. > Hum, a first coding style can be: code simple and explicit things :) (I hope that's what I do) > Second, we should throw asdf.lisp away. Its place is more in the > contrib section of the project than in the main area. > Yes, now that there is a contrib directory I think also it's its new place. > Another point. Why not create a directory hierarchy where we > could put all the code, documentations, etc ... ? Something like > src, doc would be enough to start. > Yes the doc directory is needed. But I don't really like the src directory. > I have still tons of remarks but I am finishing writing patches > to be more constructive. > > The points here are all very small and easy to solve (if you want > to do so). > It's done except for the src directory > In a next post, I will probably talk about design flaws I see in > the project in its current state. Do not worry, that's not a big > deal too :) > Ok, thanks for the feedback! Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Wed Mar 12 22:10:08 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 12 Mar 2008 23:10:08 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <200803120100.m2C10PUP010534@localhost.localdomain> (Xavier Maillard's message of "Wed\, 12 Mar 2008 02\:00\:25 +0100") References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> <200803100100.m2A10Knq004622@localhost.localdomain> <87bq5nlzdb.fsf@free.fr> <200803120100.m2C10PUP010534@localhost.localdomain> Message-ID: <87r6ef7fwf.fsf@free.fr> Xavier Maillard writes: > > I will try to see if a FUSE project against trac exists, this > > could be a cool alternative. > > > Tell us if you have something working. All my tests failed :( > > Well here are my own test results: > > 1. as expected, track-wiki refused to work > 2. oddmuse, even with my development version, did not work either > > As for the FUSE project, I tried hard to find something but > except mediawikifs, there is no profusion of such project. This > is the problem with the multiplication of wiki engines regrouping > each time a really small user community. > > The only solution is to use a emacs-w3m as a last resort ;) > Ah, ok :( So I stay with my epiphany and emacs for big blocks. Emacs-w3m is a good option for big changes. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Wed Mar 12 22:25:39 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 12 Mar 2008 23:25:39 +0100 Subject: [clfswm-devel] Git and SVN working together. In-Reply-To: <200803120100.m2C10NZW010533@localhost.localdomain> (Xavier Maillard's message of "Wed\, 12 Mar 2008 02\:00\:25 +0100") References: <87skyyjgsn.fsf@free.fr> <200803120100.m2C10NZW010533@localhost.localdomain> Message-ID: <87myp37f6k.fsf@free.fr> Xavier Maillard writes: > And I have setup a git repository here: > > http://common-lisp.net/project/clfswm/clfswm.git/ > > Nice ! > > So, now you can work on clfswm directly with git. > > Does this mean we can send git formatted patches directly onto > the list now ? > Yes, I work with Git now . So git formatted patches are welcome. Plain diff is also simple to apply. > Do you prefer people to setup their own Git repository from which > you would pull/fetch/whatever interesting patches ? > This is also an option and the advantage of Git. I think both options are good. > Tell me if I miss something or if something goes wrong (or well :). > > It seems okay to me except the git log is, ahem, pretty awkward :) > They'll be trashed in one or two mounth :) > PS: Maybe the wiki needs to be updated. > > Yes it should be modified at some point but we should wait to see > if the experience is okay for all of us. > Yes tell me if this setting is okay for everybody. In all cases, the wiki is not already "public" in the sense that I haven't made any announce except on the mailing list. So feel free to modify the wiki and make test until the next official release. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Thu Mar 13 00:01:33 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Thu, 13 Mar 2008 01:01:33 +0100 Subject: [clfswm-devel] [BUG] can't run a program from the input query ? In-Reply-To: <200803120100.m2C10BCq010506@localhost.localdomain> (Xavier Maillard's message of "Wed\, 12 Mar 2008 02\:00\:12 +0100") References: <200803110100.m2B10PBn007079@localhost.localdomain> <87pru13dpm.fsf@free.fr> <200803120100.m2C10BCq010506@localhost.localdomain> Message-ID: <87fxuv7aqq.fsf@free.fr> Xavier Maillard writes: > Tell me what's going wrong. > > Ok this is something related to my keyboard setup. Apparently > there is no way to use ! with a qwerty setup in CLFSWM. CLFSWM > does not see ! but SHIFT \#1 (see dbg 15) > > Does CLFSWM support SHIFT+something ? > No not in your version. > By the way, the same applies for running a lisp form (m y :) (see > dbg 19) > > Regards > > Here is a short log of the session: > > DEBUG[15 - dbg] CODE=10 KEYSYM="1" KEY=#\1 MODIFIERS=(:SHIFT) > DEBUG[19 - dbg] CODE=47 KEYSYM="semicolon" KEY=#\; MODIFIERS=(:SHIFT) > Please, try the new Git/SVN version. You have to specify the modifiers anyway. So, to bind ! you must write ("!" :shift) on your keyboard. There is yet some work to remove the unnecessary :shift. Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Fri Mar 14 01:00:17 2008 From: xma at gnu.org (Xavier Maillard) Date: Fri, 14 Mar 2008 02:00:17 +0100 Subject: [clfswm-devel] Git and SVN working together. In-Reply-To: <87myp37f6k.fsf@free.fr> (message from Philippe Brochard on Wed, 12 Mar 2008 23:25:39 +0100) References: <87skyyjgsn.fsf@free.fr> <200803120100.m2C10NZW010533@localhost.localdomain> <87myp37f6k.fsf@free.fr> Message-ID: <200803140100.m2E10HB7004687@localhost.localdomain> Xavier Maillard writes: > And I have setup a git repository here: > > http://common-lisp.net/project/clfswm/clfswm.git/ > > Nice ! > > So, now you can work on clfswm directly with git. > > Does this mean we can send git formatted patches directly onto > the list now ? > Yes, I work with Git now . So git formatted patches are welcome. Plain diff is also simple to apply. > Do you prefer people to setup their own Git repository from which > you would pull/fetch/whatever interesting patches ? > This is also an option and the advantage of Git. I think both options are good. That's okay then. I am coding in my own branches here and I am rebasing regularly you work on top of your changes. /Did I tell how coold and good Git was ?/ :) In all cases, the wiki is not already "public" in the sense that I haven't made any announce except on the mailing list. So feel free to modify the wiki and make test until the next official release. Added to my personal todo list. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Fri Mar 14 01:00:22 2008 From: xma at gnu.org (Xavier Maillard) Date: Fri, 14 Mar 2008 02:00:22 +0100 Subject: [clfswm-devel] [BUG] Alt-Shift-Tab => nothing Message-ID: <200803140100.m2E10Kfn004695@localhost.localdomain> Hi, Alt-Shift-Tab stopped working here. I did not read latest changes but I guess this is pretty recent. Sorry for the bad bug report of the day :) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Fri Mar 14 01:00:12 2008 From: xma at gnu.org (Xavier Maillard) Date: Fri, 14 Mar 2008 02:00:12 +0100 Subject: [clfswm-devel] [BUG] UP/DOWN/LEFT/RIGHT weirdness In-Reply-To: <87zlt37hvz.fsf@free.fr> (message from Philippe Brochard on Wed, 12 Mar 2008 22:27:12 +0100) References: <200803120100.m2C10IOE010520@localhost.localdomain> <87zlt37hvz.fsf@free.fr> Message-ID: <200803140100.m2E10CFN004678@localhost.localdomain> > There are no boundaries in the "popup windows" and it scrolls > indefinitely in all the directions. > > I suspect it is not what we would have expected. > > Am I alone ? Do you confirm ? > You're not alone, this is a feature :) Ahem :) Another thing, the info window is not already in double buffer. So there is some flickering. Yes, I have seen this but I less annoyed by this than by the "feature" above :) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Fri Mar 14 01:00:15 2008 From: xma at gnu.org (Xavier Maillard) Date: Fri, 14 Mar 2008 02:00:15 +0100 Subject: [clfswm-devel] Various ideas and propositions In-Reply-To: <87ve3r7gnl.fsf@free.fr> (message from Philippe Brochard on Wed, 12 Mar 2008 22:53:50 +0100) References: <200803120100.m2C10Fwd010516@localhost.localdomain> <87ve3r7gnl.fsf@free.fr> Message-ID: <200803140100.m2E10Et1004686@localhost.localdomain> > First, I think the project lacks a "coding style". I know it is > not the priority but I think we should adopt some basic rules to > make the contributing experience easier :) I do not know what > these rules could be though. > Hum, a first coding style can be: code simple and explicit things :) (I hope that's what I do) More to come. Yes your function/variable naming seems good to me. It is simple and crystal clear when reading the code. As told in another post, I am working on something I'd like to submit to your critics. Please be patient, it should be ready for next week. > Another point. Why not create a directory hierarchy where we > could put all the code, documentations, etc ... ? Something like > src, doc would be enough to start. > Yes the doc directory is needed. But I don't really like the src directory. Why ? The main directory should not be too "messy" and just presents what the project is, how it works and the usual document (AUTHORS, LICENSE, ...). Since CLFSWM is growing and moving fast, I feel the need (at least for me) not to "overload" main directory. What's more, src directory is rather conventional and well accepted in the hacker community. Once again, that's not so important :) I do not want you and me to discuss this, we have better things to do :) By the way, I think it would be nice to have a TODO/ROADMAP document to know what directions you want to take and what you want to see implemented. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Fri Mar 14 01:00:10 2008 From: xma at gnu.org (Xavier Maillard) Date: Fri, 14 Mar 2008 02:00:10 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: <87od9jyi7o.fsf@free.fr> (message from Philippe Brochard on Wed, 12 Mar 2008 18:18:03 +0100) References: <200803110100.m2B10NRp007071@localhost.localdomain> <873aqx32u7.fsf@free.fr> <200803120100.m2C107Y0010501@localhost.localdomain> <87od9jyi7o.fsf@free.fr> Message-ID: <200803140100.m2E10AOB004674@localhost.localdomain> All must works now. Almost all :) In fact, I can trigger the 'i' menu entry *but* I can't leave it now. Typing 'q' as usual won't do anything useful than describing what the 'q' key is and does :) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From pbrochard at common-lisp.net Fri Mar 14 20:28:20 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Fri, 14 Mar 2008 21:28:20 +0100 Subject: [clfswm-devel] [BUG] Alt-Shift-Tab => nothing In-Reply-To: <200803140100.m2E10Kfn004695@localhost.localdomain> (Xavier Maillard's message of "Fri\, 14 Mar 2008 02\:00\:22 +0100") References: <200803140100.m2E10Kfn004695@localhost.localdomain> Message-ID: <87fxutvymz.fsf@free.fr> Xavier Maillard writes: > Hi, > > Alt-Shift-Tab stopped working here. I did not read latest changes > but I guess this is pretty recent. > He, that's funny. Tab and Shift+Tab have not the same keysym. I've supposed to fast that this two keys have the same keysym as for example Home and Shit+Home. The way to solve this: bind select-previous-child to (#\Tab :mod-1 :shift) or ("ISO_Left_Tab" :mod-1 :shift). I've chosen the second one. > Sorry for the bad bug report of the day :) > There have been a lot of changes in clfswm and I use most of the old code (see all the comments). Don't expect the git clfswm to be stable soon. Once I rewrote all what is in the 0801 version then things may become more stable. Philippe > Xavier > -- > http://www.gnu.org > http://www.april.org > http://www.lolica.org > _______________________________________________ > clfswm-devel mailing list > clfswm-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel > > -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Fri Mar 14 20:31:38 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Fri, 14 Mar 2008 21:31:38 +0100 Subject: [clfswm-devel] Git and SVN working together. In-Reply-To: <200803140100.m2E10HB7004687@localhost.localdomain> (Xavier Maillard's message of "Fri\, 14 Mar 2008 02\:00\:17 +0100") References: <87skyyjgsn.fsf@free.fr> <200803120100.m2C10NZW010533@localhost.localdomain> <87myp37f6k.fsf@free.fr> <200803140100.m2E10HB7004687@localhost.localdomain> Message-ID: <87bq5hvyhh.fsf@free.fr> Xavier Maillard writes: > Xavier Maillard writes: > > > And I have setup a git repository here: > > > > http://common-lisp.net/project/clfswm/clfswm.git/ > > > > Nice ! > > > > So, now you can work on clfswm directly with git. > > > > Does this mean we can send git formatted patches directly onto > > the list now ? > > > Yes, I work with Git now . So git formatted patches are welcome. > Plain diff is also simple to apply. > > > Do you prefer people to setup their own Git repository from which > > you would pull/fetch/whatever interesting patches ? > > > This is also an option and the advantage of Git. > > I think both options are good. > > That's okay then. I am coding in my own branches here and I am > rebasing regularly you work on top of your changes. /Did I tell > how coold and good Git was ?/ :) > Yes Git is really really cool. I think I'll setup an experimental branche for me too and use it for some days before releasing it on the main Git+SVN repository :) > In all cases, the wiki is not already "public" in the sense that I > haven't made any announce except on the mailing list. So feel free to > modify the wiki and make test until the next official release. > > Added to my personal todo list. > Cool. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Fri Mar 14 21:43:54 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Fri, 14 Mar 2008 22:43:54 +0100 Subject: [clfswm-devel] Various ideas and propositions In-Reply-To: <200803140100.m2E10Et1004686@localhost.localdomain> (Xavier Maillard's message of "Fri\, 14 Mar 2008 02\:00\:15 +0100") References: <200803120100.m2C10Fwd010516@localhost.localdomain> <87ve3r7gnl.fsf@free.fr> <200803140100.m2E10Et1004686@localhost.localdomain> Message-ID: <87bq5hugkl.fsf@free.fr> Xavier Maillard writes: > > First, I think the project lacks a "coding style". I know it is > > not the priority but I think we should adopt some basic rules to > > make the contributing experience easier :) I do not know what > > these rules could be though. > > > Hum, a first coding style can be: code simple and explicit things :) > (I hope that's what I do) > > More to come. Yes your function/variable naming seems good to me. > It is simple and crystal clear when reading the code. As told in > another post, I am working on something I'd like to submit to > your critics. Please be patient, it should be ready for next week. > Ok, I'm waiting :) > > Another point. Why not create a directory hierarchy where we > > could put all the code, documentations, etc ... ? Something like > > src, doc would be enough to start. > > > Yes the doc directory is needed. But I don't really like the src > directory. > > Why ? > Because for a small project I like to have the code on the main directory. But this is ok only when I'm working alone. Now that things takes another dimension it's time to conform to a more conventional way of coding. > The main directory should not be too "messy" and just > presents what the project is, how it works and the usual document > (AUTHORS, LICENSE, ...). Since CLFSWM is growing and moving fast, > I feel the need (at least for me) not to "overload" main > directory. What's more, src directory is rather conventional and > well accepted in the hacker community. Once again, that's not so > important :) I do not want you and me to discuss this, we have > better things to do :) > Hehe, that's enough arguments to create the src directory :) > By the way, I think it would be nice to have a TODO/ROADMAP > document to know what directions you want to take and what you > want to see implemented. > Yes, added too! Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Fri Mar 14 21:45:14 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Fri, 14 Mar 2008 22:45:14 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: <200803140100.m2E10AOB004674@localhost.localdomain> (Xavier Maillard's message of "Fri\, 14 Mar 2008 02\:00\:10 +0100") References: <200803110100.m2B10NRp007071@localhost.localdomain> <873aqx32u7.fsf@free.fr> <200803120100.m2C107Y0010501@localhost.localdomain> <87od9jyi7o.fsf@free.fr> <200803140100.m2E10AOB004674@localhost.localdomain> Message-ID: <877ig5ugid.fsf@free.fr> Xavier Maillard writes: > All must works now. > > Almost all :) In fact, I can trigger the 'i' menu entry *but* I > can't leave it now. Typing 'q' as usual won't do anything useful > than describing what the 'q' key is and does :) > Ah? It works here. Can you invest a little more? Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Fri Mar 14 21:52:30 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Fri, 14 Mar 2008 22:52:30 +0100 Subject: [clfswm-devel] [BUG] UP/DOWN/LEFT/RIGHT weirdness In-Reply-To: <200803140100.m2E10CFN004678@localhost.localdomain> (Xavier Maillard's message of "Fri\, 14 Mar 2008 02\:00\:12 +0100") References: <200803120100.m2C10IOE010520@localhost.localdomain> <87zlt37hvz.fsf@free.fr> <200803140100.m2E10CFN004678@localhost.localdomain> Message-ID: <873aqtug69.fsf@free.fr> Xavier Maillard writes: > > There are no boundaries in the "popup windows" and it scrolls > > indefinitely in all the directions. > > > > I suspect it is not what we would have expected. > > > > Am I alone ? Do you confirm ? > > > You're not alone, this is a feature :) > > Ahem :) > > Another thing, the info window is not already in double buffer. So > there is some flickering. > > Yes, I have seen this but I less annoyed by this than by the > "feature" above :) > Ah, ok, so I add the boundaries limits in the TODO. Philippe -- Philippe Brochard http://hocwp.free.fr From Matthieu.Moy at imag.fr Fri Mar 14 22:04:57 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Fri, 14 Mar 2008 23:04:57 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: <877ig5ugid.fsf@free.fr> (Philippe Brochard's message of "Fri\, 14 Mar 2008 22\:45\:14 +0100") References: <200803110100.m2B10NRp007071@localhost.localdomain> <873aqx32u7.fsf@free.fr> <200803120100.m2C107Y0010501@localhost.localdomain> <87od9jyi7o.fsf@free.fr> <200803140100.m2E10AOB004674@localhost.localdomain> <877ig5ugid.fsf@free.fr> Message-ID: Philippe Brochard writes: > Xavier Maillard writes: > >> All must works now. >> >> Almost all :) In fact, I can trigger the 'i' menu entry *but* I >> can't leave it now. Typing 'q' as usual won't do anything useful >> than describing what the 'q' key is and does :) >> > Ah? It works here. Can you invest a little more? He he ... to invest = investir to investigate = enqu?ter ;-) -- Matthieu From pbrochard at common-lisp.net Fri Mar 14 22:20:52 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Fri, 14 Mar 2008 23:20:52 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: (Matthieu Moy's message of "Fri\, 14 Mar 2008 23\:04\:57 +0100") References: <200803110100.m2B10NRp007071@localhost.localdomain> <873aqx32u7.fsf@free.fr> <200803120100.m2C107Y0010501@localhost.localdomain> <87od9jyi7o.fsf@free.fr> <200803140100.m2E10AOB004674@localhost.localdomain> <877ig5ugid.fsf@free.fr> Message-ID: <87tzj9t0aj.fsf@free.fr> Matthieu Moy a ?crit : > Philippe Brochard writes: > >> Xavier Maillard writes: >> >>> All must works now. >>> >>> Almost all :) In fact, I can trigger the 'i' menu entry *but* I >>> can't leave it now. Typing 'q' as usual won't do anything useful >>> than describing what the 'q' key is and does :) >>> >> Ah? It works here. Can you invest a little more? > > He he ... > > to invest = investir > to investigate = enqu?ter > > ;-) > Yes, I saw this just after C-c C-c :) -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Mon Mar 17 22:03:36 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 17 Mar 2008 23:03:36 +0100 Subject: [clfswm-devel] [PATCH] When running the dumped image as our CLFSWM executable, we do not need Message-ID: <12057914163815-git-send-email-xma@gnu.org> This patch just fixes an annoyance when calling our script without any argument. The script was first trying to test for a common lisp implementation and all mandatory lisp "objects" (clfswm.asd and asdf.lisp). These tests have been deported where they are really needed that is to say where we *build* the image. Now, we can just call clfswm without arguments from our .xinitrc file. Signed-off-by: Xavier Maillard --- contrib/clfswm | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/clfswm b/contrib/clfswm index dcb557e..6f25140 100644 --- a/contrib/clfswm +++ b/contrib/clfswm @@ -103,9 +103,6 @@ do shift done -test -x $(type -p $lisp) || die "$lisp can't be found." -test -e $clfswm_asd_path/clfswm.asd || die "can't find clfswm.asd in $clfswm_asd_path" -test -e $asdf_path/asdf.lisp || die "can't find asdf.lisp in $asdf_path" dump_image="$dump_path/clfswm-$(cksum $(type -p $lisp) | cut -d ' ' -f 1).core" @@ -120,7 +117,11 @@ if test ! -e "$dump_image" || do test "$dump_image" -ot "$i" && exit 1 done ) then - eval build_$lisp + test -x $(type -p $lisp) || die "$lisp can't be found." + test -e $clfswm_asd_path/clfswm.asd || die "can't find clfswm.asd in $clfswm_asd_path" + test -e $asdf_path/asdf.lisp || die "can't find asdf.lisp in $asdf_path" + + eval build_$lisp fi # Run the resulting image -- 1.5.2.2 From xma at gnu.org Mon Mar 17 22:46:50 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 17 Mar 2008 23:46:50 +0100 Subject: [clfswm-devel] [PATCH] When running the dumped image as our CLFSWM executable, we do not need Message-ID: <1205794010-7524-1-git-send-email-xma@gnu.org> This patch just fixes an annoyance when calling our script without any argument. The script was first trying to test for a common lisp implementation and all mandatory lisp "objects" (clfswm.asd and asdf.lisp). These tests have been deported where they are really needed that is to say where we *build* the image. Now, we can just call clfswm without arguments from our .xinitrc file. Signed-off-by: Xavier Maillard --- contrib/clfswm | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/clfswm b/contrib/clfswm index dcb557e..6f25140 100644 --- a/contrib/clfswm +++ b/contrib/clfswm @@ -103,9 +103,6 @@ do shift done -test -x $(type -p $lisp) || die "$lisp can't be found." -test -e $clfswm_asd_path/clfswm.asd || die "can't find clfswm.asd in $clfswm_asd_path" -test -e $asdf_path/asdf.lisp || die "can't find asdf.lisp in $asdf_path" dump_image="$dump_path/clfswm-$(cksum $(type -p $lisp) | cut -d ' ' -f 1).core" @@ -120,7 +117,11 @@ if test ! -e "$dump_image" || do test "$dump_image" -ot "$i" && exit 1 done ) then - eval build_$lisp + test -x $(type -p $lisp) || die "$lisp can't be found." + test -e $clfswm_asd_path/clfswm.asd || die "can't find clfswm.asd in $clfswm_asd_path" + test -e $asdf_path/asdf.lisp || die "can't find asdf.lisp in $asdf_path" + + eval build_$lisp fi # Run the resulting image -- 1.5.2.2 From xma at gnu.org Mon Mar 17 23:05:24 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 18 Mar 2008 00:05:24 +0100 Subject: [clfswm-devel] [PATCH] When running the dumped image as our CLFSWM executable, we do not need Message-ID: <1205795124-28154-1-git-send-email-xma@gnu.org> This patch just fixes an annoyance when calling our script without any argument. The script was first trying to test for a common lisp implementation and all mandatory lisp "objects" (clfswm.asd and asdf.lisp). These tests have been deported where they are really needed that is to say where we *build* the image. Now, we can just call clfswm without arguments from our .xinitrc file. Signed-off-by: Xavier Maillard --- Sorry for the errorneous mail bombing with all the same (small) patch. Something misbehaved here and the same (wrong) patch has een sent twice. This one is the real one (with the Signed-off-by: stuff). contrib/clfswm | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/clfswm b/contrib/clfswm index dcb557e..6f25140 100644 --- a/contrib/clfswm +++ b/contrib/clfswm @@ -103,9 +103,6 @@ do shift done -test -x $(type -p $lisp) || die "$lisp can't be found." -test -e $clfswm_asd_path/clfswm.asd || die "can't find clfswm.asd in $clfswm_asd_path" -test -e $asdf_path/asdf.lisp || die "can't find asdf.lisp in $asdf_path" dump_image="$dump_path/clfswm-$(cksum $(type -p $lisp) | cut -d ' ' -f 1).core" @@ -120,7 +117,11 @@ if test ! -e "$dump_image" || do test "$dump_image" -ot "$i" && exit 1 done ) then - eval build_$lisp + test -x $(type -p $lisp) || die "$lisp can't be found." + test -e $clfswm_asd_path/clfswm.asd || die "can't find clfswm.asd in $clfswm_asd_path" + test -e $asdf_path/asdf.lisp || die "can't find asdf.lisp in $asdf_path" + + eval build_$lisp fi # Run the resulting image -- 1.5.4.4.685.g64f14.dirty From xma at gnu.org Tue Mar 18 01:00:02 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 18 Mar 2008 02:00:02 +0100 Subject: [clfswm-devel] [BUG] m-t e => access-error Message-ID: <200803180100.m2I102qo026077@localhost.localdomain> Hi, I am hunting a bug that appeared from revision 44 or so. How to reproduce: 1. startx (with either a dumped image or loading load.lisp) 2. enter second mode (m-t) 3. launch emacs (e) If all goes well, you should see a crypting and mysterious message telling you that there is an access-error. The debugger tells me to type 'continue' to "dismiss" the error, if I do, it continues as expected and my emacs window appears *but* another access-error pops-up and then I stuck ;) I tried to track down this bug but I failed. The only place I can see access-error message is in clfswm.lisp (when opening the X display). Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Tue Mar 18 01:00:10 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 18 Mar 2008 02:00:10 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm Message-ID: <200803180100.m2I109fW026227@localhost.localdomain> Hi, since I hate when git status displays all untracked files, I have set up a small list of exclude patterns. Normally, this command: git-ls-files --others should display all untracked files including fas,lib and all ~ files (there could be even more items). The default for this command is to display all files unknown to git. As I am not really interested to see my backup files or compiled files in the untracked list, just throw them. My exclude list is as follow: # git-ls-files --others --exclude-from=.git/info/exclude # Lines that start with '#' are comments. # For a project mostly in C, the following would be a good set of # exclude patterns (uncomment them if you want to use them): *.fas *.lib *.orig *.patch *~ Just save this to your /.git/info/exclude and running git-ls-files --others --exclude-from=.git/info/exclude should not display all the files matching these patterns. For the curious, to list all files tracked by git, just run git-ls-files For more informations (woman "git-ls-files") Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Tue Mar 18 01:00:07 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 18 Mar 2008 02:00:07 +0100 Subject: [clfswm-devel] [BUG] m-t e => access-error Message-ID: <200803180100.m2I107RH026183@localhost.localdomain> Hi, I am hunting a bug that appeared from revision 44 or so. How to reproduce: 1. startx (with either a dumped image or loading load.lisp) 2. enter second mode (m-t) 3. launch emacs (e) If all goes well, you should see a crypting and mysterious message telling you that there is an asunchronous access-error. The debugger tells me to type 'continue' to "dismiss" the error, if I do, it continues as expected and my emacs window appears *but* another access-error pops-up and then I stuck ;) I tried to track down this bug but I failed. The only place I can see access-error message is in clfswm.lisp (when opening the X display). The tests were done with GNU Emacs 23.x (CVS) with -Q switch. Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From Matthieu.Moy at imag.fr Tue Mar 18 08:54:25 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Tue, 18 Mar 2008 09:54:25 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: <200803180100.m2I109fW026227@localhost.localdomain> (Xavier Maillard's message of "Tue\, 18 Mar 2008 02\:00\:10 +0100") References: <200803180100.m2I109fW026227@localhost.localdomain> Message-ID: Xavier Maillard writes: > # git-ls-files --others --exclude-from=.git/info/exclude Since upstream also uses git, you can put it in .gitignore, git add .gitignore, and commit it. Other people will have it as well automatically. > git-ls-files --others --exclude-from=.git/info/exclude Recent enough git have "git ls-files --exclude-standard" to take .gitignore and .git/info/exclude into account. Note that you're supposed to type "git ls-files", not "git-ls-files" which is the deprecated syntax. And you have "git status" which shows you all of this in a more user-friendly way. If you have this [color] branch = auto status = auto diff = auto in your ~/.gitconfig, then the untracked files will pop up in red to warn you that you probably forgot to "git add" or to ignore them explicitly. -- Matthieu From pbrochard at common-lisp.net Tue Mar 18 12:03:16 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 18 Mar 2008 13:03:16 +0100 Subject: [clfswm-devel] [BUG] m-t e => access-error In-Reply-To: <200803180100.m2I107RH026183@localhost.localdomain> (Xavier Maillard's message of "Tue\, 18 Mar 2008 02\:00\:07 +0100") References: <200803180100.m2I107RH026183@localhost.localdomain> Message-ID: <878x0g9r3v.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > I am hunting a bug that appeared from revision 44 or so. > > How to reproduce: > > 1. startx (with either a dumped image or loading load.lisp) > 2. enter second mode (m-t) > 3. launch emacs (e) > > If all goes well, you should see a crypting and mysterious > message telling you that there is an asunchronous access-error. > The debugger tells me to type 'continue' to "dismiss" the > error, if I do, it continues as expected and my emacs window > appears *but* another access-error pops-up and then I stuck ;) > > I tried to track down this bug but I failed. The only place I can > see access-error message is in clfswm.lisp (when opening the X > display). > > The tests were done with GNU Emacs 23.x (CVS) with -Q switch. > I got this error too. It's corrected in the new revision. (I just removed :button-press, :button-release and :pointer-motion in *window-events* because they are unnecessary). Regards Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Tue Mar 18 14:21:48 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 18 Mar 2008 15:21:48 +0100 Subject: [clfswm-devel] [RFC PATCH 2/2] Move date-string into tools package In-Reply-To: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> References: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> Message-ID: <325063c82a3c9e1abec89dc36721794cc7c88f76.1205849979.git.xma@gnu.org> date-string has nothing todo with clfswm-info code. Move the date-string function definition into the tools package and export the symbol `date-string' Signed-off-by: Xavier Maillard --- src/clfswm-info.lisp | 11 ----------- src/tools.lisp | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/clfswm-info.lisp b/src/clfswm-info.lisp index 0305e0b..cf071f2 100644 --- a/src/clfswm-info.lisp +++ b/src/clfswm-info.lisp @@ -352,17 +352,6 @@ key is a character, a keycode or a keysym" (show-key-binding *second-keys* *second-mouse*)) -(let ((days '("Lundi" "Mardi" "Mercredi" "Jeudi" "Vendredi" "Samedi" "Dimanche")) - (months '("Janvier" "Fevrier" "Mars" "Avril" "Mai" "Juin" "Juillet" - "Aout" "Septembre" "Octobre" "Novembre" "Decembre"))) - (defun date-string () - (multiple-value-bind (second minute hour date month year day) - (get-decoded-time) - (format nil " ~2,'0D:~2,'0D:~2,'0D ~A ~2,'0D ~A ~A " - hour minute second - (nth day days) date (nth (1- month) months) year)))) - - (defun show-date () "Show the current time and date" (info-mode (list (date-string)))) diff --git a/src/tools.lisp b/src/tools.lisp index 880cbee..d9d97c5 100644 --- a/src/tools.lisp +++ b/src/tools.lisp @@ -44,6 +44,7 @@ :escape-string :first-position :find-free-number + :date-string :do-execute :do-shell :getenv @@ -596,6 +597,16 @@ Useful for re-using the &REST arg after removing some options." ;; (transfert-stream in out (file-length in))))) +(let ((days '("Lundi" "Mardi" "Mercredi" "Jeudi" "Vendredi" "Samedi" "Dimanche")) + (months '("Janvier" "Fevrier" "Mars" "Avril" "Mai" "Juin" "Juillet" + "Aout" "Septembre" "Octobre" "Novembre" "Decembre"))) + (defun date-string () + (multiple-value-bind (second minute hour date month year day) + (get-decoded-time) + (format nil " ~2,'0D:~2,'0D:~2,'0D ~A ~2,'0D ~A ~A " + hour minute second + (nth day days) date (nth (1- month) months) year)))) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- 1.5.4.4.685.g64f14.dirty From xma at gnu.org Tue Mar 18 14:21:47 2008 From: xma at gnu.org (Xavier Maillard) Date: Tue, 18 Mar 2008 15:21:47 +0100 Subject: [clfswm-devel] [RFC PATCH 1/2] Support display of a CLFSWM version string. Message-ID: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> With current code, there is no way (even no version) to display CLFSWM version and when it has been built. This small patch just follow a STUMPWM idea (in fact, the code itself has been stolen from the STUMPWM project) by: 1. creating a new package version that exports the *version* string 2. defining a new info-mode function (show-version) 3. binding the function to \#v in info-mode and second-mode src/package.lisp and clfswm.asd has been updated to follow these changes. Signed-off-by: Xavier Maillard --- clfswm.asd | 6 ++++-- src/clfswm-info.lisp | 5 +++++ src/package.lisp | 2 +- src/version.lisp | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 src/version.lisp diff --git a/clfswm.asd b/clfswm.asd index 3cafd1d..a689ce9 100644 --- a/clfswm.asd +++ b/clfswm.asd @@ -16,7 +16,7 @@ (:file "my-html" :depends-on ("tools")) (:file "package" - :depends-on ("my-html" "tools")) + :depends-on ("my-html" "tools" "version")) (:file "config" :depends-on ("package")) (:file "keysyms" @@ -32,10 +32,12 @@ (:file "clfswm" :depends-on ("xlib-util" "netwm-util" "clfswm-keys" "config" "clfswm-internal" "tools")) + (:file "version" + :depends-on ("tools")) (:file "clfswm-second-mode" :depends-on ("package" "clfswm-internal")) (:file "clfswm-info" - :depends-on ("package" "xlib-util" "config" "clfswm-keys" "clfswm" "clfswm-internal")) + :depends-on ("package" "version" "xlib-util" "config" "clfswm-keys" "clfswm" "clfswm-internal")) (:file "clfswm-util" :depends-on ("clfswm" "keysyms" "clfswm-info" "clfswm-second-mode" "clfswm-query")) (:file "clfswm-query" diff --git a/src/clfswm-info.lisp b/src/clfswm-info.lisp index 0d129fc..0305e0b 100644 --- a/src/clfswm-info.lisp +++ b/src/clfswm-info.lisp @@ -417,6 +417,9 @@ key is a character, a keycode or a keysym" (#\l show-cd-playlist)))) +(defun show-version () + "Show the current CD track" + (info-mode (list *version*))) (defun help-on-clfswm () "Open the help and info window" @@ -426,6 +429,7 @@ key is a character, a keycode or a keysym" (#\c show-cpu-proc) (#\m show-mem-proc) (#\x xmms-info-menu) + (#\v show-version) (#\d info-on-cd-menu)))) @@ -437,6 +441,7 @@ key is a character, a keycode or a keysym" (#\c show-cpu-proc) (#\m show-mem-proc) (#\x xmms-info-menu) + (#\v show-version) (#\d info-on-cd-menu)))) diff --git a/src/package.lisp b/src/package.lisp index 4da2a18..f57253b 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -26,7 +26,7 @@ (in-package :cl-user) (defpackage clfswm - (:use :common-lisp :my-html :tools) + (:use :common-lisp :my-html :tools :version) ;;(:shadow :defun) (:export :main)) diff --git a/src/version.lisp b/src/version.lisp new file mode 100644 index 0000000..10e8bbd --- /dev/null +++ b/src/version.lisp @@ -0,0 +1,36 @@ +;; Copyright (C) 2008 Xavier Maillard +;; Copyright (C) 2006 Martin Bishop +;; +;; Borrowed from Stumpwm +;; This file is part of clfswm. +;; +;; clfswm is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; clfswm is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this software; see the file COPYING. If not, write to +;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, +;; Boston, MA 02111-1307 USA + +;; Commentary: +;; +;; This file contains version information. +;; +;; Code: + +(in-package :common-lisp-user) + +(defpackage version + (:use common-lisp tools) + (:export *version*)) + +(in-package :version) + +(defparameter *version* #.(concatenate 'string "0.0.1-git built " (date-string))) -- 1.5.4.4.685.g64f14.dirty From pbrochard at common-lisp.net Tue Mar 18 20:53:54 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 18 Mar 2008 21:53:54 +0100 Subject: [clfswm-devel] [PATCH] When running the dumped image as our CLFSWM executable, we do not need In-Reply-To: <1205795124-28154-1-git-send-email-xma@gnu.org> (Xavier Maillard's message of "Tue\, 18 Mar 2008 00\:05\:24 +0100") References: <1205795124-28154-1-git-send-email-xma@gnu.org> Message-ID: <87od9bpxct.fsf@free.fr> Xavier Maillard writes: > This patch just fixes an annoyance when calling our script without any > argument. The script was first trying to test for a common lisp > implementation and all mandatory lisp "objects" (clfswm.asd and > asdf.lisp). These tests have been deported where they are really > needed that is to say where we *build* the image. > > Now, we can just call clfswm without arguments from our .xinitrc file. > [...] Ok, thanks, patch applied. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Tue Mar 18 21:11:21 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 18 Mar 2008 22:11:21 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: <200803180100.m2I109fW026227@localhost.localdomain> (Xavier Maillard's message of "Tue\, 18 Mar 2008 02\:00\:10 +0100") References: <200803180100.m2I109fW026227@localhost.localdomain> Message-ID: <87k5jzpwjq.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > since I hate when git status displays all untracked files, I have > set up a small list of exclude patterns. > > Normally, this command: > > git-ls-files --others > > should display all untracked files including fas,lib and all ~ > files (there could be even more items). The default for this > command is to display all files unknown to git. As I am not > really interested to see my backup files or compiled files in the > untracked list, just throw them. > > My exclude list is as follow: > > # git-ls-files --others --exclude-from=.git/info/exclude > # Lines that start with '#' are comments. > # For a project mostly in C, the following would be a good set of > # exclude patterns (uncomment them if you want to use them): > *.fas > *.lib > *.orig > *.patch > *~ > > Just save this to your repo>/.git/info/exclude and running > > git-ls-files --others --exclude-from=.git/info/exclude > > should not display all the files matching these patterns. > > For the curious, to list all files tracked by git, just run > > git-ls-files > > For more informations (woman "git-ls-files") > Thanks, I've been annoyed by those files too. I've committed a .gitignore file which remove unwanted files from git status. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Tue Mar 18 21:13:10 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 18 Mar 2008 22:13:10 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: (Matthieu Moy's message of "Tue\, 18 Mar 2008 09\:54\:25 +0100") References: <200803180100.m2I109fW026227@localhost.localdomain> Message-ID: <87fxunpwgp.fsf@free.fr> Matthieu Moy a ?crit : > Xavier Maillard writes: > >> # git-ls-files --others --exclude-from=.git/info/exclude > > Since upstream also uses git, you can put it in .gitignore, git add > .gitignore, and commit it. Other people will have it as well > automatically. > >> git-ls-files --others --exclude-from=.git/info/exclude > > Recent enough git have "git ls-files --exclude-standard" to take > .gitignore and .git/info/exclude into account. Note that you're > supposed to type "git ls-files", not "git-ls-files" which is the > deprecated syntax. > > And you have "git status" which shows you all of this in a more > user-friendly way. If you have this > > [color] > branch = auto > status = auto > diff = auto > > in your ~/.gitconfig, then the untracked files will pop up in red to > warn you that you probably forgot to "git add" or to ignore them > explicitly. > Thanks! That's nice to have a git expert on this list: I learn a lot! Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Tue Mar 18 21:51:55 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 18 Mar 2008 22:51:55 +0100 Subject: [clfswm-devel] [RFC PATCH 1/2] Support display of a CLFSWM version string. In-Reply-To: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> (Xavier Maillard's message of "Tue\, 18 Mar 2008 15\:21\:47 +0100") References: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> Message-ID: <87bq5bpuo4.fsf@free.fr> Xavier Maillard writes: > With current code, there is no way (even no version) to display > CLFSWM version and when it has been built. > > This small patch just follow a STUMPWM idea (in fact, the code itself > has been stolen from the STUMPWM project) by: > > 1. creating a new package version that exports the *version* string > 2. defining a new info-mode function (show-version) > 3. binding the function to \#v in info-mode and second-mode > [...] Nice, thanks a lot. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Tue Mar 18 21:54:28 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 18 Mar 2008 22:54:28 +0100 Subject: [clfswm-devel] [RFC PATCH 2/2] Move date-string into tools package In-Reply-To: <325063c82a3c9e1abec89dc36721794cc7c88f76.1205849979.git.xma@gnu.org> (Xavier Maillard's message of "Tue\, 18 Mar 2008 15\:21\:48 +0100") References: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <325063c82a3c9e1abec89dc36721794cc7c88f76.1205849979.git.xma@gnu.org> Message-ID: <877ifzpujv.fsf@free.fr> Xavier Maillard writes: > date-string has nothing todo with clfswm-info code. > > Move the date-string function definition into the tools package > and export the symbol `date-string' > [...] Thanks. Tools.lisp is a file I use in most of my lisp project and date-string is new in clfswm. Indeed tools.lisp is the right place for date-string. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Fri Mar 21 22:11:14 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Fri, 21 Mar 2008 23:11:14 +0100 Subject: [clfswm-devel] Pack/Fill/Resize in the last revision. Message-ID: <87od97hgn1.fsf@free.fr> Hi all, As said in the subject, I've reimplemented the fill/pack/resize functions in the last revision. Be sure to set a layout that doesn't handle automatically the position of its childs (ie: a no-layout is needed). Have fun, Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Sat Mar 22 01:00:12 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 22 Mar 2008 02:00:12 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: (message from Matthieu Moy on Tue, 18 Mar 2008 09:54:25 +0100) References: <200803180100.m2I109fW026227@localhost.localdomain> Message-ID: <200803220100.m2M10CZQ030045@localhost.localdomain> diff = auto This configuration variable just makes my git diff usage horrid. I get a lot of escape sequences instead of the colours I expect to see. What's wrong ? What should I check ? git status just works as expected so dunno why it won't with diff. Any thought ? Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sat Mar 22 01:00:10 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 22 Mar 2008 02:00:10 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: <87fxunpwgp.fsf@free.fr> (message from Philippe Brochard on Tue, 18 Mar 2008 22:13:10 +0100) References: <200803180100.m2I109fW026227@localhost.localdomain> <87fxunpwgp.fsf@free.fr> Message-ID: <200803220100.m2M107JA029959@localhost.localdomain> Thanks! That's nice to have a git expert on this list: I learn a lot! Maybe we could have a small introduction to DVC by the way ? What do you think Matthieu ? Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sat Mar 22 01:00:14 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 22 Mar 2008 02:00:14 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: <87k5jzpwjq.fsf@free.fr> (message from Philippe Brochard on Tue, 18 Mar 2008 22:11:21 +0100) References: <200803180100.m2I109fW026227@localhost.localdomain> <87k5jzpwjq.fsf@free.fr> Message-ID: <200803220100.m2M10EYZ030086@localhost.localdomain> Thanks, I've been annoyed by those files too. I've committed a .gitignore file which remove unwanted files from git status. Cool, thank you. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sat Mar 22 01:00:01 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 22 Mar 2008 02:00:01 +0100 Subject: [clfswm-devel] [RFC PATCH 2/2] Move date-string into tools package In-Reply-To: <877ifzpujv.fsf@free.fr> (message from Philippe Brochard on Tue, 18 Mar 2008 22:54:28 +0100) References: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <325063c82a3c9e1abec89dc36721794cc7c88f76.1205849979.git.xma@gnu.org> <877ifzpujv.fsf@free.fr> Message-ID: <200803220100.m2M101l7029841@localhost.localdomain> Xavier Maillard writes: > date-string has nothing todo with clfswm-info code. > > Move the date-string function definition into the tools package > and export the symbol `date-string' > [...] Thanks. Tools.lisp is a file I use in most of my lisp project and date-string is new in clfswm. Indeed tools.lisp is the right place for date-string. I am still struggling with the design "flaws" I talked about a few days ago. The CLFSWM package uniqueness is on my TOKILL list. Yes it is not really unique but all is done in that sole package. Don't you think we could benefit from a split operation ? I mean, have a "internal" package, a "user" package, etc.... I know it is not likely to happen soon (there are other thing to achieve first) but just a thought. Regrds Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sat Mar 22 01:00:05 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 22 Mar 2008 02:00:05 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: <87k5jzpwjq.fsf@free.fr> (message from Philippe Brochard on Tue, 18 Mar 2008 22:11:21 +0100) References: <200803180100.m2I109fW026227@localhost.localdomain> <87k5jzpwjq.fsf@free.fr> Message-ID: <200803220100.m2M105W3029912@localhost.localdomain> Thanks, I've been annoyed by those files too. I've committed a .gitignore file which remove unwanted files from git status. Cool, thank you. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sat Mar 22 01:00:03 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 22 Mar 2008 02:00:03 +0100 Subject: [clfswm-devel] [BUG] m-t e => access-error In-Reply-To: <878x0g9r3v.fsf@free.fr> (message from Philippe Brochard on Tue, 18 Mar 2008 13:03:16 +0100) References: <200803180100.m2I107RH026183@localhost.localdomain> <878x0g9r3v.fsf@free.fr> Message-ID: <200803220100.m2M103uO029862@localhost.localdomain> I got this error too. It's corrected in the new revision. Confirmed here. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sat Mar 22 01:00:17 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 22 Mar 2008 02:00:17 +0100 Subject: [clfswm-devel] [BUG] m-t e => access-error In-Reply-To: <878x0g9r3v.fsf@free.fr> (message from Philippe Brochard on Tue, 18 Mar 2008 13:03:16 +0100) References: <200803180100.m2I107RH026183@localhost.localdomain> <878x0g9r3v.fsf@free.fr> Message-ID: <200803220100.m2M10GoY030134@localhost.localdomain> I got this error too. It's corrected in the new revision. Confirmed here. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sat Mar 22 01:00:10 2008 From: xma at gnu.org (Xavier Maillard) Date: Sat, 22 Mar 2008 02:00:10 +0100 Subject: [clfswm-devel] [RFC PATCH 2/2] Move date-string into tools package In-Reply-To: <877ifzpujv.fsf@free.fr> (message from Philippe Brochard on Tue, 18 Mar 2008 22:54:28 +0100) References: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <325063c82a3c9e1abec89dc36721794cc7c88f76.1205849979.git.xma@gnu.org> <877ifzpujv.fsf@free.fr> Message-ID: <200803220100.m2M10AsJ030004@localhost.localdomain> Xavier Maillard writes: > date-string has nothing todo with clfswm-info code. > > Move the date-string function definition into the tools package > and export the symbol `date-string' > [...] Thanks. Tools.lisp is a file I use in most of my lisp project and date-string is new in clfswm. Indeed tools.lisp is the right place for date-string. I am still struggling with the design "flaws" I talked about a few days ago. The CLFSWM package uniqueness is on my TOKILL list. Yes it is not really unique but all is done in that sole package. Don't you think we could benefit from a split operation ? I mean, have a "internal" package, a "user" package, etc.... I know it is not likely to happen soon (there are other thing to achieve first) but just a thought. Regrds Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From cl.thouvenin at laposte.net Sat Mar 22 15:37:06 2008 From: cl.thouvenin at laposte.net (Cyrille) Date: Sat, 22 Mar 2008 16:37:06 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <87r6ef7fwf.fsf@free.fr> (Philippe Brochard's message of "Wed, 12 Mar 2008 23:10:08 +0100") References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> <200803100100.m2A10Knq004622@localhost.localdomain> <87bq5nlzdb.fsf@free.fr> <200803120100.m2C10PUP010534@localhost.localdomain> <87r6ef7fwf.fsf@free.fr> Message-ID: <87od96zs65.fsf@ten.hd.free.fr> >>>>> "PB" == Philippe Brochard writes: PB> Xavier Maillard writes: >> > I will try to see if a FUSE project against trac exists, this >> > could be a cool alternative. >> > >> Tell us if you have something working. All my tests failed :( >> >> Well here are my own test results: >> >> 1. as expected, track-wiki refused to work 2. oddmuse, even >> with my development version, did not work either >> >> As for the FUSE project, I tried hard to find something but >> except mediawikifs, there is no profusion of such project. This >> is the problem with the multiplication of wiki engines >> regrouping each time a really small user community. >> >> The only solution is to use a emacs-w3m as a last resort ;) >> PB> Ah, ok :( So I stay with my epiphany and emacs for big blocks. PB> Emacs-w3m is a good option for big changes. If you are using firefox to browse the web, you can use Mozex http://mozex.mozdev.org/, so that it fires emacs or whatever editor you want to edit the textarea. Cheers, -- Cyrille From cl.thouvenin at laposte.net Sat Mar 22 15:55:23 2008 From: cl.thouvenin at laposte.net (Cyrille) Date: Sat, 22 Mar 2008 16:55:23 +0100 Subject: [clfswm-devel] User API proposition Message-ID: <87k5juzrbo.fsf@ten.hd.free.fr> Hi guys, I have created a new page on the wiki that is: http://trac.common-lisp.net/clfswm/wiki/UserAPI. It is meant to be a discussion on the CLFSWM features at a user stand point, so feel free to correct, comment and etc. Hoping to bring new ideas Cheers, -- Cyrille From pbrochard at common-lisp.net Sat Mar 22 21:26:50 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 22 Mar 2008 22:26:50 +0100 Subject: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <87od96zs65.fsf@ten.hd.free.fr> (Cyrille's message of "Sat\, 22 Mar 2008 16\:37\:06 +0100") References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> <200803100100.m2A10Knq004622@localhost.localdomain> <87bq5nlzdb.fsf@free.fr> <200803120100.m2C10PUP010534@localhost.localdomain> <87r6ef7fwf.fsf@free.fr> <87od96zs65.fsf@ten.hd.free.fr> Message-ID: <8763vebgbp.fsf@free.fr> Cyrille writes: >>>>>> "PB" == Philippe Brochard writes: > > PB> Xavier Maillard writes: > >> > I will try to see if a FUSE project against trac exists, this > >> > could be a cool alternative. > >> > > >> Tell us if you have something working. All my tests failed :( > >> > >> Well here are my own test results: > >> > >> 1. as expected, track-wiki refused to work 2. oddmuse, even > >> with my development version, did not work either > >> > >> As for the FUSE project, I tried hard to find something but > >> except mediawikifs, there is no profusion of such project. This > >> is the problem with the multiplication of wiki engines > >> regrouping each time a really small user community. > >> > >> The only solution is to use a emacs-w3m as a last resort ;) > >> > PB> Ah, ok :( So I stay with my epiphany and emacs for big blocks. > PB> Emacs-w3m is a good option for big changes. > If you are using firefox to browse the web, you can use Mozex > http://mozex.mozdev.org/, so that it fires emacs or whatever editor > you want to edit the textarea. > This seems to be nice but I use epiphany so I do copy/paste manually. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sat Mar 22 21:31:45 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 22 Mar 2008 22:31:45 +0100 Subject: [clfswm-devel] [RFC PATCH 2/2] Move date-string into tools package In-Reply-To: <200803220100.m2M101l7029841@localhost.localdomain> (Xavier Maillard's message of "Sat\, 22 Mar 2008 02\:00\:01 +0100") References: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <325063c82a3c9e1abec89dc36721794cc7c88f76.1205849979.git.xma@gnu.org> <877ifzpujv.fsf@free.fr> <200803220100.m2M101l7029841@localhost.localdomain> Message-ID: <87zlsqa1j2.fsf@free.fr> Xavier Maillard writes: > Xavier Maillard writes: > > > date-string has nothing todo with clfswm-info code. > > > > Move the date-string function definition into the tools package > > and export the symbol `date-string' > > > > [...] > > Thanks. Tools.lisp is a file I use in most of my lisp project and > date-string is new in clfswm. Indeed tools.lisp is the right place for > date-string. > > I am still struggling with the design "flaws" I talked about a > few days ago. The CLFSWM package uniqueness is on my TOKILL list. > Yes it is not really unique but all is done in that sole package. > > Don't you think we could benefit from a split operation ? I mean, > have a "internal" package, a "user" package, etc.... I know it is > not likely to happen soon (there are other thing to achieve > first) but just a thought. > Yes that can be a benefit but for now while the API is not stable it's more simple to work in a sole package. ie there is no need to manage explicitly exported symbols. But when things become more stable we can of course split clfswm in more packages. Cheers, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sat Mar 22 21:37:17 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 22 Mar 2008 22:37:17 +0100 Subject: [clfswm-devel] User API proposition In-Reply-To: <87k5juzrbo.fsf@ten.hd.free.fr> (Cyrille's message of "Sat\, 22 Mar 2008 16\:55\:23 +0100") References: <87k5juzrbo.fsf@ten.hd.free.fr> Message-ID: <87ve3ea19u.fsf@free.fr> Cyrille writes: > Hi guys, > Hi, > I have created a new page on the wiki that is: > http://trac.common-lisp.net/clfswm/wiki/UserAPI. > It is meant to be a discussion on the CLFSWM features at a user stand > point, so feel free to correct, comment and etc. > Cool, I've commented it. In particular I don't see the need for the frame layer. This make me think that I have to write a page to tell how to change completly the clfswm behavior. Indeed clfswm is just some minimals xlib functions and two modes (main and second) all the rest can be customized (with hooks or complet rewrite). Even the second mode is not really needed. > Hoping to bring new ideas > Yes, some have been added in the TODO files. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From cl.thouvenin at laposte.net Sat Mar 22 22:53:59 2008 From: cl.thouvenin at laposte.net (CT) Date: Sat, 22 Mar 2008 23:53:59 +0100 Subject: [clfswm-devel] User API proposition In-Reply-To: <87ve3ea19u.fsf@free.fr> (Philippe Brochard's message of "Sat, 22 Mar 2008 22:37:17 +0100") References: <87k5juzrbo.fsf@ten.hd.free.fr> <87ve3ea19u.fsf@free.fr> Message-ID: <87fxuiz7y0.fsf@ten.hd.free.fr> >>>>> "PB" == Philippe Brochard writes: Bonsoir, >> I have created a new page on the wiki that is: >> http://trac.common-lisp.net/clfswm/wiki/UserAPI. It is meant to >> be a discussion on the CLFSWM features at a user stand point, >> so feel free to correct, comment and etc. >> PB> Cool, I've commented it. In particular I don't see the need PB> for the frame layer. So do I have written some answer. I suggest that we write answer threaded with bullet and the signature of the writer, so that we know to what comment we answer and to follow the flow of discussion. I am trying to make a case to change the meaning of group in CLFSWM. For me, group is a better word for an arbitrary ensemble. In CLFSWM, groups are not so arbitrary as it is link to a geometry inclusion relation. So, I would prefer to use frame in that particular case as this word has a geometrical sounding. PB> This make me think that I have to write a page to tell how to PB> change completly the clfswm behavior. Indeed clfswm is just PB> some minimals xlib functions and two modes (main and second) PB> all the rest can be customized (with hooks or complet PB> rewrite). Even the second mode is not really needed. I would definitely appreciate that, so that I could dive in the internal of CLFSWM easily. Wow ! >> Hoping to bring new ideas PB> Yes, some have been added in the TODO files. Thank you, Hoping to contribute sooner or later with code... Cheers, -- Cyrille From pbrochard at common-lisp.net Sat Mar 22 23:25:40 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 23 Mar 2008 00:25:40 +0100 Subject: [clfswm-devel] User API proposition In-Reply-To: <87fxuiz7y0.fsf@ten.hd.free.fr> (CT's message of "Sat\, 22 Mar 2008 23\:53\:59 +0100") References: <87k5juzrbo.fsf@ten.hd.free.fr> <87ve3ea19u.fsf@free.fr> <87fxuiz7y0.fsf@ten.hd.free.fr> Message-ID: <87r6e2734b.fsf@free.fr> CT writes: >>>>>> "PB" == Philippe Brochard writes: > Bonsoir, > > >> I have created a new page on the wiki that is: > >> http://trac.common-lisp.net/clfswm/wiki/UserAPI. It is meant to > >> be a discussion on the CLFSWM features at a user stand point, > >> so feel free to correct, comment and etc. > >> > PB> Cool, I've commented it. In particular I don't see the need > PB> for the frame layer. > > So do I have written some answer. I suggest that we write answer > threaded with bullet and the signature of the writer, so that we know > to what comment we answer and to follow the flow of discussion. > Please, can we continu the discussion here: it's really boring to access the wiki with two users (we can't save comments when someone as changed the page at the same time). > I am trying to make a case to change the meaning of group in > CLFSWM. For me, group is a better word for an arbitrary ensemble. In > CLFSWM, groups are not so arbitrary as it is link to a geometry > inclusion relation. So, I would prefer to use frame in that particular > case as this word has a geometrical sounding. > I start a new thread for this one. > PB> This make me think that I have to write a page to tell how to > PB> change completly the clfswm behavior. Indeed clfswm is just > PB> some minimals xlib functions and two modes (main and second) > PB> all the rest can be customized (with hooks or complet > PB> rewrite). Even the second mode is not really needed. > I would definitely appreciate that, so that I could dive in the > internal of CLFSWM easily. Wow ! > Ok, that's in my personnal TODO :) > >> Hoping to bring new ideas > PB> Yes, some have been added in the TODO files. > Thank you, > > Hoping to contribute sooner or later with code... > I'm waiting for your code but your contribution with new ideas is already very appreciated! Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sat Mar 22 23:34:07 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 23 Mar 2008 00:34:07 +0100 Subject: [clfswm-devel] Request for comments: changing the meaning of group in CLFSWM. Message-ID: <87myoq5o5s.fsf@free.fr> Hi, Cyrille propose to change the meaning of groups in CLFSWM: "I am trying to make a case to change the meaning of group in CLFSWM. For me, group is a better word for an arbitrary ensemble. In CLFSWM, groups are not so arbitrary as it is link to a geometry inclusion relation. So, I would prefer to use frame in that particular case as this word has a geometrical sounding." You can see the thread on the trac: http://trac.common-lisp.net/clfswm/wiki/UserAPI For actions on children with no geometry relationship (ie: children in arbitrary groups) I propose a tag based system. Each group have a list of tags and we can perform actions from those tags. And you, what is your prefered system to interact with arbitrary children? I'd like to have some comments before doing anything so brutal on the code :) Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Sun Mar 23 01:00:33 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 23 Mar 2008 02:00:33 +0100 Subject: [clfswm-devel] [OT] Sorry for the double messages here and there Message-ID: <200803230100.m2N10WXJ025868@localhost.localdomain> Hi, Due to a broken cron entry, several of my messages have been sent twice or more onto this list. I have fixed this job so that it is unlikely to happen again (hopefully). In fact, the problem is not really the cron job but a bug into my routine responsible for the mail sending part (I send batch of mails via UUCP). Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 23 01:00:27 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 23 Mar 2008 02:00:27 +0100 Subject: [OT] Browsers Re: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <8763vebgbp.fsf@free.fr> (message from Philippe Brochard on Sat, 22 Mar 2008 22:26:50 +0100) References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> <200803100100.m2A10Knq004622@localhost.localdomain> <87bq5nlzdb.fsf@free.fr> <200803120100.m2C10PUP010534@localhost.localdomain> <87r6ef7fwf.fsf@free.fr> <87od96zs65.fsf@ten.hd.free.fr> <8763vebgbp.fsf@free.fr> Message-ID: <200803230100.m2N10RmE025775@localhost.localdomain> > If you are using firefox to browse the web, you can use Mozex > http://mozex.mozdev.org/, so that it fires emacs or whatever editor > you want to edit the textarea. > This seems to be nice but I use epiphany so I do copy/paste manually. Why this choice ? What does epiphany offer that would be missing in Mozilla Firefox ? (Note I do not use firefox, I never liked it -too bloated-. Though I am still waiting to see improvements. Maybe one day... Currently I am sticking on nero-el or precisely a fork of mine). Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 23 01:00:30 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 23 Mar 2008 02:00:30 +0100 Subject: [clfswm-devel] [RFC PATCH 2/2] Move date-string into tools package In-Reply-To: <87zlsqa1j2.fsf@free.fr> (message from Philippe Brochard on Sat, 22 Mar 2008 22:31:45 +0100) References: <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <9e2bc7093efb50323f9b35c4b46d8b6c4c3723c5.1205849979.git.xma@gnu.org> <325063c82a3c9e1abec89dc36721794cc7c88f76.1205849979.git.xma@gnu.org> <877ifzpujv.fsf@free.fr> <200803220100.m2M101l7029841@localhost.localdomain> <87zlsqa1j2.fsf@free.fr> Message-ID: <200803230100.m2N10Unj025819@localhost.localdomain> > > date-string has nothing todo with clfswm-info code. > > > > Move the date-string function definition into the tools package > > and export the symbol `date-string' > > > > [...] > > Thanks. Tools.lisp is a file I use in most of my lisp project and > date-string is new in clfswm. Indeed tools.lisp is the right place for > date-string. > > I am still struggling with the design "flaws" I talked about a > few days ago. The CLFSWM package uniqueness is on my TOKILL list. > Yes it is not really unique but all is done in that sole package. > > Don't you think we could benefit from a split operation ? I mean, > have a "internal" package, a "user" package, etc.... I know it is > not likely to happen soon (there are other thing to achieve > first) but just a thought. > Yes that can be a benefit but for now while the API is not stable it's more simple to work in a sole package. ie there is no need to manage explicitly exported symbols. But when things become more stable we can of course split clfswm in more packages. Fair enough and perfectly agreed here. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 23 01:00:24 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 23 Mar 2008 02:00:24 +0100 Subject: [clfswm-devel] User API proposition In-Reply-To: <87k5juzrbo.fsf@ten.hd.free.fr> (message from Cyrille on Sat, 22 Mar 2008 16:55:23 +0100) References: <87k5juzrbo.fsf@ten.hd.free.fr> Message-ID: <200803230100.m2N10OMH025706@localhost.localdomain> I have created a new page on the wiki that is: http://trac.common-lisp.net/clfswm/wiki/UserAPI. It is meant to be a discussion on the CLFSWM features at a user stand point, so feel free to correct, comment and etc. Good idea. I gave a look at it and it is pretty dense ! Time has come to send patches Cyrille :) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 23 01:00:36 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 23 Mar 2008 02:00:36 +0100 Subject: [clfswm-devel] [BUG] clueless: sometimes CLFSWM won't respond Message-ID: <200803230100.m2N10Z8X025933@localhost.localdomain> Hi, I am clueless with this bug but I face it at least three times since wednesday. I am pretty confident that at some point, an error is handled somewhere and the REPL takes control of my X session but I could not switch to the REPL so I am unsure. My X session does not die but I can't switch to any window/group, I can't call the second mode as if the REPL has caught the focus. The only solution till now was to kill the session and restart it again. Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 23 01:00:43 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 23 Mar 2008 02:00:43 +0100 Subject: [clfswm-devel] User API proposition In-Reply-To: <87ve3ea19u.fsf@free.fr> (message from Philippe Brochard on Sat, 22 Mar 2008 22:37:17 +0100) References: <87k5juzrbo.fsf@ten.hd.free.fr> <87ve3ea19u.fsf@free.fr> Message-ID: <200803230100.m2N10ds2026006@localhost.localdomain> > It is meant to be a discussion on the CLFSWM features at a user stand > point, so feel free to correct, comment and etc. Cool, I've commented it. In particular I don't see the need for the frame layer. I read the explanations and as far as I understand, the problem is more about the terminology than anything else. Frame == Window is the current CLFSWM implementation. That makes me think we should probably add a glossary page somewhere. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Sun Mar 23 01:00:23 2008 From: xma at gnu.org (Xavier Maillard) Date: Sun, 23 Mar 2008 02:00:23 +0100 Subject: [clfswm-devel] Pack/Fill/Resize in the last revision. In-Reply-To: <87od97hgn1.fsf@free.fr> (message from Philippe Brochard on Fri, 21 Mar 2008 23:11:14 +0100) References: <87od97hgn1.fsf@free.fr> Message-ID: <200803230100.m2N10MPs025661@localhost.localdomain> As said in the subject, I've reimplemented the fill/pack/resize functions in the last revision. Be sure to set a layout that doesn't handle automatically the position of its childs (ie: a no-layout is needed). Tried it but failed :) How do you set a "no-layout" ? Xavier P.S: why when replying to your posts on this list, I get a To and Cc to clfswm-devel ? Are you enforcing a reply-to header somewhere on your side ? -- http://www.gnu.org http://www.april.org http://www.lolica.org From pbrochard at common-lisp.net Sun Mar 23 07:48:45 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 23 Mar 2008 08:48:45 +0100 Subject: [clfswm-devel] User API proposition In-Reply-To: <200803230100.m2N10ds2026006@localhost.localdomain> (Xavier Maillard's message of "Sun\, 23 Mar 2008 02\:00\:43 +0100") References: <87k5juzrbo.fsf@ten.hd.free.fr> <87ve3ea19u.fsf@free.fr> <200803230100.m2N10ds2026006@localhost.localdomain> Message-ID: <87lk49ubhe.fsf@free.fr> Xavier Maillard writes: > > It is meant to be a discussion on the CLFSWM features at a user stand > > point, so feel free to correct, comment and etc. > > Cool, I've commented it. In particular I don't see the need for the > frame layer. > > I read the explanations and as far as I understand, the problem > is more about the terminology than anything else. Frame == Window > is the current CLFSWM implementation. > I think a frame is not exactly a window because in the actual clfswm you can't manage the geometry of a window. You have to use a group to do that. To resume: Actually: window -> X window (no geometry) group -> geometry + group of children Cyrille: window -> X window (no geometry) frame -> geometry + group of children group -> group of children (no geometry) Which one do you prefer? I'm for the first but open to any ideas to switch to the second. See the "Request for comments: changing the meaning of group in CLFSWM." thread. > That makes me think we should probably add a glossary page somewhere. > This will go in the front page on the clfswm website. But while the code is not stable this is delayed to a next time. Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 23 07:58:48 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 23 Mar 2008 08:58:48 +0100 Subject: [clfswm-devel] [BUG] clueless: sometimes CLFSWM won't respond In-Reply-To: <200803230100.m2N10Z8X025933@localhost.localdomain> (Xavier Maillard's message of "Sun\, 23 Mar 2008 02\:00\:36 +0100") References: <200803230100.m2N10Z8X025933@localhost.localdomain> Message-ID: <87hcexub0n.fsf@free.fr> Xavier Maillard writes: > Hi, > Hi, > I am clueless with this bug but I face it at least three times > since wednesday. > > I am pretty confident that at some point, an error is handled > somewhere and the REPL takes control of my X session but I could > not switch to the REPL so I am unsure. > > My X session does not die but I can't switch to any window/group, > I can't call the second mode as if the REPL has caught the focus. > > The only solution till now was to kill the session and restart it > again. > Please can you investigate (with some dbg for example) to see where there is a bug. One remark, to handle X errors clfswm use a with-xlib-protect macro which handle and _ignore_ X errors or warnings. Maybe this macro is too agressive and the state of the X session is weird after it. You can also tweak the with-xlib-protect macro to see what's going wrong. For example: (defmacro with-xlib-protect (&body body) "Prevent Xlib errors" `(handler-case (progn , at body) ((or xlib:match-error xlib:window-error xlib:drawable-error) (c) (dbg ',body c)))) ;; <- here Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 23 08:02:19 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 23 Mar 2008 09:02:19 +0100 Subject: [clfswm-devel] Pack/Fill/Resize in the last revision. In-Reply-To: <200803230100.m2N10MPs025661@localhost.localdomain> (Xavier Maillard's message of "Sun\, 23 Mar 2008 02\:00\:23 +0100") References: <87od97hgn1.fsf@free.fr> <200803230100.m2N10MPs025661@localhost.localdomain> Message-ID: <87d4pluaus.fsf@free.fr> Xavier Maillard writes: > As said in the subject, I've reimplemented the fill/pack/resize > functions in the last revision. > Be sure to set a layout that doesn't handle automatically the position > of its childs (ie: a no-layout is needed). > > Tried it but failed :) > Ah :( the default group handle automatically the position. > How do you set a "no-layout" ? > Second mode -> g (group menu) -> l (layout menu) -> a (no-layout) All others layout handle automatically the groups and windows geometry. > Xavier > > P.S: why when replying to your posts on this list, I get a To and > Cc to clfswm-devel ? Are you enforcing a reply-to header > somewhere on your side ? > Yes I enforce a reply-to header. I've removed it since it's done on the cl.net mailing list side. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Sun Mar 23 08:08:51 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 23 Mar 2008 09:08:51 +0100 Subject: [OT] Browsers Re: [clfswm-devel] SVN version with clisp 2.44 ? In-Reply-To: <200803230100.m2N10RmE025775@localhost.localdomain> (Xavier Maillard's message of "Sun\, 23 Mar 2008 02\:00\:27 +0100") References: <200803060100.m26102La004174@localhost.localdomain> <87k5kfmz8f.fsf@free.fr> <200803090100.m29102WC005941@localhost.localdomain> <8763vw2bqa.fsf@free.fr> <200803100100.m2A10Knq004622@localhost.localdomain> <87bq5nlzdb.fsf@free.fr> <200803120100.m2C10PUP010534@localhost.localdomain> <87r6ef7fwf.fsf@free.fr> <87od96zs65.fsf@ten.hd.free.fr> <8763vebgbp.fsf@free.fr> <200803230100.m2N10RmE025775@localhost.localdomain> Message-ID: <878x09uajw.fsf@free.fr> Xavier Maillard writes: > > If you are using firefox to browse the web, you can use Mozex > > http://mozex.mozdev.org/, so that it fires emacs or whatever editor > > you want to edit the textarea. > > > This seems to be nice but I use epiphany so I do copy/paste manually. > > Why this choice ? What does epiphany offer that would be missing > in Mozilla Firefox ? (Note I do not use firefox, I never liked it > -too bloated-. Though I am still waiting to see improvements. > Maybe one day... Currently I am sticking on nero-el or precisely > a fork of mine). > I found epiphany more responsive than firefox. It seems that gtk is more fast than xul. I have to test again konqueror but I haven't found how to really maximize it with no toolbar. I haven't found yet a web browser that convince me. I like dillo or links2 but they are sometimes limited. Same thing for all emacs browser I've tested. I'm open to any new sugestions on webbrowsers (and no Opera is _not_ a choice :) Philippe -- Philippe Brochard http://hocwp.free.fr From cl.thouvenin at laposte.net Sun Mar 23 09:48:19 2008 From: cl.thouvenin at laposte.net (Cyrille Thouvenin) Date: Sun, 23 Mar 2008 10:48:19 +0100 Subject: [clfswm-devel] Request for comments: changing the meaning of group in CLFSWM. In-Reply-To: <87myoq5o5s.fsf@free.fr> (Philippe Brochard's message of "Sun, 23 Mar 2008 00:34:07 +0100") References: <87myoq5o5s.fsf@free.fr> Message-ID: <87bq55zs7w.fsf@ten.hd.free.fr> >>>>> "PB" == Philippe Brochard writes: Hi, PB> Cyrille propose to change the meaning of groups in CLFSWM: PB> "I am trying to make a case to change the meaning of group in PB> CLFSWM. For me, group is a better word for an arbitrary PB> ensemble. In CLFSWM, groups are not so arbitrary as it is link PB> to a geometry inclusion relation. So, I would prefer to use PB> frame in that particular case as this word has a geometrical PB> sounding." PB> You can see the thread on the trac: PB> http://trac.common-lisp.net/clfswm/wiki/UserAPI PB> For actions on children with no geometry relationship (ie: PB> children in arbitrary groups) I propose a tag based system. PB> Each group have a list of tags and we can perform actions from PB> those tags. PB> And you, what is your prefered system to interact with PB> arbitrary children? PB> I'd like to have some comments before doing anything so brutal PB> on the code :) Here is a comparison I make between a tag system and this group system: Definition: - Group: - An item is a group that contains itself. A group can also be a member of another group. So we have a DAG representation. - An extension so as to have a namespace organisation: Each group has a name that must be unique in any membership it takes part to. That could be also the number in the list of member for each membership (relaxed constraint on the uniqueness). So, it is possible to identify the group thanks to a path in the DAG. There is a special group which is the root. - Tag: - Each item can hold multiple tag. So, we also have a DAG representation. - A tag is a name. A set is directly named by its tag. So, there is one namespace. Similarities: - The model behind the tag system is the same as the group system, that is a DAG; Each item can be a member of multiple set. Particularity of a tag system: - Tag are position on a item by item basis - No operation on set - Simpler to implement Particularity of the group system: - Problem with group containing itself: This constraint must be enforced. - With path, multiple namespace can be represented. Need for a current group a la "cd" (the Unix command) to ease navigation. - Set operation (inclusion). A whole group of item can become member of group and if an item is added to the first group, it become automaticaly member of the second group. While performing a new membership, the uniqueness of the name must be enforced. - More features, but more complexity in the implementation. Finally, if you have a group system, you have a tag system: In a group system, you could have the groups that are a direct children of the root group. Those child groups are the tag. Feel free to comment, Cheers, -- Cyrille From xma at gnu.org Mon Mar 24 01:00:09 2008 From: xma at gnu.org (Xavier Maillard) Date: Mon, 24 Mar 2008 02:00:09 +0100 Subject: [clfswm-devel] [FEATURE REQUEST] CLFSWM equivalent to emacs C-h k ? In-Reply-To: (message from Matthieu Moy on Fri, 14 Mar 2008 23:04:57 +0100) References: <200803110100.m2B10NRp007071@localhost.localdomain> <873aqx32u7.fsf@free.fr> <200803120100.m2C107Y0010501@localhost.localdomain> <87od9jyi7o.fsf@free.fr> <200803140100.m2E10AOB004674@localhost.localdomain> <877ig5ugid.fsf@free.fr> Message-ID: <200803240100.m2O109rC027186@localhost.localdomain> >> All must works now. >> >> Almost all :) In fact, I can trigger the 'i' menu entry *but* I >> can't leave it now. Typing 'q' as usual won't do anything useful >> than describing what the 'q' key is and does :) >> > Ah? It works here. Can you invest a little more? He he ... to invest = investir to investigate = enqu?ter Right. Concerning the problem above mentionned, it went away with recent pulls so do not care anymore. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From Matthieu.Moy at imag.fr Tue Mar 25 09:12:15 2008 From: Matthieu.Moy at imag.fr (Matthieu Moy) Date: Tue, 25 Mar 2008 10:12:15 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: <200803220100.m2M10CZQ030045@localhost.localdomain> (Xavier Maillard's message of "Sat\, 22 Mar 2008 02\:00\:12 +0100") References: <200803180100.m2I109fW026227@localhost.localdomain> <200803220100.m2M10CZQ030045@localhost.localdomain> Message-ID: Xavier Maillard writes: > diff = auto > > This configuration variable just makes my git diff usage horrid. > I get a lot of escape sequences instead of the colours I expect > to see. What's wrong ? What should I check ? Which terminal ? echo "$LESS" ? (I have LESS=FRSX and it works for me) -- Matthieu From pbrochard at common-lisp.net Tue Mar 25 22:23:19 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Tue, 25 Mar 2008 23:23:19 +0100 Subject: [clfswm-devel] Request for comments: changing the meaning of group in CLFSWM. In-Reply-To: <87bq55zs7w.fsf@ten.hd.free.fr> (Cyrille Thouvenin's message of "Sun\, 23 Mar 2008 10\:48\:19 +0100") References: <87myoq5o5s.fsf@free.fr> <87bq55zs7w.fsf@ten.hd.free.fr> Message-ID: <87iqzajve0.fsf@free.fr> Cyrille Thouvenin writes: >>>>>> "PB" == Philippe Brochard writes: > Hi, > > PB> Cyrille propose to change the meaning of groups in CLFSWM: > > PB> "I am trying to make a case to change the meaning of group in > PB> CLFSWM. For me, group is a better word for an arbitrary > PB> ensemble. In CLFSWM, groups are not so arbitrary as it is link > PB> to a geometry inclusion relation. So, I would prefer to use > PB> frame in that particular case as this word has a geometrical > PB> sounding." > > PB> You can see the thread on the trac: > PB> http://trac.common-lisp.net/clfswm/wiki/UserAPI > > PB> For actions on children with no geometry relationship (ie: > PB> children in arbitrary groups) I propose a tag based system. > PB> Each group have a list of tags and we can perform actions from > PB> those tags. > > PB> And you, what is your prefered system to interact with > PB> arbitrary children? > > PB> I'd like to have some comments before doing anything so brutal > PB> on the code :) > > Here is a comparison I make between a tag system and this group system: > > Definition: > - Group: > - An item is a group that contains itself. A group can also be a > member of another group. So we have a DAG representation. > - An extension so as to have a namespace organisation: Each group > has a name that must be unique in any membership it takes part > to. That could be also the number in the list of member for each > membership (relaxed constraint on the uniqueness). So, it is > possible to identify the group thanks to a path in the DAG. There > is a special group which is the root. > - Tag: > - Each item can hold multiple tag. So, we also have a DAG > representation. > - A tag is a name. A set is directly named by its tag. So, there is > one namespace. > > Similarities: > - The model behind the tag system is the same as the group system, > that is a DAG; Each item can be a member of multiple set. > > Particularity of a tag system: > - Tag are position on a item by item basis > - No operation on set > - Simpler to implement > > Particularity of the group system: > - Problem with group containing itself: This constraint must be enforced. > - With path, multiple namespace can be represented. Need for a current > group a la "cd" (the Unix command) to ease navigation. > - Set operation (inclusion). A whole group of item can become member > of group and if an item is added to the first group, it become > automaticaly member of the second group. While performing a > new membership, the uniqueness of the name must be enforced. > - More features, but more complexity in the implementation. > > Finally, if you have a group system, you have a tag system: In a group > system, you could have the groups that are a direct children of the > root group. Those child groups are the tag. > > Feel free to comment, > Ok, nice comparision. But what do you want to do with groups (your definition) in the window manager? In all cases, I think frame is a better name. And it follow the naming from stumpwm or ion. So I'll rename all group in frame in the clfswm code (thanks tag-query-replace :) For a particular implementation of groups or tags, I let you free to do what you want. Just place your code in contrib/. For example, the tags system is nearlly already there because as I can't think to all possibilities with groups (hmm, frames) each frame has a frame-data slot for arbitrary storage. A pseudo-code may look like this: -------------------------------------------------- (defun add-tag (tag frame) (setf (frame-data-slot frame :tags) (append (frame-data-slot frame :tags) (list tag)))) (defun remove-tag (tag frame) (setf (frame-data-slot frame :tags) (remove tag (frame-data-slot frame :tags)))) (defun action-from-tag (tag root fn-action) (with-all-frames (root frame) (when (member tag (frame-data-slot frame :tags)) (funcall fn-action frame)))) * And here a function to graphically define a tag for a frame (with query-input or something like this) * -------------------------------------------------- Maybe I'll put this in the contrib directory. For now I stay with windows and frames only. But maybe the need for groups will pop up soon :) Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From pbrochard at common-lisp.net Tue Mar 25 23:22:46 2008 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 26 Mar 2008 00:22:46 +0100 Subject: [clfswm-devel] Re: Rename Group -> Frame [was: changing the meaning of group in CLFSWM.] In-Reply-To: <87iqzajve0.fsf@free.fr> (Philippe Brochard's message of "Tue\, 25 Mar 2008 23\:23\:19 +0100") References: <87myoq5o5s.fsf@free.fr> <87bq55zs7w.fsf@ten.hd.free.fr> <87iqzajve0.fsf@free.fr> Message-ID: <87ve3a75ix.fsf_-_@free.fr> Hi, I've renamed 'group' to 'frame'. And 'childs' to 'children'. So feel free to use the 'group' term as you like. BTW, the wiki needs to be updated. And maybe this change will break your configuration file. Just change 'group' -> 'frame' and 'childs' -> 'children'. Regards, Philippe -- Philippe Brochard http://hocwp.free.fr From xma at gnu.org Wed Mar 26 01:00:59 2008 From: xma at gnu.org (Xavier Maillard) Date: Wed, 26 Mar 2008 02:00:59 +0100 Subject: [clfswm-devel] git: exclude patter for clfswm In-Reply-To: (message from Matthieu Moy on Tue, 25 Mar 2008 10:12:15 +0100) References: <200803180100.m2I109fW026227@localhost.localdomain> <200803220100.m2M10CZQ030045@localhost.localdomain> Message-ID: <200803260100.m2Q10tbr005186@localhost.localdomain> Xavier Maillard writes: > diff = auto > > This configuration variable just makes my git diff usage horrid. > I get a lot of escape sequences instead of the colours I expect > to see. What's wrong ? What should I check ? Which terminal ? I am using it in a normal xterm echo "$LESS" -M (I have LESS=FRSX and it works for me) With LESS=FRSX, it works perfectly ! Thank you. So now the question is: is this a bug ? :) I will ask on the git mailing list. Regards Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org From xma at gnu.org Thu Mar 27 01:00:05 2008 From: xma at gnu.org (Xavier Maillard) Date: Thu, 27 Mar 2008 02:00:05 +0100 Subject: [clfswm-devel] [torvalds@linux-foundation.org: Re: git diff odds] Message-ID: <200803270100.m2R1048t003822@localhost.localdomain> For your informations, here is the answer by Linus concerning my git diff problem. Regards, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org -------------- next part -------------- An embedded message was scrubbed... From: Linus Torvalds Subject: Re: git diff odds Date: Tue, 25 Mar 2008 19:19:36 -0700 (PDT) Size: 1151 URL: