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: Doc-view-mode with View-mode Date: Thu, 04 Feb 2010 02:01:02 +0200 Organization: JURTA Message-ID: <87ljf93l75.fsf@mail.jurta.org> References: <87tyx2anec.fsf@mail.jurta.org> <87ocn8i9qn.fsf@mail.jurta.org> <87aayst364.fsf@thinkpad.tsdh.de> <87aaye1p3u.fsf@mail.jurta.org> <87r5rplcz9.fsf@thinkpad.tsdh.de> <87tywk12rm.fsf@mail.jurta.org> <87d42flgc0.fsf@mail.jurta.org> <87y6jcfs9u.fsf_-_@mail.jurta.org> <87k4uvyhia.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265245082 21119 80.91.229.12 (4 Feb 2010 00:58:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 00:58:02 +0000 (UTC) Cc: 4896@emacsbugs.donarmstrong.com, Tassilo Horn To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 01:57:59 2010 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.69) (envelope-from ) id 1Ncq2e-0005cT-Qr for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2010 01:57:57 +0100 Original-Received: from localhost ([127.0.0.1]:48377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ncq2e-0002SC-Cx for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Feb 2010 19:57:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ncq2J-0002Nk-Dk for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2010 19:57:35 -0500 Original-Received: from [199.232.76.173] (port=47568 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ncq2J-0002Nc-41 for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2010 19:57:35 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ncq2H-0003GL-Jv for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2010 19:57:34 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57847) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ncq2H-0003GH-DX for bug-gnu-emacs@gnu.org; Wed, 03 Feb 2010 19:57:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NcpgT-0004QH-Si; Wed, 03 Feb 2010 19:35:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2010 00:35:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 4896 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4896-submit@debbugs.gnu.org id=B4896.126524364916955 (code B ref 4896); Thu, 04 Feb 2010 00:35:01 +0000 Original-Received: (at 4896) by debbugs.gnu.org; 4 Feb 2010 00:34:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ncpfd-0004PM-3u for submit@debbugs.gnu.org; Wed, 03 Feb 2010 19:34:09 -0500 Original-Received: from smtp-out4.starman.ee ([85.253.0.6] helo=mx2.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ncpfb-0004P4-3q for 4896@emacsbugs.donarmstrong.com; Wed, 03 Feb 2010 19:34:07 -0500 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.30.224.cable.starman.ee [82.131.30.224]) by mx2.starman.ee (Postfix) with ESMTP id D54503F40AE; Thu, 4 Feb 2010 02:33:56 +0200 (EET) In-Reply-To: (Stefan Monnier's message of "Tue, 02 Feb 2010 21:36:19 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 03 Feb 2010 19:35:01 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:34888 Archived-At: >> mode-class=special already doesn't disable view-mode when the ps/pdf/dvi >> document is visited as text because in this case the major mode is not >> doc-view-mode. > > Fair enough, go for it, Do you mean putting mode-class=special on `doc-view-mode'? === modified file 'lisp/doc-view.el' --- lisp/doc-view.el 2010-02-01 18:25:47 +0000 +++ lisp/doc-view.el 2010-02-03 23:57:08 +0000 @@ -1124,7 +1124,7 @@ (defun doc-view-search-previous-match (a ;;;; User interface commands and the mode -;; (put 'doc-view-mode 'mode-class 'special) +(put 'doc-view-mode 'mode-class 'special) (defun doc-view-already-converted-p () "Return non-nil if the current doc was already converted." -- Juri Linkov http://www.jurta.org/emacs/