[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp-verboose 4 and org-mode
From: |
Michael Albinus |
Subject: |
Re: tramp-verboose 4 and org-mode |
Date: |
Wed, 07 Nov 2018 16:15:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Alex V. Koval" <address@hidden> 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://address@hidden:)
>
> 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.