From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode and switching major modes. Date: Mon, 13 Sep 2004 19:03:34 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200409042358.i84Nwjt19152@raven.dms.auburn.edu> <200409060059.i860xdo20431@raven.dms.auburn.edu> <200409110214.i8B2EaZ12276@raven.dms.auburn.edu> <200409121651.i8CGpAE14303@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095116650 17782 80.91.229.6 (13 Sep 2004 23:04:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2004 23:04:10 +0000 (UTC) Cc: boris@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 14 01:04:00 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C6zrc-00030T-00 for ; Tue, 14 Sep 2004 01:04:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6zx9-0000C2-Sc for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2004 19:09:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C6zwt-000094-Et for emacs-devel@gnu.org; Mon, 13 Sep 2004 19:09:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C6zws-00008e-DU for emacs-devel@gnu.org; Mon, 13 Sep 2004 19:09:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6zws-00008Q-7o for emacs-devel@gnu.org; Mon, 13 Sep 2004 19:09:26 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C6zrD-0007Hx-B1 for emacs-devel@gnu.org; Mon, 13 Sep 2004 19:03:35 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1C6zrC-0001JZ-Ns; Mon, 13 Sep 2004 19:03:34 -0400 Original-To: Luc Teirlinck In-reply-to: <200409121651.i8CGpAE14303@raven.dms.auburn.edu> (message from Luc Teirlinck on Sun, 12 Sep 2004 11:51:10 -0500 (CDT)) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27092 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27092 Even if `kill-all-local-variables' does not kill these variables, the major mode can override them. In the case of `indent-line-function', most modes that are usually combined with Enriched mode will. Maybe that one shouldn't be set by Enriched mode. I think the motive for setting it was to make it easy to preserve the left-margin indent of a paragraph. Without this particular setting, how easy is it to do that? It is useful to set If necessary, we could have several derived modes of the new major mode Enriched mode, that would essentially have the same effect as enabling a second major mode, but in a way that does not try to "fight" with Enriched mode. That is a very bad idea.