Lisp HUG Maillist Archive

#\Control-\Space

I'm trying to compile http://lisp.ystok.ru/ygrid/ because I need a grid widget for my trading software.

I'm getting the error "Wrong character name: CONTROL-SPACE" on the following code

(defparameter *completion-gesture* #\Control-\Space)

My understanding is that it used to compile in LW 6.x.

What changed and is there a way to make it work?

    Thank you, Joel
___
http://stegos.com
Reject surveillance — embrace your freedom!



_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: #\Control-\Space

It appears that one could specify CAPI gesture specs as #\Ctrl-Space and the like in early versions of Lispworks.

These can be specified as strings or coerced to gesture specs nowadays, e.g.

CL-USER 21 > (sys:print-pretty-gesture-spec (sys:coerce-to-gesture-spec "accelerator-ctrl-x") *debug-io*)
Ctrl-Accelerator-x
#S(SYSTEM::GESTURE-SPEC :DATA 120 :MODIFIERS 34)


___
http://stegos.com
Reject surveillance — embrace your freedom!

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, April 17, 2020 5:10 PM, Joel Reymont <joel@stegos.com> wrote:

> I'm trying to compile http://lisp.ystok.ru/ygrid/ because I need a grid widget for my trading software.
>
> I'm getting the error "Wrong character name: CONTROL-SPACE" on the following code
>
> (defparameter completion-gesture #\Control-\Space)
>
> My understanding is that it used to compile in LW 6.x.
>
> What changed and is there a way to make it work?
>
> Thank you, Joel
>
> http://stegos.com
> Reject surveillance — embrace your freedom!
>
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html



_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: #\Control-\Space



On 17 Apr 2020, at 16:10, Joel Reymont <joel@stegos.com> wrote:

I'm trying to compile http://lisp.ystok.ru/ygrid/ because I need a grid widget for my trading software.

I'm getting the error "Wrong character name: CONTROL-SPACE" on the following code

C-SPC is usually bound to ASCII NUL.  #\Nul perhaps?

Perhaps you are mixing gestures with characters?


(defparameter *completion-gesture* #\Control-\Space)

My understanding is that it used to compile in LW 6.x.

What changed and is there a way to make it work?

   Thank you, Joel
___
http://stegos.com
Reject surveillance — embrace your freedom!



_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

-- 
__Pascal J. Bourguignon__




Updated at: 2020-12-10 08:28 UTC