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#10650: view-mode inconsistencies wrt special mode-class Date: Thu, 02 Feb 2012 23:11:31 +0200 Organization: JURTA Message-ID: <8762fpvvec.fsf@mail.jurta.org> References: <9vehugoa9d.fsf@fencepost.gnu.org> <87pqe08kgs.fsf@gnu.org> <87ehuegj8y.fsf@mail.jurta.org> <7xliol80lk.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328218663 477 80.91.229.3 (2 Feb 2012 21:37:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 21:37:43 +0000 (UTC) Cc: Chong Yidong , 10650@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 02 22:37:42 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rt4Le-0005NT-2g for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Feb 2012 22:37:42 +0100 Original-Received: from localhost ([::1]:54676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt4Ld-0003wy-GM for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Feb 2012 16:37:41 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt4LY-0003ku-OD for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 16:37:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt4LX-0005YO-0A for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 16:37:36 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt4LW-0005YA-HT for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 16:37:34 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rt4Lz-0001lh-7k for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2012 16:38:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Feb 2012 21:38:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10650-submit@debbugs.gnu.org id=B10650.13282186686753 (code B ref 10650); Thu, 02 Feb 2012 21:38:03 +0000 Original-Received: (at 10650) by debbugs.gnu.org; 2 Feb 2012 21:37:48 +0000 Original-Received: from localhost ([127.0.0.1]:51362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt4Lk-0001kr-DN for submit@debbugs.gnu.org; Thu, 02 Feb 2012 16:37:48 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:60130 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rt4Lh-0001kj-74 for 10650@debbugs.gnu.org; Thu, 02 Feb 2012 16:37:47 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 494E5451C80C; Thu, 2 Feb 2012 13:36:00 -0800 (PST) In-Reply-To: <7xliol80lk.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 02 Feb 2012 15:03:03 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56404 Archived-At: > Why do we even care about not entering view-mode in special mode buffers > anyway? If you don't want view-mode, don't ask for it. > Is there any motivation for this feature beyond "some guy likes to press > v on everything in dired, then complain when he gets what he asked for"? Not just pressing v in dired, but also other cases like visiting a read-only "special" file when `view-read-only' is non-nil, or typing `C-x C-q C-x C-q' (both cases are handled in files.el) Such special modes as image-mode and archive-mode don't need to activate `view-mode' because in fact they are already "view" modes (as opposed to "edit" modes with enabled self-inserting commands) and they bind own keys to "view" their special (i.e. not plain text) content.