From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "zelzel.zsu@gmail.com" Newsgroups: gmane.emacs.help Subject: How to bind keys in emacs? Date: 22 Dec 2005 23:38:56 -0800 Organization: http://groups.google.com Message-ID: <1135323536.675947.257490@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1135323956 15292 80.91.229.2 (23 Dec 2005 07:45:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2005 07:45:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 23 08:45:55 2005 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ephcf-0004vG-J6 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Dec 2005 08:45:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ephdh-0008T3-LA for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Dec 2005 02:46:57 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 210.21.32.85 Original-X-Trace: posting.google.com 1135323541 19357 127.0.0.1 (23 Dec 2005 07:39:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 23 Dec 2005 07:39:01 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.8) Gecko/20051111 Firefox/1.5,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=210.21.32.85; posting-account=Skzlkg0AAAAJryK98YWmV5pYT4MlDMci Original-Xref: shelby.stanford.edu gnu.emacs.help:136562 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32181 Archived-At: Subject: How to bind keys in emacs? hi, I am new to emacs. can anyone wrote some code for me? I want to bind some functions to F5, F6 keys. I want to use F5 keys to serve as C-x C-s [save buffer]. and use F5 keys to serve as C-z [suspend]. What should i write in my ~/.emacs? Regards.