I am syncing AUCTeX with Sumatra PDF on MSWindows. I used the instructions in Sync Emacs AUCTeX with Sumatra PDF (modulo the fact that I use customization instead of writing the setq in the init file, and the fact that the path to sumatra is different on my machine: see https://www.barik.net/archive/2012/07/18/154432/ for the customization)
(setq TeX-source-correlate-mode t)
(setq TeX-source-correlate-method 'synctex)
(setq TeX-view-program-list
'(("Sumatra PDF" ("\"C:/bin86/SumatraPDF/SumatraPDF.exe\" -reuse-instance"
(mode-io-correlate " -forward-search %b %n ") " %o"))))
(setq TeX-view-program-selection
'(((output-dvi style-pstricks) "dvips and start") (output-dvi "Yap")
(output-pdf "Sumatra PDF") (output-html "start")))
However, when there is a space in the file name (e.g. "example 1.tex"), the syncing has problems: when from Emacs I do CRTL-c CRTL-v, it opens both the the file "example 1.pdf" and a dummy "123" file, where 123 is the line number in the source file.
Any suggestions on how to solve this problem?