bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] bug-auctex Digest, Vol 102, Issue 5


From: Tassilo Horn
Subject: Re: [Bug-AUCTeX] bug-auctex Digest, Vol 102, Issue 5
Date: Mon, 16 Sep 2013 15:38:11 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Thomas Arildsen <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]