From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: Possible to bind C-o to some function in an ansi-term? (Add something to term-mode-hook?) Date: Fri, 07 Aug 2015 21:28:21 -0400 Organization: A noiseless patient Spider Message-ID: References: <178f8007-8475-4b2e-a53f-90a75085def6@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438997420 22797 80.91.229.3 (8 Aug 2015 01:30:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2015 01:30:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 08 03:30:19 2015 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 1ZNsxm-0002dl-4D for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Aug 2015 03:30:18 +0200 Original-Received: from localhost ([::1]:51651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNsxl-0002j7-2r for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Aug 2015 21:30:17 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Injection-Info: mx02.eternal-september.org; posting-host="ad871ce417d1fb2ea3c87e49e48c0ae1"; logging-data="32620"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XWZz7tnByLF+vovXyVzfSp6K3zAq4Hdw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:AWCwJ/yzwYV7lLfcyXbBrqIrCDM= Original-Xref: usenet.stanford.edu gnu.emacs.help:214052 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:106337 Archived-At: Emanuel Berg writes: > Chris Seberino writes: > >> Possible to bind C-o to some function in an >> ansi-term? (Add something to term-mode-hook?) > > What is an ansi-term? Try M-x ansi-term It's a Emacs terminal that accepts the ansi-terminal escape sequences. > I can bind C-o the normal way with no problem. I think the OP may need to do the binding in term-mode-hook. But I confess, I don't really understand term.el and I haven't tried. It has a term-mode-map and some other maps that just confuse me. I never found any of the multitude of Emacs shells useful. I tried, but dired, M-x grep, locate, compile, etc. get the job done for me. -- Dan Espen