M-x term in char mode issue
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
M-x term in char mode issue         


Author: Francis Moreau
Date: Sep 16, 2008 14:13

Hello,

I'm still struggling with the term mode.

According to info on term mode, In char mode, each character
is sent directly to the inferior subshell, except for the Term escape
character, normally `C-c'.

However if I type "C-xC-e" in char mode, emacs runs the command
eval-last-sexp. Could anybody tell me why ?

In line mode, doing in my .emacs:

(defun my-term-mode-hook ()
(define-key term-mode-map "\C-x\C-e" nil))
(add-hook 'term-mode-hook 'my-term-mode-hook)

"C-xC-e" still runs eval-last-sexp.

Confusing...
--
Francis
1 Comment
Re: M-x term in char mode issue         


Author: Xah
Date: Sep 17, 2008 16:12

On Sep 16, 2:13 pm, "Francis Moreau" gmail.com> wrote:
> Hello,
>
> I'm still struggling with the term mode.
>
> According to info on term mode, In char mode, each character
> is sent directly to the inferior subshell, except for the Term escape
> character, normally `C-c'.
>
> However if I type "C-xC-e" in char mode, emacs runs the command
> eval-last-sexp. Could anybody tell me why ?
>
> In line mode, doing in my .emacs:
>
> (defun my-term-mode-hook ()
> (define-key term-mode-map "\C-x\C-e" nil))
> (add-hook 'term-mode-hook 'my-term-mode-hook)
>
> "C-xC-e" still runs eval-last-sexp.
Show full article (1.17Kb)
no comments