From pbrochard at common-lisp.net Fri Apr 4 23:56:45 2014 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 05 Apr 2014 01:56:45 +0200 Subject: [Clfswm-devel] Hidden features In-Reply-To: <87txagvy0o.fsf@zahikel.casenave.fr> ("Renaud \=\?iso-8859-1\?Q\?Casenave-P\=E9r\=E9\=22's\?\= message of "Sun, 30 Mar 2014 18:25:27 +0900") References: <87txaizzqk.fsf@sandalphon.casenave.fr> <87wqfcy7a6.fsf@common-lisp.net> <87txagvy0o.fsf@zahikel.casenave.fr> Message-ID: <87sipstzr6.fsf@common-lisp.net> Renaud Casenave-P?r? a ?crit : > Hi, > > On Sun, Mar 30 2014, Philippe Brochard wrote: > >> As the documentation says, this function "remove the current child from >> its parent frame". It is supposed to be used when you have copied the >> current child in more than one frame. This is useful when you want >> multiple view of a child (for example, with a layout per frame and the >> same children reorganized in each). >> But there is no guard: if you remove the last view of the child, you'll >> have no way to retrieve it. >> Maybe we must add this guard to prevent to remove the last instance of a >> child. Tell me if you think so. > > I see? Thanks for the explanation. > > You could indeed foolproof this feature by preventing deletion of the > last child or you could put it in the list of hidden children (or another list) > to let the user retrieve it if removed by error, but this would be quite similar > to the "hide current child" feature? > I have added a menu binding to retrieve deleted windows second-mode -> child menu (c) -> retrieve existing windows (R). This way we can remove any frame or windows and we have the ability to retrieve windows. But frames have to be recreated. Hope this is sufficient. If not, we need a little bit more code to prevent the deletion of any last child present in the removed frame. But this is relatively easy. Regards, Philippe From pbrochard at common-lisp.net Sat Apr 5 21:25:43 2014 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 05 Apr 2014 23:25:43 +0200 Subject: [Clfswm-devel] Hidden features In-Reply-To: <87sipstzr6.fsf@common-lisp.net> (Philippe Brochard's message of "Sat, 05 Apr 2014 01:56:45 +0200") References: <87txaizzqk.fsf@sandalphon.casenave.fr> <87wqfcy7a6.fsf@common-lisp.net> <87txagvy0o.fsf@zahikel.casenave.fr> <87sipstzr6.fsf@common-lisp.net> Message-ID: <874n27piy0.fsf@common-lisp.net> Philippe Brochard writes: [...] >> You could indeed foolproof this feature by preventing deletion of the >> last child or you could put it in the list of hidden children (or another list) >> to let the user retrieve it if removed by error, but this would be quite similar >> to the "hide current child" feature? >> > I have added a menu binding to retrieve deleted windows > second-mode -> child menu (c) -> retrieve existing windows (R). > > This way we can remove any frame or windows and we have the ability to > retrieve windows. But frames have to be recreated. > > Hope this is sufficient. If not, we need a little bit more code to > prevent the deletion of any last child present in the removed frame. > But this is relatively easy. > I have also added the feature to not remove a child if it has a last child in it. Regards, Philippe From ebellani at gmail.com Fri Apr 18 14:14:17 2014 From: ebellani at gmail.com (Eduardo Bellani) Date: Fri, 18 Apr 2014 11:14:17 -0300 Subject: [Clfswm-devel] Dead keys in REPL Message-ID: <53513339.6050706@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello. I'm trying to use the REPL that comes along with CLFSWM, but I'm finding that: * I can't figure out how to paste text in it. * I can't type dead keys in it. Because of that, I cannot for my life eval this line: (undefine-main-key ("b" :mod-1)) ;; Frees it for emacs backward-word Can somebody shed some light on this? Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlNRMzgACgkQSbLl0kCTjGlloQCcDlnMRYH7XTMHaP5NMjXV3IMf B3sAn2XHlzB1QvDHHy9+YvpXMRIwBsi+ =//WC -----END PGP SIGNATURE----- From pbrochard at common-lisp.net Fri Apr 18 23:46:32 2014 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 19 Apr 2014 01:46:32 +0200 Subject: [Clfswm-devel] Dead keys in REPL In-Reply-To: <53513339.6050706@gmail.com> (Eduardo Bellani's message of "Fri, 18 Apr 2014 11:14:17 -0300") References: <53513339.6050706@gmail.com> Message-ID: <87sipatd47.fsf@common-lisp.net> Eduardo Bellani writes: > Hello. > Hello, > I'm trying to use the REPL that comes along with CLFSWM, but I'm > finding that: > > * I can't figure out how to paste text in it. > This is not implemented yet. > * I can't type dead keys in it. > CLFSWM doesn't support unicode and is limited to standard characters (a limited set of 96 characters). > Because of that, I cannot for my life eval this line: > > (undefine-main-key ("b" :mod-1)) ;; Frees it for emacs backward-word > > Can somebody shed some light on this? > I think this line had to be in your configuration file. Something like this: -------------------------------------------------- (defun local-binding () (undefine-main-key ("b" :mod-1))) ;; Frees it for emacs backward-word (add-hook *binding-hook* 'local-binding) -------------------------------------------------- > Thanks. > Cheer, Philippe