Subject: bug#16090: 24.3.50; [PATCH] error when jumping to a doc-view bookmark

From: Andreas Politz <[email-masked]>
Date: Tue, 10 Dec 2013 17:56:17 +0100

Tassilo Horn <[email-masked]> writes:

> Stefan Monnier <[email-masked]> writes:
>
>> The code is already equipped to handle non-displayed buffers (it
>> keeps track of the "default current page" which is later used when/if
>> the buffer gets displayed in a window).

Where is this page read and gone to ? doc-view-new-window-function
at most switches to the first page and this

(with-current-buffer (find-file-noselect "some.pdf")
  (doc-view-goto-page 2)
  (pop-to-buffer (current-buffer)))

also displays the first page. Is this a mistake in this function,
i.e. shouldn't it read the winprop page ?

-ap