Share

xdvik

Tracker: Bugs

5 First forward search after recompiling does not work - ID: 738387
Last Update: Comment added ( stefanulrich )

I've integrated forward search as documented, using
xdvi-search.el with the suggested key bindings and GNU Emacs
21.2.1, and most of the time, it works fine.

When I recompile the TeX document and immediately thereafter
perform a forward search (that is, without first activating xdvi),
the xdvi window is brought to the foreground, but the forward
search is not performed. If I change back to Emacs and do the
forward search again, it works.

I think xdvi notices that the DVI file has changed and updates the
display, but subsequently forgets to perform the forward search,
as well.


Christian Ullrich ( chrullrich ) - 2003-05-15 17:11

5

Closed

Fixed

Stefan Ulrich

file handling

incorrect behaviour

Public


Comments ( 3 )




Date: 2003-05-15 21:03
Sender: stefanulrichProject Admin

Logged In: YES
user_id=177175

> In short, I can't find any problems.
Great ;-) Sorry if it sounded too involved. By `testing' I
basically just meant `use it for a while', since I'm
currently not doing much with xdvik and forward search
(i.e., not writing anything at the moment). My concerns were
mainly about race conditions that only occur rarely. All the
better if you couldn't find any problems even with your more
elaborate tests :-)

So I'm closing this bug now as `fixed'. Thanks again!



Date: 2003-05-15 20:54
Sender: chrullrich

Logged In: YES
user_id=10395

I don't quite know how to test that. There are not many circumstances in
which the file could not be reloaded. The obvious ones are, of course,
missing permissions and a corrupted file, which are both handled fine.

The forward search itself also works, of course, in every situation that
I've tried. Backwards and forwards in the file, with and without changing
it in between. It handles invalid -sourceposition parameters as well as
completely garbled files (dd if=/dev/urandom -- you get my meaning)

In short, I can't find any problems.


Date: 2003-05-15 18:06
Sender: stefanulrichProject Admin

Logged In: YES
user_id=177175

OK, I tried to fix this in the CVS HEAD, but I'm not 100%
sure that my attempt won't have any bad side effects (e.g.
infinite loops when the DVI file can't be reloaded or some
such). It would be great if you could recompile the CVS HEAD
(try `cvs up -A') and do some testing before I put this into
22.74.1.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 8 )

Field Old Value Date By
status_id Open 2003-05-15 21:03 stefanulrich
resolution_id Remind 2003-05-15 21:03 stefanulrich
close_date 2003-05-15 18:06 2003-05-15 21:03 stefanulrich
status_id Pending 2003-05-15 20:54 chrullrich
close_date - 2003-05-15 18:06 stefanulrich
status_id Open 2003-05-15 18:06 stefanulrich
resolution_id None 2003-05-15 18:06 stefanulrich
assigned_to nobody 2003-05-15 18:06 stefanulrich