Dear AUCTeX mailing list,
I should gratefully appreciate your help with an issue which doesn't seem to be reported elsewhere in the archives as I'm experiencing it, and I only found partial or unreproducible advice about via Google.
I'm running the latest TeXLive (2025), Emacs (3.24.51), auxtex (14.1.0) and xpdf (4.05) on my Zenwalk (current, all packages up to date) Linux machine, and am struggling with getting Emacs to display with xpdf a foo.pdf file generated through LaTeX compilation (C-c C-c) of its source foo.tex. When iterating C-c C-c and choosing 'View' upon successful foo.pdf creation, I'm presented in the Emacs mini-buffer with the default view command:
xpdf -remote foo -raise foo.pdf
which leads to no outcome; typing the above syntax on bash leads to xpdf options being displayed.
After raising the issue on the xpdf users forum (URL: https://forum.xpdfreader.com/viewtopic.php?p=47497#p47497), one of the xpdf developers explained that the above syntax is incorrect -- possibly obsolete? -- and should be replaced with the following:
xpdf -remote foo raise 'openFile(foo.pdf)'
which effectively works as intended.
Now, my question is: how can I edit the default setting for the xpdf 'View' command from within Emacs - auctex?
Thank you in advance for any help you can provide, and apologies in the event of cross-posting.
--
Stefano
