denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: putting it all together was scheme custom keymap


From: aaron mehl
Subject: Re: putting it all together was scheme custom keymap
Date: Thu, 17 Sep 2020 19:16:34 -0400

Help,
could you look at this script and tell me what I did wrong, since only two shortcuts work for me.
thanks,
Aaron

Sent from EE5B5A2A-D6C3-4D4B-A0C3-40B403130692@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=ZGVuZW1vLWRldmVsQGdudS5vcmc%3D">Mailspring, the best free email app for work
On Sep 17 2020, at 7:17 am, Richard Shann <richard@rshann.plus.com> wrote:
One thing - I just noticed in a file you sent:

(d-AddKeybinding "hardcodedA" <shift,a>)

I'm afraid I've mislead you here - putting < > round something is a
common convention meaning "the thing of that name", in this case what
you would want is

(d-AddKeybinding "hardcodedA" "A")

where "A" is the name of the keypress Shift-a enclosed in double
quotes. That is, the first field is the name of the command, enclosed
in double quotes and the second is the name of the short cut, enclosed
in double quotes.

Richard


On Thu, 2020-09-17 at 06:16 -0400, aaron mehl wrote:
>
>
> Sent from Mailspring, the best free email app for work
> On Sep 17 2020, at 4:01 am, Richard Shann <richard@rshann.plus.com>
> wrote:
> On Wed, 2020-09-16 at 20:47 -0400, aaron mehl wrote:
> > Hi again I am posting the hard-code-mode, which isn't working
> > correctly. I added a shortcut in command center rr and it got
> > invoked.
> > I think probably control should be cntrl?
> > shift?
>
>
>
> what do you mean by "list" a command?
> In the scheme script I have a list of commands one for each hard
> coded note.
> when I tested my script the short cut I gave for the letter 's'
> didn't work so I was trying to debug it. When looking at the script I
> forinstance used a comma for a two key shortcut and I see from your
> response I should have used a '+ ' sign. Also I want to make sure
> that my shortcuts replace the default ones. 
> We also mentioned another script that leave the hard-code-mode which
> will be next after I debug.
> Aaron
>
> Richard
Sent from Mailspring

Attachment: hard-code-mode.scm
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]