From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: backtick as key Date: Thu, 28 Apr 2016 15:05:41 +0000 Message-ID: References: <5721D7D8.2090703@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1461855978 29781 80.91.229.3 (28 Apr 2016 15:06:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 15:06:18 +0000 (UTC) To: =?UTF-8?Q?Andreas_R=C3=B6hler?= , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 17:06:18 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1avnWC-0004XR-Qa for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 17:06:16 +0200 Original-Received: from localhost ([::1]:49590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avnW8-0006Ep-UU for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 11:06:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avnVr-00065h-HV for help-gnu-emacs@gnu.org; Thu, 28 Apr 2016 11:06:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avnVn-0001Z2-7s for help-gnu-emacs@gnu.org; Thu, 28 Apr 2016 11:05:55 -0400 Original-Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:34041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avnVn-0001Yp-19 for help-gnu-emacs@gnu.org; Thu, 28 Apr 2016 11:05:51 -0400 Original-Received: by mail-ob0-x236.google.com with SMTP id bg3so40296360obb.1 for ; Thu, 28 Apr 2016 08:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Id00cG3q5tQLRXsMlCYmg15CpEdfmVNyNC44HiStJ3A=; b=g3s2tPI2oVnt7oN2fP6YGh9SIUqPbTfMMZgkV9eBE84aSO6bw28hD9Uj/pKaBW+F1C Th8T0oc6zeuNnkVURPazRYnwzWjnz3sEuHN5P5YNfnGQxEOvTbxEAjDy0uL1+l7ylglz G3SVzUmC2dCE+zGAbSbz2vNrABGVUBGDColHzcsJ7ChbaNMFaU6AHbAWlGByQOGJ9SKK LUlhf6wFXhzVE1WH2eMHRJ1okOA2+7ml7fZKl1fRM+hh2ESZp6N8hTvIBS0tsP25C/n8 PF8YDM4tgWmlWrd7T86N57W1UBFJLuRIJUULAtgSgTpARBy3Pq6sQZSvdX94DveWodse /KNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Id00cG3q5tQLRXsMlCYmg15CpEdfmVNyNC44HiStJ3A=; b=GIs0k3TJMjyto1YHRY6Zt5qL527hkdvXJ6Q579cvWIBf6o4Rk52p+Zf/6jzBxRnhDv VyiBKpxOwQyWZJo6ZSnVc9lNFT1denuOzwyRHbsn4huI86AaNuiFjw/bVO8Km7iT1J2E xxsZbmEmvFGLNgH0bR5yRyWIaMpdLZZ6sHOLDy4H/lCkh40nxrFlZBtn3iQs6k4ppMUn znYynlhkxzSgwq7x/kTanzPmJvfqY8DVHKaQuWpnx8wNsn6Ljcd3U8BtrTRy8DOMDQQt VbNuEi7MSisTSrkOhYoFJH6HKQps+xTUrqEvgBDoYWltg3wnkGwpRtzROk2FnKkddrGa 9tcQ== X-Gm-Message-State: AOPr4FU3NNgOSfxIquZ0Btb3VP/zuPx+xSQVXzm6HAEfF87S7A58eFPwMdhQ4HhdY9okh89EUZLVYGHEMHv7Bw== X-Received: by 10.182.224.137 with SMTP id rc9mr4690016obc.39.1461855950558; Thu, 28 Apr 2016 08:05:50 -0700 (PDT) In-Reply-To: <5721D7D8.2090703@easy-emacs.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109817 Archived-At: Are you running "emacs -nw", or emacs GUI? I evaluated the below: (global-set-key (kbd "C-` C-}") (lambda() (interactive) (message "Hi"))) and it works fine. C-h c C-` C-} prints C-` C-} runs the command (lambda nil (interactive) (message "Hi")) and typing C-` C-} displays Hi in the echo area. On the latest build of emacs from emacs-25, in terminal mode (emacs -Q -nw), C-` seems to be detected as C-@ which is bound to set-mark-command by default. So probably we cannot use C-` in terminal mode? On Thu, Apr 28, 2016 at 5:26 AM Andreas R=C3=B6hler < andreas.roehler@easy-emacs.de> wrote: > Hi, > > wrote a couple of commands which transform delimited forms. > For the curious: > > https://github.com/andreas-roehler/werkstatt/blob/master/thing-at-point-u= tils/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: > > is undefined > C-} is undefined > > While when running the command via M-x, messages: > > You can run the command =E2=80=98ar-backticked2braced-atpt=E2=80=99 with = C-` C-} > > Any suggestions? > > Thanks, > > Andreas > > > -- --=20 Kaushal Modi