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:28:52 -0600 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae934093dfdbd0d04c5c31f98 X-Trace: dough.gmane.org 1343341762 14982 80.91.229.3 (26 Jul 2012 22:29:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 22:29:22 +0000 (UTC) Cc: help-gnu-emacs To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 27 00:29:22 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 1SuWYc-0007Z9-Ia for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jul 2012 00:29:22 +0200 Original-Received: from localhost ([::1]:44078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuWYb-0004By-TJ for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 18:29:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuWYV-0004Bt-Ax for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 18:29:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuWYT-0008UU-PD for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 18:29:15 -0400 Original-Received: from mail-gh0-f169.google.com ([209.85.160.169]:51492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuWYT-0008UJ-Jy for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 18:29:13 -0400 Original-Received: by ghrr18 with SMTP id r18so3124601ghr.0 for ; Thu, 26 Jul 2012 15:29:13 -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=OZTKgFdKXzWn1hoAncyfNzAJGG0BZRSHbMKqYbqVmaY=; b=FDe5Er52v6Gms/fwroivUrBYqmg129JJCMxUSDknVXx/hc6e3y4VH/QgG5GkR5nIQj FG6cpc0MRt18eslYymuDi4gZyBkvTA7FbLWffbmyJRintqHgbFwsSgeRAyDiLtplbTRD xGKz4INHSfUnEA2b0/4RwuD86aB0+3CvY0qFrW8JBMxRzN3plTdJKybD3Rgd/GqGWaGN 7YZtHdeWwhcSit1JHHSfcxJzvfHskEX3NBtB9wzJchHcrAv1u/qkGJYzyKzEVSt8Ejm4 Ir0sw6t8xbkmOGXacsgk1S4RfVtpSCfOkn7JhZmJ+igXJRnIFGyGgmGGGVSv2eBHMoOQ W4Rg== Original-Received: by 10.50.10.137 with SMTP id i9mr2975743igb.60.1343341752859; Thu, 26 Jul 2012 15:29:12 -0700 (PDT) Original-Received: by 10.64.12.105 with HTTP; Thu, 26 Jul 2012 15:28:52 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.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:86089 Archived-At: --14dae934093dfdbd0d04c5c31f98 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 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 th= e > 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=85 > > -- > Greetings > > Pete > > Increase the size of your bike by at least *five* inches! > > --14dae934093dfdbd0d04c5c31f98 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi,
=A0 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

=A0 =A0 =A0 =A0 [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 t= he 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=85

--
Greetings

=A0 Pete

Increase the size of your bike by at least *five* inches!


--14dae934093dfdbd0d04c5c31f98--