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: enriched-mode problems Date: Wed, 15 Jun 2005 12:28:44 -0400 Message-ID: References: <20050615.070838.116346726.wl@gnu.org> <87u0jzsr9i.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118854466 29041 80.91.229.2 (15 Jun 2005 16:54:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2005 16:54:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 15 18:54:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dib8t-0002XJ-C3 for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2005 18:53:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DibE8-0005VZ-IV for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2005 12:58:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DibDx-0005V6-GD for emacs-devel@gnu.org; Wed, 15 Jun 2005 12:58:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DibDv-0005UB-Pl for emacs-devel@gnu.org; Wed, 15 Jun 2005 12:58:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DibCF-0004l3-2u for emacs-devel@gnu.org; Wed, 15 Jun 2005 12:56:59 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DiamW-00080N-4a for emacs-devel@gnu.org; Wed, 15 Jun 2005 12:30:24 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E45552CF503; Wed, 15 Jun 2005 12:28:48 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id C39C14AC008; Wed, 15 Jun 2005 12:28:44 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id A8896E6BD3; Wed, 15 Jun 2005 12:28:44 -0400 (EDT) Original-To: Ralf Angeli In-Reply-To: (Ralf Angeli's message of "Wed, 15 Jun 2005 15:28:37 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.844, requis 5, autolearn=not spam, AWL 0.06, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:38897 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38897 > turning a mode on. Another possibility could be to recognize mode > variables and call the respective mode functions with the given values > if they are encountered. That would be good. Especially since it would solve the problem where you can't both specify "text-mode" and "flyspell-mode" at the same time (IIRC the first mode spec which changes the major mode prevents further mode specs from being considered, but placing flyspell-mode before text-mode makes no sense since text-mode turns off flylspell-mode). Stefan