From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jai Dayal Newsgroups: gmane.emacs.help Subject: Re: binding f12 Date: Thu, 26 Jul 2012 16:52:16 -0600 Message-ID: References: <87pq7im92w.fsf@friendface.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9340b0baa9a0204c5c373ad X-Trace: dough.gmane.org 1343343166 27873 80.91.229.3 (26 Jul 2012 22:52:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 22:52:46 +0000 (UTC) Cc: help-gnu-emacs To: Jeremiah Dodds Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 27 00:52:47 2012 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 1SuWvF-0007l0-7W for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jul 2012 00:52:45 +0200 Original-Received: from localhost ([::1]:54899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuWvE-0003jE-Go for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 18:52:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuWv9-0003iy-1K for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 18:52:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuWv7-0007wL-Jw for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 18:52:38 -0400 Original-Received: from mail-gg0-f169.google.com ([209.85.161.169]:48772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuWv7-0007vz-FZ for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 18:52:37 -0400 Original-Received: by ggm4 with SMTP id 4so3123477ggm.0 for ; Thu, 26 Jul 2012 15:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7EXGkX+ADH9EXTZOzp3wri7HQPP4ULVCqg1RFtMofzM=; b=gAWAs/IrlQnlUw03f/OzDEMYTjd6nj4xg5XUM/Ib/067Nwj/QWFRwLm56NqoKoGx7O 4ooXOBXfSZldG3lA8lzLoD8MioPZzYtOqoluqr4RuZ55PxNWi+Cu1iGU+rxXEzzWEdQJ F38Pbd6reID/TG/ssRtdys0YfQgm5bwX3ipbw1aAdWElrgPa/Swj/0KKQEveGetED1Fh JmlUUaz5u2tpTEgskbKkl3HlxiNGPGmeux1Gm3Zb5rOfd0Ga22UCmkRTm3HW3AcAjFXt Y5PNzuhJ4UEn/UDZxy35fmkC5dIseZ5EwXG1VffOF8gagAZl9QvL//zfj4/6Ej6zkigU 1YVg== Original-Received: by 10.50.209.102 with SMTP id ml6mr269043igc.60.1343343156697; Thu, 26 Jul 2012 15:52:36 -0700 (PDT) Original-Received: by 10.64.12.105 with HTTP; Thu, 26 Jul 2012 15:52:16 -0700 (PDT) In-Reply-To: <87pq7im92w.fsf@friendface.i-did-not-set--mail-host-address--so-tickle-me> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.161.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86096 Archived-At: --14dae9340b0baa9a0204c5c373ad Content-Type: text/plain; charset=ISO-8859-1 Thank you for the response. I do try it with [f12] and when pressing f12, it still says is undefined. emacs version 24.1.1 On Thu, Jul 26, 2012 at 4:49 PM, Jeremiah Dodds wrote: > Jai Dayal 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 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 > --14dae9340b0baa9a0204c5c373ad Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you for the response.

I do try it with [f12] and when pressing= f12, it still says <f12> is undefined.=A0

emacs version 24.1= .1

On Thu, Jul 26, 2012 at 4:49 PM, Jerem= iah Dodds <jeremiah.dodds@gmail.com> wrote:
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://git= hub.com/jdodds
irc =A0 : exhortatory

--14dae9340b0baa9a0204c5c373ad--