help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vterm-module compile error


From: Jean Louis
Subject: Re: vterm-module compile error
Date: Sun, 1 Nov 2020 15:43:31 +0300
User-agent: Mutt/+ (1036f0e) (2020-10-18)

* Emanuel Berg via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [2020-11-01 14:36]:
> Jean Louis wrote:
> 
> > It depends what you are familiar to. Please tell me why you disable
> > C-n and C-p?
> >
> > In terminals including in built-in ansi-term or term it does the
> > same command history functions. If you disable it, then for
> > what use?
> 
> They are `next-line' and `previous-line' all over Emacs. If I put them
> to nil in vterm-mode-map, these functions will be invoked in
> vterm-mode as well.

I do not understand quite. If you are in vterm and you define it as
let us say previous-line, can you really move your cursor up?

When I am in Xterm or if I am on console, C-n and C-p are in Emacs
bindings for shell like cursor up and down and those are normally
askin for previous or next history items. That is what I expect when I
am on M-x term or M-x vterm or M-x ansi-term as those are terminal
emulators.

To move up and down I have to switch the mode M-x vterm-copy-mode and
then I can freely move up and down. Maybe you just bind
vterm-copy-mode to some function key when you need to select some
previous text.

On M-x shell I do not expect that, it is line oriented and I can move
freely. Only editor that I may use in M-x shell is emacsclient to open
up new frame, or simply ed.

> However there are A LOT of keys to fix ... it'll be a work in
> progress. But as they say (said) in Denmark, little by little is the
> finest meal!

I was working 1998/1999 in Copenhagen and coming back later year by
year. It is like my city, I feel good there.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]