From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#4896: DocView: Continuous mode Date: Mon, 30 Nov 2009 14:04:59 +0200 Organization: JURTA Message-ID: <87zl64ur64.fsf@mail.jurta.org> References: <87tyx2anec.fsf@mail.jurta.org> <87ocn8i9qn.fsf@mail.jurta.org> <87aayst364.fsf@thinkpad.tsdh.de> <87d43o2dgc.fsf@mail.jurta.org> <871vk3ubwj.fsf@thinkpad.tsdh.de> <87r5rpindl.fsf@mail.jurta.org> <87my2dlcs3.fsf@thinkpad.tsdh.de> <87638t1y0x.fsf@thinkpad.tsdh.de> <877ht98ioi.fsf@mail.jurta.org> <87zl65m9id.fsf@thinkpad.tsdh.de> <87ljhp9f2i.fsf@mail.jurta.org> <87zl64xybm.fsf@thinkpad.tsdh.de> Reply-To: Juri Linkov , 4896@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259586523 19279 80.91.229.12 (30 Nov 2009 13:08:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 13:08:43 +0000 (UTC) Cc: 4896@emacsbugs.donarmstrong.com To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 30 14:08:35 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NF5zX-0003Bv-7k for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Nov 2009 14:08:35 +0100 Original-Received: from localhost ([127.0.0.1]:57888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF5zW-0008TE-Ro for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Nov 2009 08:08:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF5zS-0008Sw-47 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2009 08:08:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF5zN-0008SE-LX for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2009 08:08:29 -0500 Original-Received: from [199.232.76.173] (port=53352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF5zN-0008S4-79 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2009 08:08:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34408) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NF5zM-0004Hh-GU for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2009 08:08:24 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUD7Nhj009719; Mon, 30 Nov 2009 05:07:24 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAUCo6wA007535; Mon, 30 Nov 2009 04:50:06 -0800 Resent-Date: Mon, 30 Nov 2009 04:50:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 30 Nov 2009 12:50:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4896 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4896-submit@emacsbugs.donarmstrong.com id=B4896.12595850947063 (code B ref 4896); Mon, 30 Nov 2009 12:50:06 +0000 Original-Received: (at 4896) by emacsbugs.donarmstrong.com; 30 Nov 2009 12:44:54 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUCirkC007059 for <4896@emacsbugs.donarmstrong.com>; Mon, 30 Nov 2009 04:44:54 -0800 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.52.137.cable.starman.ee [82.131.52.137]) by mx1.starman.ee (Postfix) with ESMTP id 9E1563F4113; Mon, 30 Nov 2009 14:44:47 +0200 (EET) In-Reply-To: <87zl64xybm.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Mon, 30 Nov 2009 08:32:13 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 30 Nov 2009 08:08:29 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33064 Archived-At: >>> We could have a variable `doc-view-continuous-kind' and a minor mode >>> `doc-view-continuous-mode'. To me the current behavior, smooth >>> scrolling or even auto-scrolling are all different kinds of >>> continuous mode. >>> >>> This would allow the flexibility you are striving for while still >>> make it easy for user to toggle to non-continuous mode. >> >> But this means that continuous mode should be enabled by default, >> because the current default behavior is a kind of continuous mode that >> allows only SPC and DEL to jump to the next/previous page. >> >> This means that users will be interested only in changing the value of >> `doc-view-continuous-kind' (interactively from the menu or with a >> command bound to some key). Thus the minor mode >> `doc-view-continuous-mode' will be useless. > > If doc-view-continuous-kind has a value `none' and there's an interface > for changing the value quickly, I'm also satisfied without having a > minor mode. :-) But currently `doc-view-continuous-mode' has the same purpose with a different name :-) Generally, what I what to achieve is to do the same as in stand-alone PDF viewers - there is only one menu item "Continuous mode". However, continuous mode is implemented differently: some PDF viewers use smooth scrolling, other PDF viewers display only one image at a time. With a variable like `doc-view-continuous-kind', we could make this difference customizable. We should to find a way to do this cleanly. -- Juri Linkov http://www.jurta.org/emacs/