[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4896: DocView: Continuous mode
From: |
Juri Linkov |
Subject: |
bug#4896: DocView: Continuous mode |
Date: |
Tue, 24 Nov 2009 19:06:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
>> Multi-page scolling doesn't always work even with SPC and DEL.
>> Visiting a PDF file puts it to read-only mode, that puts it to
>> view-mode (when `view-read-only' is t).
>
> Hm, at least, that's not the default value.
>
>> And view-mode overrides DocView's SPC and DEL bindings with its own
>> SPC and DEL bindings (`View-scroll-page-forward' and
>> `View-scroll-page-backward') that are incompatible with image
>> scrolling.
>
> Maybe we should switch off view-mode in doc-view-mode explicitly? IMO
> doc-view-mode is THE view-mode for PDF/DVI/PS files...
Thanks. It seems your fix doesn't work. The reason is that
`after-find-file' calls `view-mode-enter' *after* calling
`doc-view-mode' via `normal-mode'.
However, adding the following line to the end of `doc-view-mode'
seems to work (because `after-find-file' checks for `view-read-only'
before calling `view-mode-enter'):
(set (make-local-variable 'view-read-only) nil)
--
Juri Linkov
http://www.jurta.org/emacs/
- bug#4896: DocView: Continuous mode, (continued)
- bug#4896: DocView: Continuous mode, Tassilo Horn, 2009/11/29
- bug#4896: DocView: Continuous mode, Juri Linkov, 2009/11/29
- bug#4896: DocView: Continuous mode, Tassilo Horn, 2009/11/30
- bug#4896: DocView: Continuous mode, Juri Linkov, 2009/11/30
- bug#4896: DocView: Continuous mode, Tassilo Horn, 2009/11/30
- bug#4896: DocView: Continuous mode, Juri Linkov, 2009/11/30
- bug#4896: DocView: Continuous mode, Juri Linkov, 2009/11/24
- bug#4896: DocView: Continuous mode, Juri Linkov, 2009/11/23
- bug#4896: DocView: Continuous mode, Tassilo Horn, 2009/11/23
- bug#4896: DocView: Continuous mode, Stefan Monnier, 2009/11/23
- bug#4896: DocView: Continuous mode,
Juri Linkov <=