I am using Emacs AUCTeX with pdf-tools. When I compile my tex file with C-c C-a, i.e., run TeX-command-run-all command. When it is finished, my cursor moves to the generated pdf file. I would like my cursor to stay focused on my .tex file buffer. How do I achieve this?

  • Probably that is the expected reaction: compile and go to pdf. Please add your emacs version, AUCTeX version and the OS. – Keks Dose May 31 '19 at 9:35
  • I am using Emacs 26.1, macOS Mojave, AUCTeX 12.1.2. – zcadqe May 31 '19 at 14:26
  • No idea, but I learned to switch buffers in a split second with C-x o . – Keks Dose May 31 '19 at 15:02
  • no problem with my init file ix.io/1KGv. – gigiair Jun 2 '19 at 8:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.