Thomas Arildsen <[email protected]> writes: >> ,----[ C-h f TeX-evince-sync-view RET ] >> | TeX-evince-sync-view is a Lisp function in `tex.el'. >> | >> | (TeX-evince-sync-view) >> | >> | Focus the focused page/paragraph in Evince with the position >> | of point in emacs by using Evince's DBUS API. Used by default >> | for the Evince viewer entry in `TeX-view-program-list-builtin' if >> | the requirements are met. >> `---- > Mine says: > > TeX-evince-sync-view is a compiled Lisp function in `tex.el'. > > (TeX-evince-sync-view) > > Focus the focused page/paragraph in Evince with the position > of point in emacs by using Evince's DBUS API. Used by default > for the Evince viewer entry in `TeX-view-program-list-builtin' if > the requirements are met. > > Notice the difference, "compiled Lisp". Does that make a difference > here?
No, mine just wasn't compiled because I've edited tex.el and called `eval-buffer' then instead of loading it from a elc file. >> Now set point somewhere in the function and do `M-x edebug-defun'. >> Now go to some tex buffer and try the View command with >> TeX-evince-sync-view again. Now the function definition should pop >> up again, and you can single-step through the function by repeatedly >> pressing `n' where the expression values are also printed >> in*Messages*. > I have tried debugging now. I execute `M-x edebug-defun' in the function > definition as you specify. This causes the following output in the *Messages* > buffer: > > Edebug: TeX-evince-sync-view > TeX-evince-sync-view > > Unfortunately, that is all that happens. When I execute > TeX-evince-sync-view in a LaTeX buffer afterwards, nothing happens... Ugh, that's strange. When I do the same, after selecting TeX-evince-sync-view as View command, the tex.el buffer pops up showing the function definition and marking the current position of execution... Now I'm really out of ideas. :-( Bye, Tassilo _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
