I am using
my-run-latex () function (explained here: How can I run additonal linux commands after compiling a latex file) after each save, which I do very often.
I bound it to:
(add-hook 'LaTeX-mode-hook (λ () (local-set-key (kbd "C-x C-s") 'my-run-latex))).
I observe than after enter
C-x C-s, remove my finger from
s, continue to press
Ctrl and switch into press
n (final comman will be
C-n), once in a while instead of moving line below it shows
nnnnnn in the buffer.
What could be the main reason for this? Does pdf compilation at the background cause this? Is there any way to prevent this behavior?