all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
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	[thread overview]
Message-ID: <mq3lsl$vrc$1@dont-email.me> (raw)
In-Reply-To: mailman.7965.1438987218.904.help-gnu-emacs@gnu.org

Emanuel Berg <embe8573@student.uu.se> writes:

> Chris Seberino <cseberino@gmail.com> 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


  parent reply	other threads:[~2015-08-08  1:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06  6:34 Possible to bind C-o to some function in an ansi-term? (Add something to term-mode-hook?) Chris Seberino
2015-08-07 22:36 ` Emanuel Berg
     [not found] ` <mailman.7965.1438987218.904.help-gnu-emacs@gnu.org>
2015-08-08  1:28   ` Dan Espen [this message]
2015-08-09  1:43     ` Emanuel Berg
2015-08-11  1:37       ` Robert Thorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='mq3lsl$vrc$1@dont-email.me' \
    --to=despen@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.