unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jai Dayal <dayalsoap@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: binding f12
Date: Thu, 26 Jul 2012 16:28:52 -0600	[thread overview]
Message-ID: <CAMJ-YiSpHY3JVg--Ozb4Rh3185SBxtz9U42Nhr58fwo9LEWuyA@mail.gmail.com> (raw)
In-Reply-To: <F56690EF-4D5B-424E-9ECA-6715F5CB807D@Web.DE>

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

Hi,
  I now tried
(global-set-key [f12] 'compile)

and it still says it's undefined.

On Thu, Jul 26, 2012 at 4:27 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

>
> Am 27.07.2012 um 00:11 schrieb Jai Dayal:
>
> > (global-set-key "f12" 'compile)
>
> I think it has to be
>
>         [f12]
>
> a vector and a string.
>
> You can bind the key manually first. When you succeeded you can repeat the
> last command (C-x ESC ESC) and, if necessary, you go back in history with
> the cursor keys. Then you'll see what the syntax has to be. And you can
> copy that command and insert it in your init file…
>
> --
> Greetings
>
>   Pete
>
> Increase the size of your bike by at least *five* inches!
>
>

[-- Attachment #2: Type: text/html, Size: 1064 bytes --]

  reply	other threads:[~2012-07-26 22:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-26 22:11 binding f12 Jai Dayal
2012-07-26 22:27 ` Peter Dyballa
2012-07-26 22:28   ` Jai Dayal [this message]
2012-07-26 22:30     ` Peter Dyballa
2012-07-26 22:33       ` Jai Dayal
2012-07-26 22:39         ` Peter Dyballa
2012-07-26 22:47           ` Jai Dayal
2012-07-26 23:02             ` Peter Dyballa
     [not found]       ` <CAMJ-YiQ-aXvnsX3pPp0OfVR2Nwn6A=LrbfjUjMoYtZtpyxv5WQ@mail.gmail.com>
2012-07-26 22:35         ` Peter Dyballa
2012-07-26 22:49 ` Jeremiah Dodds
2012-07-26 22:52   ` Jai Dayal
2012-07-26 22:59     ` Jai Dayal
2012-07-26 23:05       ` Peter Dyballa

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=CAMJ-YiSpHY3JVg--Ozb4Rh3185SBxtz9U42Nhr58fwo9LEWuyA@mail.gmail.com \
    --to=dayalsoap@gmail.com \
    --cc=Peter_Dyballa@web.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).