From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Specifying mode in file variables trouble Date: Tue, 23 Sep 2008 00:40:30 -0400 Message-ID: References: <48D44761.6000809@gmail.com> <87ljxny6n8.fsf@catnip.gol.com> <48D44C79.9020004@gmail.com> <48D63F30.8060102@gmail.com> <48D6E8FB.4070108@gmail.com> <48D79A25.7050000@gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1222145032 29546 80.91.229.12 (23 Sep 2008 04:43:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 04:43:52 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 23 06:44:49 2008 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 1KhzlZ-0006xx-BJ for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2008 06:44:49 +0200 Original-Received: from localhost ([127.0.0.1]:48700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhzkX-00059F-Je for ged-emacs-devel@m.gmane.org; Tue, 23 Sep 2008 00:43:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhzjQ-0004fC-1C for emacs-devel@gnu.org; Tue, 23 Sep 2008 00:42:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhzjO-0004ek-SW for emacs-devel@gnu.org; Tue, 23 Sep 2008 00:42:35 -0400 Original-Received: from [199.232.76.173] (port=41641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhzjO-0004ef-MY for emacs-devel@gnu.org; Tue, 23 Sep 2008 00:42:34 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45410) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhzjO-0000Tm-83 for emacs-devel@gnu.org; Tue, 23 Sep 2008 00:42:34 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KhzhO-0006BM-JJ; Tue, 23 Sep 2008 00:40:30 -0400 In-reply-to: <48D79A25.7050000@gmail.com> (lennart.borgman@gmail.com) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:104052 Archived-At: The principal problem here is probably that Imenu should work across all chunks with the same major modes and preserve its chunk specifric values when moving between those chunks. Imenu is much more complex than a typical minor mode. I think it would be useful to first look at simple cases such as Auto Fill mode. Does Auto Fill mode work ok with mumamo now? We should first look for a solution that enables Mumamo to DTRT automatically with most minor modes. If that is not possible, than let's look for way to make minor mode definitions specify the info that mumamo needs. Let's design this for maximum simplicity and cleanness of the minor mode definitions, rather than for maximum power and flexibility. I'd rather see a feature that does only what most minor modes need and is very simple. If Imenu needs something more complex, we could also have a second feature which is more complex and less clean, and Imenu could use that.