unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: backtick as key
Date: Thu, 28 Apr 2016 11:28:56 +0200	[thread overview]
Message-ID: <5721D7D8.2090703@easy-emacs.de> (raw)

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	other threads:[~2016-04-28  9:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-28  9:28 Andreas Röhler [this message]
2016-04-28 15:05 ` backtick as key Kaushal Modi
2016-04-28 15:18   ` Andreas Röhler
2016-04-28 15:21     ` Kaushal Modi
2016-04-28 15:20 ` Yuri Khan
2016-04-28 19:10   ` Andreas Röhler
     [not found] <mailman.1240.1461835581.7477.help-gnu-emacs@gnu.org>
2016-04-28 10:12 ` Marco Wahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5721D7D8.2090703@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).