Subject: Re: bug#16541: 23.3; doc-view-open-text should grab place in current doc

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 29 Sep 2019 15:09:18 +0200

Tassilo Horn <[email-masked]> writes:

> Suhail is correct.  We could easily make C-c C-t switch to the current
> page using this patch:

[...]

> -	      (setq default-directory dir)))
> -	(doc-view-doc->txt txt 'doc-view-open-text)))))
> +		(setq default-directory dir)
> +		;; Jump to the current page
> +		(goto-char (point-min))
> +		(search-forward "
>                                  " nil t (1- page))))
> +	  (doc-view-doc->txt txt 'doc-view-open-text))))))
>
>  ;;;;; Toggle between editing and viewing
>
> Should I install it?

This makes sense to me, but it was never installed.  Did anybody have an
objection, or was it just forgotten?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no