help-gnu-emacs
[Top][All Lists]
Advanced

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

backtick as key


From: Andreas Röhler
Subject: backtick as key
Date: Thu, 28 Apr 2016 11:28:56 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.5.0

Hi,

wrote a couple of commands which transform delimited forms.
For the curious:
https://github.com/andreas-roehler/werkstatt/blob/master/thing-at-point-utils/thingatpt-transform-delimited.el

For example at

`find .  -maxdepth 1 -type f -name "*.txt"`

M-x ar-backticked2braced-atpt RET

would yield

{find .  -maxdepth 1 -type f -name "*.txt"}

Now let's have some mnemonic keys.

(global-set-key [(control \))(control \})] 'ar-parentized2braced-atpt)

works great.

Unfortunately

(global-set-key [(control \`)(control \})] 'ar-backticked2braced-atpt)

sends error:

<C-dead-grave> is undefined
C-} is undefined

While when running the command via M-x, messages:

You can run the command ‘ar-backticked2braced-atpt’ with C-` C-}

Any suggestions?

Thanks,

Andreas




reply via email to

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