unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jeremiah Dodds <jeremiah.dodds@gmail.com>
To: Jai Dayal <dayalsoap@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: binding f12
Date: Thu, 26 Jul 2012 18:49:43 -0400	[thread overview]
Message-ID: <87pq7im92w.fsf@friendface.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <CAMJ-YiTzYfeMqSxzGQdAmpXjGHjvF9-4MjY-nGfUam-p0SvBkA@mail.gmail.com> (Jai Dayal's message of "Thu, 26 Jul 2012 16:11:38 -0600")

Jai Dayal <dayalsoap@gmail.com> writes:

> Hi, I'm trying to bind f12 to compile. In my .emacs file, i do
>
> (global-set-key "f12" 'compile)
>
> however, every time I press f12, it says <f12> is undefined
>
> How do I specify f keys for global-set-key in the .emacs file?
>
> Jai
>
>

(global-set-key [f12] 'compile)

-- 
Jeremiah Dodds

github: https://github.com/jdodds
irc   : exhortatory



  parent reply	other threads:[~2012-07-26 22:49 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
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 [this message]
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=87pq7im92w.fsf@friendface.i-did-not-set--mail-host-address--so-tickle-me \
    --to=jeremiah.dodds@gmail.com \
    --cc=dayalsoap@gmail.com \
    --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).