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:59:39 -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=14dae934093d0cd60704c5c38e78 X-Trace: dough.gmane.org 1343343618 31990 80.91.229.3 (26 Jul 2012 23:00:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 23:00:18 +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 01:00:18 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 1SuX2T-0005BO-Vf for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jul 2012 01:00:14 +0200 Original-Received: from localhost ([::1]:56287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuX2T-0005Ms-CZ for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 19:00:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuX2I-0005I9-KC for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 19:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuX2G-0001IG-FH for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 19:00:01 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:60262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuX2G-0001IC-AK for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 19:00:00 -0400 Original-Received: by yhr47 with SMTP id 47so3161985yhr.0 for ; Thu, 26 Jul 2012 15:59:59 -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=Kd7eCw/qANUBABLDUYK3dqGl53FVB+wKhchA4g4MUzw=; b=GOJILh1t9RorT0bnitD3jOTtY7FUKDRENK8wyqE4ab8bQkPGUiqB4KQFPoQmHxd4k4 McKotYdWA2h6WysHG7froVx0EP1q3/1JqnFxtQQqzNmKMs6gWUOEGNoLb4j2RIOCFEyj ER052Sfs2GilFOlG7u0360tXfRrlWmj5k6Y4nUabAUDJRWSliLmBhHGeN5GeyN5x17Pw hWy58dfie2BYLy+fDt0IPFH8w+214CXnB+0bdvqiVGLQ+CosJaiWuWQC9QZ2E+F3dhoe /KqIs299Ye+WYQAKex6iRzQdCj0BmjdWQhUalWEOqNo3kVxDWJkhw2J3ezhFijYtmcsx apMQ== Original-Received: by 10.50.10.137 with SMTP id i9mr3016843igb.60.1343343599342; Thu, 26 Jul 2012 15:59:59 -0700 (PDT) Original-Received: by 10.64.12.105 with HTTP; Thu, 26 Jul 2012 15:59:39 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 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:86097 Archived-At: --14dae934093d0cd60704c5c38e78 Content-Type: text/plain; charset=ISO-8859-1 After restarting my macbook, [f12] works (didn't make any changes with the .emacs file between restarts). strange. Jai On Thu, Jul 26, 2012 at 4:52 PM, Jai Dayal wrote: > 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 >> > > --14dae934093d0cd60704c5c38e78 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable After restarting my macbook, [f12] works (didn't make any changes with = the .emacs file between restarts).=A0 strange.

Jai

On Thu, Jul 26, 2012 at 4:52 PM, Jai Dayal <dayalsoap@g= mail.com> wrote:
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, Jeremiah 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


--14dae934093d0cd60704c5c38e78--