TeX-source-correlate-sync-source uses goto-line, which is apparently
discouraged. Besides, it leaves disgracious "mark set" messages. I'm not
familiar with this kind of things so I don't know what's good practice,
but here's a patch that replaces it with what it says in the doc.
*** tex.el.~5.675.~ 2011-03-31 13:49:54.000000000 +0200
--- tex.el 2011-04-03 21:29:06.109119328 +0200
***************
*** 1425,1431 ****
(if (null buf)
(message "No buffer for %s." file)
(switch-to-buffer buf)
! (goto-line (car linecol))
(unless (= col -1)
(move-to-column col)))))
--- 1425,1433 ----
(if (null buf)
(message "No buffer for %s." file)
(switch-to-buffer buf)
! (push-mark (point) 'nomsg)
! (goto-char (point-min))
! (forward-line (1- line))
(unless (= col -1)
(move-to-column col)))))
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel