From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#10650: view-mode inconsistencies wrt special mode-class Date: Wed, 01 Feb 2012 02:38:05 -0500 Message-ID: References: <9vehugoa9d.fsf@fencepost.gnu.org> <87pqe08kgs.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1328081944 20886 80.91.229.3 (1 Feb 2012 07:39:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2012 07:39:04 +0000 (UTC) Cc: Chong Yidong , 10650@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 01 08:39:03 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 1RsUmO-0000Vk-TO for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Feb 2012 08:38:57 +0100 Original-Received: from localhost ([::1]:52439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsUmN-00016m-0x for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Feb 2012 02:38:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsUmG-00016d-1Y for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2012 02:38:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsUmA-000403-Vp for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2012 02:38:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsUmA-0003zx-UG for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2012 02:38:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RsUmU-0004Le-9g for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2012 02:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Feb 2012 07:39:01 +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.132808191916685 (code B ref 10650); Wed, 01 Feb 2012 07:39:01 +0000 Original-Received: (at 10650) by debbugs.gnu.org; 1 Feb 2012 07:38:39 +0000 Original-Received: from localhost ([127.0.0.1]:48087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RsUm5-0004Ky-Rv for submit@debbugs.gnu.org; Wed, 01 Feb 2012 02:38:38 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:38292 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RsUlv-0004Ki-EM for 10650@debbugs.gnu.org; Wed, 01 Feb 2012 02:38:30 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RsUlZ-0003ZA-H3; Wed, 01 Feb 2012 02:38:05 -0500 X-Spook: kibo number key Abu Ghraib bce Elvis Manfurov cracking oil X-Ran: ;bCZp}:F'.7_hj"|:6Ix7+Ljm0aLPZrn8ju{[^XZDKZQ/\d0P^_SaD\`i(%Ne6WH@Na<5] X-Hue: cyan X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Tue, 31 Jan 2012 12:37:09 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:56339 Archived-At: Stefan Monnier wrote: >> The Lisp manual (node Basic Major Modes) says: >> Special mode is a basic major mode for buffers containing text >> that is produced specially by Emacs, rather than from a file. > > Then again, doc-view-mode is a special mode even though the PDF code is > rarely if ever generated by Emacs. I interpret special modes as being applicable to stuff where you won't ever want to create an empty buffer and just start writing said stuff. That covers PDFs, tar files, dired buffers, etc. Personally I think a separate variable controlling which modes are incompatible with view-mode would be better, but I'm not going to complain if the definition of special modes is extended to cover this.