From zedek at gnu-rox.org Sun Dec 11 08:58:43 2005 From: zedek at gnu-rox.org (Xavier Maillard) Date: Sun, 11 Dec 2005 09:58:43 +0100 Subject: [eclipse-devel] CMU CL and connection to port 6789 Message-ID: Hello, I decided to use eclipse again for the fun of it and to make a demo to public showing them its possibilities. I want to know what is the way to use to enter commands on port 6789. I tried but it fails for me. Can you show me how I should do it through CMUCL?? Thank you. Xavier From hatchond at yahoo.fr Sun Dec 11 14:50:32 2005 From: hatchond at yahoo.fr (Iban HATCHONDO) Date: Sun, 11 Dec 2005 15:50:32 +0100 (CET) Subject: [eclipse-devel] CMU CL and connection to port 6789 In-Reply-To: Message-ID: <20051211145032.44980.qmail@web25515.mail.ukl.yahoo.com> --- Xavier Maillard a ?crit : > Hello, > > I decided to use eclipse again for the fun of it and > to > make a demo to public showing them its > possibilities. > > I want to know what is the way to use to enter > commands > on port 6789. > > I tried but it fails for me. > > Can you show me how I should do it through CMUCL ? You need to have the the 'mp' package (but is usually built-in with cmucl). Then, with emacs, for instance, do a telnet 6789 passwd: "clara" [double quotes included !] You should know be dropped in lisp shell (in the common-lisp-user package) where all the eclipse objects and definitions are available. Don't (quit) this session. Kill it. Because if you quit it using ext:quit then the lisp listener will be exited as well, and thus eclipse won't be telnet-able anymore. Happy hacking. Iban. ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com From zedek at gnu-rox.org Mon Dec 12 18:16:19 2005 From: zedek at gnu-rox.org (Xavier Maillard) Date: Mon, 12 Dec 2005 19:16:19 +0100 Subject: [eclipse-devel] CMU CL and connection to port 6789 In-Reply-To: <20051211145032.44980.qmail@web25515.mail.ukl.yahoo.com> (message from Iban HATCHONDO on Sun, 11 Dec 2005 15:50:32 +0100 (CET)) References: <20051211145032.44980.qmail@web25515.mail.ukl.yahoo.com> Message-ID: From: Iban HATCHONDO > Can you show me how I should do it through CMUCL ? You need to have the the 'mp' package (but is usually built-in with cmucl). Then, with emacs, for instance, do a telnet 6789 passwd: "clara" [double quotes included !] Argh I am feeling so stupid.... You should know be dropped in lisp shell (in the common-lisp-user package) where all the eclipse objects and definitions are available. Great, I can now control all my wm from Emacs prompt. Happy hacking. Do you have any fun stuff to show as a demo using Eclipse?? Thank you. Xavier From zedek at gnu.org Fri Dec 23 21:54:31 2005 From: zedek at gnu.org (Xavier Maillard) Date: Fri, 23 Dec 2005 22:54:31 +0100 Subject: [eclipse-devel] Right-click Message-ID: Hello, I am trying to find out how I can bind a program to the right-click. The program in question is apwal[1]. Thank you in advance. Xavier [1] http://apwal.free.fr From matley at member.fsf.org Mon Dec 26 22:42:30 2005 From: matley at member.fsf.org (Luigi Panzeri) Date: Mon, 26 Dec 2005 23:42:30 +0100 Subject: [eclipse-devel] About resize Message-ID: <87irtbtr8p.fsf@matley.muppetslab.org> I started using eclipse from few days and my aim is to get a configuration such that i have a tiled wm behaviour (ala ratpoison) only in a screen and for some applications. In order to do that i have to be able to resize windows, and maybe my xlib knowledge is too coarse yet to do that. How can i resize windows in a non-interactively way? Thank you and happy new year P.S. i put here some tools that i have in my config that can be useful to others ;;; define key combos to start an app, or to raise it if already ;;; started (defun defcombo-to-select-application (name &key keys modifiers class cmd args) (register-callback name (action (:press (select class cmd args)) ())) (define-key-combo name :keys keys :modifiers modifiers)) ;;; e.g. (defcombo-to-select-application :xterm :keys '(:X) :modifiers '(:SUPER-LEFT) :class "xterm" :cmd "xterm" :args '("-e" "screen")) ;;; get the trace-output with slime ; (setf swank::*current-trace-output* *standard-output*) (defun list-applications () (loop for app being the hash-value of *widget-table* when (typep app 'application) collect app)) (defmacro aif (test truecase elsecase) `(let ((it ,test)) (if it ,truecase ,elsecase))) (defun select (class-name cmd arguments) (aif (find class-name (list-applications) :test #'string-equal :key #'application-class-name) (progn (change-vscreen *root* :n (window-desktop-num (widget-window it))) (put-on-top it)) (%run-program% cmd arguments))) -- Luigi Panzeri aka Matley Chiave pubblica su http://www.imati.cnr.it/~panzeri/matley.asc Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film Evaluate Lisp: http://lisp.tech.coop/Evaluate%20Lisp From matley at member.fsf.org Tue Dec 27 20:35:03 2005 From: matley at member.fsf.org (Luigi Panzeri) Date: Tue, 27 Dec 2005 21:35:03 +0100 Subject: [eclipse-devel] About resize In-Reply-To: <87irtbtr8p.fsf@matley.muppetslab.org> (Luigi Panzeri's message of "Mon, 26 Dec 2005 23:42:30 +0100") References: <87irtbtr8p.fsf@matley.muppetslab.org> Message-ID: <87hd8u1doo.fsf@matley.muppetslab.org> i found the protocol to do resize in misc.lisp. Sorry for the noise. Now i have all what i need to customize eclipse to do what i want. -- Luigi Panzeri aka Matley Chiave pubblica su http://www.imati.cnr.it/~panzeri/matley.asc Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film Evaluate Lisp: http://lisp.tech.coop/Evaluate%20Lisp From zedek at gnu.org Tue Dec 27 22:42:58 2005 From: zedek at gnu.org (Xavier Maillard) Date: Tue, 27 Dec 2005 23:42:58 +0100 Subject: [eclipse-devel] About resize In-Reply-To: <87hd8u1doo.fsf@matley.muppetslab.org> (message from Luigi Panzeri on Tue, 27 Dec 2005 21:35:03 +0100) References: <87irtbtr8p.fsf@matley.muppetslab.org> <87hd8u1doo.fsf@matley.muppetslab.org> Message-ID: From: Luigi Panzeri i found the protocol to do resize in misc.lisp. Sorry for the noise. Now i have all what i need to customize eclipse to do what i want. Would you mind posting it here please ? :) I am also interested in doing this here. Thank you in advance. Xavier From luca at pca.it Thu Dec 29 18:08:37 2005 From: luca at pca.it (Luca Capello) Date: Thu, 29 Dec 2005 19:08:37 +0100 Subject: [eclipse-devel] Implementing Ratpoison's keybindings Message-ID: <87vex7n5cq.fsf@gismo.pca.it> Hello, I'm new to this list, so hello all! I recently switched to Eclipse from Ratpoison, but I'm missing two things: a tiled behavior for some programs (like Emacs) and commands activated by a specific escape key. While the former is being worked on by Matley (see post [1]), I'd like to (try to) implement the latter. For those who don't know Ratpoison [2] (and the Common Lisp clone StumpWM [3]): in these WM, you aren't supposed to use a mouse and every command is prefixed with an escape key (by default C-t), followed by another key or a key-combo. And this is exactly what I'd like to have on Eclipse. The problem is that AFAIK Eclipse doesn't accept a serial key-combo, like C-t t. Please correct me if I'm wrong. I thought about different ways to implement this and I'd like some comments about them. 1) Define a new escape-modifier key and a define-escape-combo function: every time you press the escape-modifier, it waits for another key-combo (and C-g stands for "abort", as in Emacs, Ratpoison and StumpWM). Off by default, this option can be activated in the ~/.eclipse as a variable use-ratpoison (or similar). Some Ratpoison's default key-combos will be offered, thus letting Eclipse to be a complete Common Lisp Ratpoison substitute (when Matley will have finished the tiled windows support). 2) Modify the key-input layer and add the serial key-combo support. While the second solution seems the less invasive, I prefer the first one and I started to implement it before stopping and asking myself if there were better solutions. Which one is The Right Thing (TM)? :-) BTW, I'm a lisper newbie, so don't expect bug-free code. Thx, bye, Gismo / Luca [1] http://common-lisp.net/pipermail/eclipse-devel/2005-December/000112.html [2] http://www.nongnu.org/ratpoison/ [3] http://www.nongnu.org/stumpwm/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: