From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "seberino@spawar.navy.mil" Newsgroups: gmane.emacs.help Subject: Re: How use keybindings in term mode? Date: Mon, 2 Feb 2009 12:39:10 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <513c3261-7aa1-4087-8ce2-bff23a4d8db6@u18g2000pro.googlegroups.com> <878wosrlte.fsf@iki.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1233607296 8225 80.91.229.12 (2 Feb 2009 20:41:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 20:41:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 21:42:50 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LU5cw-0000H5-CE for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 21:42:43 +0100 Original-Received: from localhost ([127.0.0.1]:36842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU5bd-0004Ju-NC for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 15:41:21 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!p23g2000prp.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 199.106.103.254 Original-X-Trace: posting.google.com 1233607150 22701 127.0.0.1 (2 Feb 2009 20:39:10 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 2 Feb 2009 20:39:10 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p23g2000prp.googlegroups.com; posting-host=199.106.103.254; posting-account=VkuUtQkAAADKqMjRUmZTNs7a8uCSNNy2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166548 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:61863 Archived-At: On Jan 30, 11:12=A0pm, Teemu Likonen wrote: > In term mode the normal prefix key for Emacs commands is C-c. It works > pretty much like C-x prefix key elsewhere in Emacs. I prefer using C-x > in term mode too so I do this in my ~/.emacs file: > > =A0 =A0 (add-hook 'term-mode-hook > =A0 =A0 =A0 =A0 =A0 =A0 =A0 '(lambda () > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(term-set-escape-char ?\C-x))) Rather than rebinding C-c, is it possible to rebind C-c C-j and C-c C- k ?? e.g. have function keys do the same thing cs