From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nurullah Akkaya Newsgroups: gmane.emacs.help Subject: Re: How use keybindings in term mode? Date: Tue, 3 Feb 2009 13:55:13 +0200 Message-ID: References: <513c3261-7aa1-4087-8ce2-bff23a4d8db6@u18g2000pro.googlegroups.com> <8b4fbba2-409f-4aed-95a6-0cee4d896159@r10g2000prf.googlegroups.com> <6f57952d-3253-43aa-8299-6b19bb4cc45c@q30g2000prq.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd244d01144b8046202582c X-Trace: ger.gmane.org 1233662149 23525 80.91.229.12 (3 Feb 2009 11:55:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2009 11:55:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 12:57:03 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 1LUJtm-0004A6-L4 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 12:57:02 +0100 Original-Received: from localhost ([127.0.0.1]:42246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUJsR-00012h-7o for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 06:55:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUJs7-00012Y-A3 for help-gnu-emacs@gnu.org; Tue, 03 Feb 2009 06:55:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUJs4-00011w-Us for help-gnu-emacs@gnu.org; Tue, 03 Feb 2009 06:55:18 -0500 Original-Received: from [199.232.76.173] (port=49363 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUJs4-00011j-Lh for help-gnu-emacs@gnu.org; Tue, 03 Feb 2009 06:55:16 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.159]:55786) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUJs4-0005ZN-8Q for help-gnu-emacs@gnu.org; Tue, 03 Feb 2009 06:55:16 -0500 Original-Received: by fg-out-1718.google.com with SMTP id l27so974834fgb.30 for ; Tue, 03 Feb 2009 03:55:14 -0800 (PST) Original-Received: by 10.86.51.2 with SMTP id y2mr425539fgy.75.1233662113825; Tue, 03 Feb 2009 03:55:13 -0800 (PST) In-Reply-To: <6f57952d-3253-43aa-8299-6b19bb4cc45c@q30g2000prq.googlegroups.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:61871 Archived-At: --000e0cd244d01144b8046202582c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Mon, Feb 2, 2009 at 10:38 PM, seberino@spawar.navy.mil < seberino@spawar.navy.mil> wrote: > On Jan 31, 8:24 am, Nurullah Akkaya > wrote: > > > you can switch between term modes. using C-c c-j will put you in line > mode > > where term is behaves like a buffer , then u can use C-c c-k to switch > back > > to char mode. also if you have global set keys in your .emacs they will > > work. > > I'd to rebind those to function keys. Is this possible? > > cs > yes it is possible you have bind "term-line-mode" and "term-char-mode" functions. --000e0cd244d01144b8046202582c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

On Mon, Feb 2, 2009 at 10:38 PM, seberino@spawar.navy.mil <seberino@spawar.navy.mil> wrote:
On Jan 31, 8:24 am, Nurullah Akkaya <nurullah.akk...@blooby.com>
wrote:

> you can switch between term modes. using C-c c-j will put you in line mode
> where term is behaves like a buffer , then u can use C-c c-k to switch back
> to char mode. also if you have global set  keys in your .emacs they will
> work.

I'd to rebind those to function keys.  Is this possible?

cs

yes it is possible you have bind "term-line-mode" and "term-char-mode" functions.
--000e0cd244d01144b8046202582c--