From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode and switching major modes. Date: Tue, 14 Sep 2004 17:12:03 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200409142212.i8EMC3F21875@raven.dms.auburn.edu> 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> <200409140346.i8E3kSk19152@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095200001 25704 80.91.229.6 (14 Sep 2004 22:13:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2004 22:13:21 +0000 (UTC) Cc: boris@gnu.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 15 00:13:08 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 1C7LXv-0007oZ-00 for ; Wed, 15 Sep 2004 00:13:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7LdW-0002xf-B4 for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2004 18:18:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7LdP-0002xI-6q for emacs-devel@gnu.org; Tue, 14 Sep 2004 18:18:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7LdN-0002wu-Il for emacs-devel@gnu.org; Tue, 14 Sep 2004 18:18:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7LdN-0002wk-GC for emacs-devel@gnu.org; Tue, 14 Sep 2004 18:18:45 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C7LXQ-0008KL-Na; Tue, 14 Sep 2004 18:12:36 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i8EMCXuE023399; Tue, 14 Sep 2004 17:12:33 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id i8EMC3F21875; Tue, 14 Sep 2004 17:12:03 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: monnier@iro.umontreal.ca In-reply-to: (message from Stefan Monnier on Tue, 14 Sep 2004 08:26:50 -0400) 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:27113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27113 Stefan Monnier wrote: I lost some of the context, but enriched-old-bindings is (or should be) permanent-local (at least as long as eriched-mode is). `enriched-old-bindings' should definitely _not_ be permanent local. It is supposed to restore the major mode bindings overridden by Enriched mode. If the major mode changes, `enriched-old-bindings' should be updated. I wouldn't worry so much about the future: it leads to overengineering. Also if you look at the past, you'd see that enriched-mode hasn't been growing that much, so the risk is indeed not as clear as you seem to imply. What I am worried about is consistency. If one sees (Foo Enriched) in the mode line, one should not have to worry about which of Foo mode or Enriched mode was enabled first. With my patch it does not matter. This is the only solid and predictable solution. It is not just the future but also user customizations of Enriched mode. Also, if there are not going to be major future additions, then we can quite as well quit worrying about Enriched mode altogether. It is very much an unfinished feature. Enriched mode is supposed to grow into a full blown word processor, supporting a variety of file formats. It is far from that right now. Sincerely, Luc.