[racket-users] debug on letrec

2015-06-10 Thread Jos Koot
#lang racket (letrec ((a 1) (b (add1 a))) (list a b)) Runs fine in DrRacket, but with debug gives me two times a warning window as follows: b: undefined; cannot use before initialization context...: loop C:\Program Files\Racket-6.2.900.3\share\pkgs\drracket\gui-debugger\marks.rkt:110:2

Re: [racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-10 Thread Michael Titke
On 10/06/2015 12:33, Michael Titke wrote: I changed from one OS to another and I was missing a simple feature: automatic password generation. To fill the gap with a Scheme I implemented such a generator as a command line tool respectively /crypto sweet/. After having read /SRFI 27: Sources of

[racket-users] System Scheme (RnRS): Shared Secret Generator

2015-06-10 Thread Michael Titke
I changed from one OS to another and I was missing a simple feature: automatic password generation. To fill the gap with a Scheme I implemented such a generator as a command line tool respectively /crypto sweet/. After having read /SRFI 27: Sources of Random Bits/ I decided to implement my al

Re: [racket-users] Racket/gui : assign a keyboard shortcut to a button%

2015-06-10 Thread Laurent
Maybe you can derive a class my-list-box% from list-box% and catch the `on-subwindow-char` event: http://docs.racket-lang.org/gui/window___.html#%28meth._%28%28%28lib._mred%2Fmain..rkt%29._window~3c~25~3e%29._on-subwindow-char%29%29 and then manually trigger the same callback as the button (it's b

[racket-users] Racket/gui : assign a keyboard shortcut to a button%

2015-06-10 Thread mazert
Hello, I know we can assign a keyboard shortcut on a menu%, but I try to do the same thing with a button%. Is that possible ? In my case : I have a list-box% and a "Delete button", I want that when I press "DEL" key on my keyboard, it deletes the selected item in the list-box%. Thanks in a

[racket-users] Re: racket/gui : How to do not get n elements in the desktop taskbar when opening n frame%

2015-06-10 Thread mazert
Le 03/06/2015 21:16, Laurent a écrit : That may depend on the OS and the window manager, but you can try to set the parent of all frames (except the first) to the first frame you create. Yes, that works. If I have a main frame, the second window I want to create, must be a dialog% with the "mai