Comment 2 for bug 558691

Ian Hutchinson (hutch) wrote :

Yes I can see that change. But it does not actually fix the bug.
Replacing in tex-mode.el
2646 (source-file (tex-main-file))
with
2646 (source-file (expand-file-name (tex-main-file)))
the bug still exists.
For now, I've hacked in a fix by commenting out the offending command:
;;;; (tex-send-command tex-shell-cd-command file-dir)
    (tex-send-command tex-bibtex-command tex-out-file))

If you want to do it yourself go to
/usr/share/emacs/23.1/lisp/textmodes
gunzip tex-mode.el.gz
emacs it and hack it. Then byte compile it. (All as root of course). Good luck.