[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: |
Tassilo Horn |
Subject: |
bug#16541: 23.3; doc-view-open-text should grab place in current doc |
Date: |
Thu, 03 Oct 2019 11:05:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.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?
I think it hasn't been too important to anybody so it has just been
forgotten. Feel free to install it, though.
Bye,
Tassilo
- bug#16541: 23.3; doc-view-open-text should grab place in current doc,
Tassilo Horn <=