bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Lars Ingebrigtsen
Subject: bug#16541: 23.3; doc-view-open-text should grab place in current doc
Date: Sun, 29 Sep 2019 15:09:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Tassilo Horn <tsdh@gnu.org> 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





reply via email to

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