help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: emacs question


From: Villa, Maria (HBO)
Subject: RE: emacs question
Date: Wed, 15 Dec 2004 09:41:02 -0500

Hi Rodrigo:
thanks for your help, but It still does not work for me.  
this is what I did:
1) emacs .emacs
2) enter (global-set-key [f9] 'delete)
3) C-z to save and exit the file
4) I emacs temp.out file typed some letters and when hit the f9 key, it does
not work.

What am i missing.....

BTW: i'm spanish, I leave in NY.  Are you portuguese?

-----Original Message-----
From: Rodrigo Canellas [mailto:r.canellas@terra.com.br]
Sent: Tuesday, December 14, 2004 5:05 PM
To: help-gnu-emacs@gnu.org
Subject: Re: emacs question



Hi,

In your .emacs, to map a key to a command, you can do like this;

(global-set-key [<KEY_ID>] '<COMMAND>)

where <KEY-ID> should be replaced with the identifier of the key, and 
<COMMAND> should be replaced with the command you want to be executed when 
<KEY-ID> is pressed.

For example,

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

would run the "compile" command when "F9" is pressed.

Hope it helps.

BTW, by your name I presume you speak portuguese, right? 



Em Terça 14 Dezembro 2004 17:45, Villa, Maria (HBO) escreveu:
> Hi
> I have few users that uses regular emacs on our aix unix servers.
>
> They have a problem when want to delete a character or word, the backspace
> key does not work.
> how can we map a key to work with e-macs or how can we solve this problem
>
> your help is appreciated.....
>
>
===========================================================================
>=== This e-mail is intended only for the use of the addressees.  Any
> copying, forwarding, printing or other use of this e-mail by persons other
> than the addressees is not authorized.  This e-mail may contain
information
> that is privileged, confidential and exempt from disclosure.  If you are
> not the intended recipient, please notify us immediately by return e-mail
> (including the original message in your reply) and then delete and discard
> all copies of the e-mail.  Thank you.
>
>
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: McAfee VirusScan / Atualizado em 14/12/2004 / Versão: 4.4.00
-
> Dat 4414 Proteja o seu e-mail Terra:
> http://www.emailprotegido.terra.com.br/

-- 
Rodrigo Canellas
Engenheiro de Sistemas de Informação


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

==============================================================================
This e-mail is intended only for the use of the addressees.  Any copying, 
forwarding, printing or other use of this e-mail by persons other than the 
addressees is not authorized.  This e-mail may contain information that is 
privileged, confidential and exempt from disclosure.  If you are not the 
intended recipient, please notify us immediately by return e-mail (including 
the original message in your reply) and then delete and discard all copies of 
the e-mail.  Thank you.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]