From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: doc-view compilation warnings Date: Wed, 24 Oct 2007 09:55:01 -0400 Message-ID: References: <87wsth6vk5.fsf@catnip.gol.com> <878x5wrgnv.fsf@baldur.tsdh.de> <87prz6yn1c.fsf@baldur.tsdh.de> <200710231430.l9NEUk8x012690@oogie-boogie.ics.uci.edu> <87ejflzv18.fsf@baldur.tsdh.de> <200710231607.l9NG7EoD016139@oogie-boogie.ics.uci.edu> <87abq9zpnz.fsf@baldur.tsdh.de> <200710231835.l9NIZ7HB025212@oogie-boogie.ics.uci.edu> <87640xzn9p.fsf@baldur.tsdh.de> <871wblzjn3.fsf@baldur.tsdh.de> <878x5thrjs.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193234157 9900 80.91.229.12 (24 Oct 2007 13:55:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 13:55:57 +0000 (UTC) Cc: Richard Stallman To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 24 15:55:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ikghl-0005ya-8P for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2007 15:55:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ikghd-0006H5-4G for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2007 09:55:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkghY-0006GU-BY for emacs-devel@gnu.org; Wed, 24 Oct 2007 09:55:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkghV-0006Ed-Hu for emacs-devel@gnu.org; Wed, 24 Oct 2007 09:55:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkghV-0006ED-4I for emacs-devel@gnu.org; Wed, 24 Oct 2007 09:55:13 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkghM-0004wX-5r; Wed, 24 Oct 2007 09:55:04 -0400 Original-Received: from pastel.home ([74.12.207.144]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071024135502.ERDH18413.tomts22-srv.bellnexxia.net@pastel.home>; Wed, 24 Oct 2007 09:55:02 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DA1B58564; Wed, 24 Oct 2007 09:55:01 -0400 (EDT) In-Reply-To: <878x5thrjs.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Wed\, 24 Oct 2007 09\:59\:03 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81650 Archived-At: >> I'd also be very happy to get rid of the doc-view-clean-auto-mode-alist >> monstrosity by just saying "if you're not using doc-view-minor-mode, then >> toggling off doc-view puts you in fundamental-mode", > I don't get you here. If someone has his buffer in d-v-m and toggles to > an editing mode I can activate d-v-minor-mode unconditionally. AFAICT doc-view-clean-auto-mode-alist was used when toggling to editing in order to find the major mode to use while editing. So I suggest to simply use fundamental-mode (unless you're currently using doc-view-minor-mode in which case you don't need to change the major mode). Of course, you can activate the minor-mode after putting the buffer in fundamental-mode. Stefan