"Alex V. Koval" <[email protected]> writes:

> Hi Michael,

Hi Alex,

> Steps to reproduce:
> -------------------
>
> 1) (setq tramp-verbose 4)
> 2) Open org file, all should work fine, keybindings check, for example space:
>
>  C-h k SPC
>  should return:
>  ~~~
>  SPC runs the command org-self-insert-command (found in org-mode-map),
>  which is an interactive compiled Lisp function in ‘org.el’.
>
>  It is bound to SPC..~, €..\377.
>
>  (org-self-insert-command N)
>  ~~~
>
> 3) Open *any* tramp remote connection. (e.g. C-x f ssh://root@localhost:)
>
> 4) And now, try opening any org file again. Keys are now remapped:
>
>  C-h k SPC
>
> ~~~
> SPC runs the command scroll-up-command (found in org-mode-map), which
> is an interactive compiled Lisp function in ‘window.el’.
>
> It is bound to SPC, C-v, <next>.
> ~~~
>
> others keys too:
> ~~~
> h runs the command describe-mode (found in org-mode-map), which is an
> interactive compiled Lisp function in ‘help.el’.
> ~~~

Oops, indeed. Thanks for reporting!

> Wierd and difficult to find any relation... (I had to split my emacs config
> several times until I found that it is related to tramp-verbose). 
>
> When (setq tramp-verbose 3) everything works as expected.
>
> How those two things can be related?

When tramp-verbose is 4 or greater, it opens a debug buffer. This debug
buffer has its own local map. The setting of this local map is
erroneous.

I've fixed this in the repositories; could you pls check?

> WBR,
>    Alex

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to